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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. Name: perl-Test-Memory-Cycle
  2. Version: 1.04
  3. Release: 3%{?_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) >= 1.07
  12. BuildRequires: perl(PadWalker)
  13. BuildRequires: perl(Test::Builder::Tester)
  14. BuildRequires: perl(Test::Simple) >= 0.62
  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. * Fri Nov 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.04-3
  48. - rebuilt with perl 5.16.3
  49. * Mon Apr 25 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.04-2
  50. - build with perl 5.12.3
  51. - add Vendor and Distribution tags
  52. * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.04-1
  53. - initial build for Vine Linux based on fedora development
  54. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-7
  55. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  56. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-6
  57. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  58. * Thu Feb 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-5
  59. - Rebuild normally, second pass
  60. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-4
  61. - Rebuild for perl 5.10 (again), first pass
  62. * Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-3
  63. - rebuild normally, second pass
  64. * Sun Jan 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-2
  65. - rebuild for new perl, disable T-P-C and tests for first pass
  66. * Wed Aug 9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.04-1
  67. - Update to 1.04.
  68. * Mon Feb 20 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.02-2
  69. - Rebuild for FC5 (perl 5.8.8).
  70. * Tue May 24 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.02-1
  71. - Update to 1.02.
  72. * Sat May 14 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.00-4
  73. - Add dist tag.
  74. * Fri Apr 22 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.00-3
  75. - Fedora Extras: FC-4 version.
  76. * Fri Apr 22 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.00-2
  77. - Fedora Extras: FC-3 version.
  78. * Wed Apr 20 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.00-0.fdr.2
  79. - RedHat 9.0 (8.0 and 7.3): CGI.pm is shipped as perl-CGI (#1824).
  80. * Mon Jan 24 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.00-0.fdr.1
  81. - Update to 1.00.
  82. * Sun Jul 04 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.02-0.fdr.1
  83. - First build.