From 7e0f3ea8266fdb3adb81aef9de4797005f2d2db3 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Tue, 2 Dec 2014 15:05:56 +0000 Subject: [PATCH] Update to 0.006017 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - New upstream release 0.006017 - Updates for some deprecations in perl 5.17 (CPAN RT#83968) - Fix use of wrong sprintf formatting codes (CPAN RT#91983) - Fixed syntax error in a test - Fix for changes in 5.21.4 (avoid creating GVs when subs are declared, CPAN RT#99102) - Converted dist to Distar - This release by ETHER → update source URL - Classify buildreqs by usage - Make %files list more explicit --- .gitignore | 13 +-------- perl-Devel-Declare.spec | 65 +++++++++++++++++++++++++++++------------ sources | 2 +- 3 files changed, 49 insertions(+), 31 deletions(-) diff --git a/.gitignore b/.gitignore index 5024c37..1a735e4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1 @@ -Devel-Declare-0.006000.tar.gz -/Devel-Declare-0.006001.tar.gz -/Devel-Declare-0.006002.tar.gz -/Devel-Declare-0.006003.tar.gz -/Devel-Declare-0.006004.tar.gz -/Devel-Declare-0.006005.tar.gz -/Devel-Declare-0.006006.tar.gz -/Devel-Declare-0.006007.tar.gz -/Devel-Declare-0.006008.tar.gz -/Devel-Declare-0.006009.tar.gz -/Devel-Declare-0.006010.tar.gz -/Devel-Declare-0.006011.tar.gz +/Devel-Declare-[0-9.]*.tar.gz diff --git a/perl-Devel-Declare.spec b/perl-Devel-Declare.spec index 581797a..66aae6f 100644 --- a/perl-Devel-Declare.spec +++ b/perl-Devel-Declare.spec @@ -1,21 +1,41 @@ Name: perl-Devel-Declare -Version: 0.006011 -Release: 9%{?dist} +Version: 0.006017 +Release: 1%{?dist} Summary: Adding keywords to perl, in perl License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Devel-Declare/ -Source0: http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Devel-Declare-%{version}.tar.gz -BuildRequires: perl(B::Compiling) -BuildRequires: perl(B::Hooks::EndOfScope) >= 0.05 -BuildRequires: perl(B::Hooks::OP::Check) >= 0.19 +Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Devel-Declare-%{version}.tar.gz +# Module Build +BuildRequires: perl BuildRequires: perl(ExtUtils::Depends) BuildRequires: perl(ExtUtils::MakeMaker) +# Module Runtime +BuildRequires: perl(B::Hooks::EndOfScope) >= 0.05 +BuildRequires: perl(B::Hooks::OP::Check) >= 0.19 +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(DynaLoader) +BuildRequires: perl(Scalar::Util) >= 1.11 +BuildRequires: perl(strict) BuildRequires: perl(Sub::Name) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +# Test Suite +BuildRequires: perl(Cwd) +BuildRequires: perl(File::Spec) +BuildRequires: perl(FindBin) BuildRequires: perl(Test::More) >= 0.88 +BuildRequires: perl(Test::Requires) +# Optional Tests +BuildRequires: perl(B::Compiling) +BuildRequires: perl(Devel::CallParser) +BuildRequires: perl(Filter::Util::Call) +# Runtime +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) # necessary minimum versions not automatically detected Requires: perl(B::Hooks::EndOfScope) >= 0.05 -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} @@ -27,28 +47,37 @@ take over Perl's parser, allowing the creation of new syntax. %setup -q -n Devel-Declare-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} %install -make pure_install DESTDIR=$RPM_BUILD_ROOT - -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - -%{_fixperms} $RPM_BUILD_ROOT/* +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; +%{_fixperms} %{buildroot} %check make test %files %doc Changes README -%{perl_vendorarch}/auto/* -%{perl_vendorarch}/Devel* +%{perl_vendorarch}/auto/Devel/ +%{perl_vendorarch}/Devel/ %{_mandir}/man3/* %changelog +* Tue Dec 2 2014 Paul Howarth - 0.006017-1 +- Update to 0.006017 + - Updates for some deprecations in perl 5.17 (CPAN RT#83968) + - Fix use of wrong sprintf formatting codes (CPAN RT#91983) + - Fixed syntax error in a test + - Fix for changes in 5.21.4 (avoid creating GVs when subs are declared, + CPAN RT#99102) + - Converted dist to Distar +- This release by ETHER → update source URL +- Classify buildreqs by usage +- Make %%files list more explicit + * Fri Aug 29 2014 Jitka Plesnikova - 0.006011-9 - Perl 5.20 rebuild @@ -117,7 +146,7 @@ make test - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Dec 16 2010 Marcela Maslanova - 0.006000-3 -- 661697 rebuild for fixing problems with vendorach/lib +- Rebuild to fix problems with vendorarch/lib (#661697) * Sat Jul 17 2010 Iain Arnell 0.006000-2 - cleanup spec for moderm rpmbuild diff --git a/sources b/sources index 680438d..33187f7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -733f51f6fcb23b2629c74a2cb80a51df Devel-Declare-0.006011.tar.gz +a9033b30c3c43cca3df71de4c9869c4c Devel-Declare-0.006017.tar.gz