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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. Name: perl-Test-Memory-Cycle
  2. Version: 1.04
  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}-%{release}-root-%(%{__id_u} -n)
  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. %description
  19. Perl's garbage collection has one big problem: Circular references
  20. can't get cleaned up. A circular reference can be as simple as two
  21. objects that refer to each other.
  22. "Test::Memory::Cycle" is built on top of "Devel::Cycle" to give you an
  23. easy way to check for these circular references.
  24. %prep
  25. %setup -q -n Test-Memory-Cycle-%{version}
  26. %build
  27. %{__perl} Makefile.PL INSTALLDIRS=vendor
  28. %{__make} %{?_smp_mflags}
  29. %install
  30. %{__rm} -rf $RPM_BUILD_ROOT
  31. %{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  32. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  33. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  34. %{__chmod} -R u+w $RPM_BUILD_ROOT/*
  35. %check
  36. %{__make} test
  37. %clean
  38. %{__rm} -rf $RPM_BUILD_ROOT
  39. %files
  40. %defattr(-,root,root,-)
  41. %doc Changes README
  42. %{perl_vendorlib}/Test/
  43. %{_mandir}/man3/*.3pm*
  44. %changelog
  45. * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.04-1
  46. - initial build for Vine Linux based on fedora development
  47. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-7
  48. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  49. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-6
  50. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  51. * Thu Feb 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-5
  52. - Rebuild normally, second pass
  53. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-4
  54. - Rebuild for perl 5.10 (again), first pass
  55. * Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-3
  56. - rebuild normally, second pass
  57. * Sun Jan 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-2
  58. - rebuild for new perl, disable T-P-C and tests for first pass
  59. * Wed Aug 9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.04-1
  60. - Update to 1.04.
  61. * Mon Feb 20 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.02-2
  62. - Rebuild for FC5 (perl 5.8.8).
  63. * Tue May 24 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.02-1
  64. - Update to 1.02.
  65. * Sat May 14 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.00-4
  66. - Add dist tag.
  67. * Fri Apr 22 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.00-3
  68. - Fedora Extras: FC-4 version.
  69. * Fri Apr 22 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.00-2
  70. - Fedora Extras: FC-3 version.
  71. * Wed Apr 20 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.00-0.fdr.2
  72. - RedHat 9.0 (8.0 and 7.3): CGI.pm is shipped as perl-CGI (#1824).
  73. * Mon Jan 24 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.00-0.fdr.1
  74. - Update to 1.00.
  75. * Sun Jul 04 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.02-0.fdr.1
  76. - First build.