diff --git a/.perl-Devel-Cycle.metadata b/.perl-Devel-Cycle.metadata new file mode 100644 index 0000000..1f411a5 --- /dev/null +++ b/.perl-Devel-Cycle.metadata @@ -0,0 +1 @@ +c88be23f7d5205e67745a4c6c3cdd2fc39595ea8 SOURCES/Devel-Cycle-1.11.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/SOURCES/perl-Devel-Cycle-1.11-512.patch b/SOURCES/perl-Devel-Cycle-1.11-512.patch new file mode 100644 index 0000000..33046c9 --- /dev/null +++ b/SOURCES/perl-Devel-Cycle-1.11-512.patch @@ -0,0 +1,15 @@ +diff --git a/lib/Devel/Cycle.pm b/lib/Devel/Cycle.pm +index 19d3d63..2c5fdd1 100644 +--- a/lib/Devel/Cycle.pm ++++ b/lib/Devel/Cycle.pm +@@ -215,7 +215,9 @@ sub _format_reference { + sub _get_type { + my $thingy = shift; + return unless ref $thingy; +- return 'SCALAR' if UNIVERSAL::isa($thingy,'SCALAR') || UNIVERSAL::isa($thingy,'REF'); ++ return 'SCALAR' if UNIVERSAL::isa($thingy,'SCALAR') || ++ UNIVERSAL::isa($thingy,'REF') || ++ UNIVERSAL::isa($thingy,'Regexp'); + return 'ARRAY' if UNIVERSAL::isa($thingy,'ARRAY'); + return 'HASH' if UNIVERSAL::isa($thingy,'HASH'); + return 'CODE' if UNIVERSAL::isa($thingy,'CODE'); diff --git a/SPECS/perl-Devel-Cycle.spec b/SPECS/perl-Devel-Cycle.spec new file mode 100644 index 0000000..8057b7b --- /dev/null +++ b/SPECS/perl-Devel-Cycle.spec @@ -0,0 +1,139 @@ +Name: perl-Devel-Cycle +Version: 1.11 +Release: 12%{?dist} +Summary: Find memory cycles in objects +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Devel-Cycle/ +Source0: http://www.cpan.org/authors/id/L/LD/LDS/Devel-Cycle-%{version}.tar.gz +Patch0: perl-Devel-Cycle-1.11-512.patch +BuildArch: noarch +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(PadWalker) >= 1.0 +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(PadWalker) >= 1.0 + +%description +This is a simple developer's tool for finding circular references in +objects and other types of references. Because of Perl's reference-count +based memory management, circular references will cause memory leaks. + +%prep +%setup -q -n Devel-Cycle-%{version} +%patch0 -p1 -b .512 + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Nov 14 2012 Jitka Plesnikova - 1.11-12 +- Update dependencies +- Use DESTDIR rather than PERL_INSTALL_ROOT +- Don't use macros for commands +- Don't need to remove empty directories from the buildroot + +* Fri Jul 20 2012 Fedora Release Engineering - 1.11-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jun 11 2012 Petr Pisar - 1.11-10 +- Perl 5.16 rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 1.11-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Nov 28 2011 Petr Šabata - 1.11-8 +- Fix a Perl 5.12 incompatibility (#757274, RT #56681) +- Remove BuildRoot and defattr + +* Sun Jun 19 2011 Marcela Mašláňová - 1.11-7 +- Perl mass rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 1.11-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Dec 16 2010 Marcela Maslanova - 1.11-5 +- 661697 rebuild for fixing problems with vendorach/lib + +* Fri Apr 30 2010 Marcela Maslanova - 1.11-4 +- Mass rebuild with perl-5.12.0 + +* Fri Apr 30 2010 Marcela Maslanova - 1.11-3 +- Mass rebuild with perl-5.12.0 + +* Mon Dec 7 2009 Stepan Kasal - 1.11-2 +- rebuild against perl 5.10.1 + +* Mon Oct 5 2009 Stepan Kasal - 1.11-1 +- new upstream version + +* Sat Jul 25 2009 Fedora Release Engineering - 1.10-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 1.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Tue Jul 15 2008 Steven Pritchard 1.10-1 +- Update to 1.10. + +* Thu May 15 2008 Steven Pritchard 1.09-1 +- Update to 1.09. +- Reformat to match cpanspec output. +- Fix find option order. +- Use fixperms macro instead of our own chmod incantation. + +* Wed Feb 27 2008 Tom "spot" Callaway - 1.07-3 +- Rebuild for perl 5.10 (again) + +* Sun Jan 13 2008 Tom "spot" Callaway - 1.07-2 +- rebuild for new perl + +* Mon Oct 15 2007 Tom "spot" Callaway - 1.07-1.2 +- add BR: perl(Test::More) + +* Mon Oct 15 2007 Tom "spot" Callaway - 1.07-1.1 +- correct license tag +- add BR: perl(ExtUtils::MakeMaker) + +* Wed May 24 2006 Jose Pedro Oliveira - 1.07-1 +- Update to 1.07. +- Requirement version: perl(PadWalker) >= 1.0. + +* Mon May 22 2006 Jose Pedro Oliveira - 1.05-1 +- Update to 1.05. +- New requirement: perl(PadWalker). + +* Thu Feb 16 2006 Jose Pedro Oliveira - 1.04-4 +- Rebuild for FC5 (perl 5.8.8). + +* Sat May 14 2005 Jose Pedro Oliveira - 1.04-3 +- Add dist tag. + +* Mon May 02 2005 Jose Pedro Oliveira - 1.04-2 +- Update to 1.04. + +* Fri Apr 22 2005 Jose Pedro Oliveira - 1.03-2 +- Fedora Extras: FC-4 version. + +* Mon Jan 24 2005 Jose Pedro Oliveira - 0:1.03-0.fdr.1 +- Update to 1.03. + +* Sun Jul 04 2004 Jose Pedro Oliveira - 0:1.02-0.fdr.1 +- First build.