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