perl-Test-Memory-Cycle-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. Name: perl-Test-Memory-Cycle
  2. Version: 1.06
  3. Release: 1%{?_dist_release}
  4. Summary: Check for memory leaks and circular memory references
  5. Group: Development/Libraries
  6. License: GPL+ or Artistic
  7. URL: http://search.cpan.org/dist/Test-Memory-Cycle/
  8. Source0: http://www.cpan.org/authors/id/P/PE/PETDANCE/Test-Memory-Cycle-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(Devel::Cycle)
  12. BuildRequires: perl(PadWalker)
  13. BuildRequires: perl(Test::Builder::Tester)
  14. BuildRequires: perl(Test::Simple)
  15. BuildRequires: perl(Test::Pod)
  16. BuildRequires: perl(Test::Pod::Coverage)
  17. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. %description
  21. Perl's garbage collection has one big problem: Circular references
  22. can't get cleaned up. A circular reference can be as simple as two
  23. objects that refer to each other.
  24. "Test::Memory::Cycle" is built on top of "Devel::Cycle" to give you an
  25. easy way to check for these circular references.
  26. %prep
  27. %setup -q -n Test-Memory-Cycle-%{version}
  28. %build
  29. %{__perl} Makefile.PL INSTALLDIRS=vendor
  30. %{__make} %{?_smp_mflags}
  31. %install
  32. %{__rm} -rf $RPM_BUILD_ROOT
  33. %{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  34. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  35. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  36. %{__chmod} -R u+w $RPM_BUILD_ROOT/*
  37. %check
  38. %{__make} test
  39. %clean
  40. %{__rm} -rf $RPM_BUILD_ROOT
  41. %files
  42. %defattr(-,root,root,-)
  43. %doc Changes README
  44. %{perl_vendorlib}/Test/
  45. %{_mandir}/man3/*.3pm*
  46. %changelog
  47. * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.06-1
  48. - new upstream release.
  49. - rebuilt with perl-5.26.
  50. * Fri Nov 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.04-3
  51. - rebuilt with perl 5.16.3
  52. * Mon Apr 25 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.04-2
  53. - build with perl 5.12.3
  54. - add Vendor and Distribution tags
  55. * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.04-1
  56. - initial build for Vine Linux based on fedora development
  57. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-7
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  59. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-6
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  61. * Thu Feb 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-5
  62. - Rebuild normally, second pass
  63. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-4
  64. - Rebuild for perl 5.10 (again), first pass
  65. * Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-3
  66. - rebuild normally, second pass
  67. * Sun Jan 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-2
  68. - rebuild for new perl, disable T-P-C and tests for first pass
  69. * Wed Aug 9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.04-1
  70. - Update to 1.04.
  71. * Mon Feb 20 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.02-2
  72. - Rebuild for FC5 (perl 5.8.8).
  73. * Tue May 24 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.02-1
  74. - Update to 1.02.
  75. * Sat May 14 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.00-4
  76. - Add dist tag.
  77. * Fri Apr 22 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.00-3
  78. - Fedora Extras: FC-4 version.
  79. * Fri Apr 22 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.00-2
  80. - Fedora Extras: FC-3 version.
  81. * Wed Apr 20 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.00-0.fdr.2
  82. - RedHat 9.0 (8.0 and 7.3): CGI.pm is shipped as perl-CGI (#1824).
  83. * Mon Jan 24 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.00-0.fdr.1
  84. - Update to 1.00.
  85. * Sun Jul 04 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.02-0.fdr.1
  86. - First build.