diff --git a/.perl-Test-Memory-Cycle.metadata b/.perl-Test-Memory-Cycle.metadata new file mode 100644 index 0000000..653defe --- /dev/null +++ b/.perl-Test-Memory-Cycle.metadata @@ -0,0 +1 @@ +c451b49cd52ce5943a43efaf64bff877742c3e99 SOURCES/Test-Memory-Cycle-1.04.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-Test-Memory-Cycle.spec b/SPECS/perl-Test-Memory-Cycle.spec new file mode 100644 index 0000000..409e8b1 --- /dev/null +++ b/SPECS/perl-Test-Memory-Cycle.spec @@ -0,0 +1,138 @@ +Name: perl-Test-Memory-Cycle +Version: 1.04 +Release: 16%{?dist} +Summary: Check for memory leaks and circular memory references + +Group: Development/Libraries +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/Test-Memory-Cycle/ +Source0: http://www.cpan.org/authors/id/P/PE/PETDANCE/Test-Memory-Cycle-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl(CGI) +BuildRequires: perl(Devel::Cycle) >= 1.07 +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Getopt::Long) +BuildRequires: perl(PadWalker) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Test::Builder) +BuildRequires: perl(Test::Builder::Tester) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Simple) >= 0.62 +BuildRequires: perl(Test::Pod) >= 1.14 +BuildRequires: perl(Test::Pod::Coverage) >= 1.04 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Perl's garbage collection has one big problem: Circular references +can't get cleaned up. A circular reference can be as simple as two +objects that refer to each other. +"Test::Memory::Cycle" is built on top of "Devel::Cycle" to give you an +easy way to check for these circular references. + + +%prep +%setup -q -n Test-Memory-Cycle-%{version} + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' +find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + + +%check +make test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/Test/ +%{_mandir}/man3/*.3pm* + + +%changelog +* Tue Oct 23 2012 Jitka Plesnikova - 1.04-16 +- Specify all dependencies. + +* Fri Jul 20 2012 Fedora Release Engineering - 1.04-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jun 12 2012 Petr Pisar - 1.04-14 +- Perl 5.16 rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 1.04-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Jun 22 2011 Marcela Mašláňová - 1.04-12 +- Perl mass rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 1.04-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Dec 08 2010 Ralf Corsépius - 1.04-10 +- Add BR: perl(CGI) (Fix FTBFS: BZ 660987). + +* Thu May 06 2010 Marcela Maslanova - 1.04-9 +- Mass rebuild with perl-5.12.0 + +* Fri Dec 4 2009 Stepan Kasal - 1.04-8 +- rebuild against perl 5.10.1 + +* Sun Jul 26 2009 Fedora Release Engineering - 1.04-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 1.04-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Thu Feb 28 2008 Tom "spot" Callaway - 1.04-5 +- Rebuild normally, second pass + +* Wed Feb 27 2008 Tom "spot" Callaway - 1.04-4 +- Rebuild for perl 5.10 (again), first pass + +* Mon Jan 14 2008 Tom "spot" Callaway - 1.04-3 +- rebuild normally, second pass + +* Sun Jan 13 2008 Tom "spot" Callaway - 1.04-2 +- rebuild for new perl, disable T-P-C and tests for first pass + +* Wed Aug 9 2006 Jose Pedro Oliveira - 1.04-1 +- Update to 1.04. + +* Mon Feb 20 2006 Jose Pedro Oliveira - 1.02-2 +- Rebuild for FC5 (perl 5.8.8). + +* Tue May 24 2005 Jose Pedro Oliveira - 1.02-1 +- Update to 1.02. + +* Sat May 14 2005 Jose Pedro Oliveira - 1.00-4 +- Add dist tag. + +* Fri Apr 22 2005 Jose Pedro Oliveira - 1.00-3 +- Fedora Extras: FC-4 version. + +* Fri Apr 22 2005 Jose Pedro Oliveira - 1.00-2 +- Fedora Extras: FC-3 version. + +* Wed Apr 20 2005 Jose Pedro Oliveira - 0:1.00-0.fdr.2 +- RedHat 9.0 (8.0 and 7.3): CGI.pm is shipped as perl-CGI (#1824). + +* Mon Jan 24 2005 Jose Pedro Oliveira - 0:1.00-0.fdr.1 +- Update to 1.00. + +* Sun Jul 04 2004 Jose Pedro Oliveira - 0:0.02-0.fdr.1 +- First build.