commit 0fe3ab232f70b8234db089be65f612a0d25f594e Author: Marcela Mašláňová <mmaslano@xxxxxxxxxx> Date: Wed Nov 14 18:26:52 2012 +0100 Update dependencies. Use DESTDIR rather than PERL_INSTALL_ROOT. Dont use macros for commands. Dont need to remove empty directories from the buildroot. perl-Devel-Cycle.spec | 20 ++++++++++++++------ 1 files changed, 14 insertions(+), 6 deletions(-) --- diff --git a/perl-Devel-Cycle.spec b/perl-Devel-Cycle.spec index 3de87d7..8057b7b 100644 --- a/perl-Devel-Cycle.spec +++ b/perl-Devel-Cycle.spec @@ -1,6 +1,6 @@ Name: perl-Devel-Cycle Version: 1.11 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Find memory cycles in objects License: GPL+ or Artistic Group: Development/Libraries @@ -8,10 +8,13 @@ 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(PadWalker) >= 1.0 +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(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(PadWalker) >= 1.0 %description @@ -24,13 +27,12 @@ based memory management, circular references will cause memory leaks. %patch0 -p1 -b .512 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -make pure_install PERL_INSTALL_ROOT=%{buildroot} +make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; -find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check @@ -42,6 +44,12 @@ make test %{_mandir}/man3/* %changelog +* Wed Nov 14 2012 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 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 <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.11-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel