commit 576a2432be2264510d0224482eb977886c06349b Author: MSVSphere Packaging Team Date: Wed Jan 10 03:19:42 2024 +0300 import perl-Test-Memory-Cycle-1.06-13.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..82a7fb1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Test-Memory-Cycle-1.06.tar.gz diff --git a/.perl-Test-Memory-Cycle.metadata b/.perl-Test-Memory-Cycle.metadata new file mode 100644 index 0000000..72e88e1 --- /dev/null +++ b/.perl-Test-Memory-Cycle.metadata @@ -0,0 +1 @@ +2c3ca8f77e7198a2e96546c8436d819ad841e562 SOURCES/Test-Memory-Cycle-1.06.tar.gz diff --git a/SPECS/perl-Test-Memory-Cycle.spec b/SPECS/perl-Test-Memory-Cycle.spec new file mode 100644 index 0000000..8e09834 --- /dev/null +++ b/SPECS/perl-Test-Memory-Cycle.spec @@ -0,0 +1,201 @@ +Name: perl-Test-Memory-Cycle +Version: 1.06 +Release: 13%{?dist} +Summary: Check for memory leaks and circular memory references +License: Artistic 2.0 +URL: https://metacpan.org/release/Test-Memory-Cycle +Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-Memory-Cycle-%{version}.tar.gz +BuildArch: noarch +# Build +BuildRequires: coreutils +BuildRequires: make +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +# Runtime +BuildRequires: perl(Devel::Cycle) >= 1.07 +BuildRequires: perl(strict) +BuildRequires: perl(Test::Builder) +BuildRequires: perl(warnings) +# Tests only +BuildRequires: perl(Getopt::Long) +BuildRequires: perl(lib) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Test::Builder::Tester) +BuildRequires: perl(Test::More) +# Optional tests only +BuildRequires: perl(Test::Pod) >= 1.14 +BuildRequires: perl(Test::Pod::Coverage) >= 1.04 +# Dependencies +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) +Requires: perl(Devel::Cycle) >= 1.07 + +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Devel::Cycle\\)$ + +%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 NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} + +%install +%{make_install} +%{_fixperms} -c %{buildroot} + +%check +make test + +%files +%license LICENSE +%doc Changes README.md +%{perl_vendorlib}/Test/ +%{_mandir}/man3/Test::Memory::Cycle.3* + +%changelog +* Wed Jan 10 2024 MSVSphere Packaging Team - 1.06-13 +- Rebuilt for MSVSphere 9.3 + +* Thu Sep 5 2019 Paul Howarth - 1.06-13 +- Modernize spec using %%{make_build} and %%{make_install} +- Use author-independent source URL +- Make %%files list more explicit + +* Fri Jul 26 2019 Fedora Release Engineering - 1.06-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri May 31 2019 Jitka Plesnikova - 1.06-11 +- Perl 5.30 rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 1.06-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 1.06-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jun 28 2018 Jitka Plesnikova - 1.06-8 +- Perl 5.28 rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 1.06-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1.06-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sun Jun 04 2017 Jitka Plesnikova - 1.06-5 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 1.06-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun May 15 2016 Jitka Plesnikova - 1.06-3 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 1.06-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jan 28 2016 Petr Šabata - 1.06-1 +- 1.06 bump +- Package cleanup +- License changed from `GPL+ or Artistic' to `Artistic 2.0' + +* Thu Jun 18 2015 Fedora Release Engineering - 1.04-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 06 2015 Jitka Plesnikova - 1.04-22 +- Perl 5.22 rebuild + +* Wed Aug 27 2014 Jitka Plesnikova - 1.04-21 +- Perl 5.20 rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.04-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 1.04-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Sat Jul 20 2013 Petr Pisar - 1.04-18 +- Perl 5.18 rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 1.04-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* 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.