commit 93d5c1d93faef45f15dfc8ad9e2aeba244a7f27a Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Wed Feb 18 15:36:25 2015 +0100 2.40 bump, a changelog fix Parse-CPAN-Packages-2.38-Test::InDistDir.patch | 39 -------------------- Parse-CPAN-Packages-2.40-Test::InDistDir.patch | 47 ++++++++++++++++++++++++ perl-Parse-CPAN-Packages.spec | 28 ++++++++------- sources | 2 +- 4 files changed, 63 insertions(+), 53 deletions(-) --- diff --git a/Parse-CPAN-Packages-2.40-Test::InDistDir.patch b/Parse-CPAN-Packages-2.40-Test::InDistDir.patch new file mode 100644 index 0000000..dd98834 --- /dev/null +++ b/Parse-CPAN-Packages-2.40-Test::InDistDir.patch @@ -0,0 +1,47 @@ +diff --git a/META.json b/META.json +index a514fd3..a7457c2 100755 +--- a/META.json ++++ b/META.json +@@ -39,7 +39,6 @@ + "Moo" : "0", + "PPI" : "0", + "Path::Class" : "0", +- "Test::InDistDir" : "0", + "Test::More" : "0", + "Type::Utils" : "0", + "Types::Standard" : "0", +diff --git a/META.yml b/META.yml +index aa57c57..9ad2c3e 100755 +--- a/META.yml ++++ b/META.yml +@@ -25,7 +25,6 @@ requires: + Moo: '0' + PPI: '0' + Path::Class: '0' +- Test::InDistDir: '0' + Test::More: '0' + Type::Utils: '0' + Types::Standard: '0' +diff --git a/Makefile.PL b/Makefile.PL +index 5589cba..ccd7e31 100755 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -18,7 +18,6 @@ WriteMakefile( + Moo + Path::Class + PPI +- Test::InDistDir + Test::More + Type::Utils + Types::Standard +diff --git a/t/simple.t b/t/simple.t +index a1d71ed..b422884 100755 +--- a/t/simple.t ++++ b/t/simple.t +@@ -1,6 +1,5 @@ + #!/usr/bin/perl + use strict; +-use Test::InDistDir; + use Test::More; + use File::Slurp 'read_file'; + diff --git a/perl-Parse-CPAN-Packages.spec b/perl-Parse-CPAN-Packages.spec index 57ad608..908d261 100644 --- a/perl-Parse-CPAN-Packages.spec +++ b/perl-Parse-CPAN-Packages.spec @@ -1,15 +1,16 @@ Name: perl-Parse-CPAN-Packages -Version: 2.38 -Release: 3%{?dist} +Version: 2.40 +Release: 1%{?dist} Summary: Parse 02packages.details.txt.gz License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Parse-CPAN-Packages/ Source0: http://www.cpan.org/authors/id/M/MI/MITHALDU/Parse-CPAN-Packages-%{version}.tar.gz -Patch0: Parse-CPAN-Packages-2.38-Test::InDistDir.patch +Patch0: Parse-CPAN-Packages-2.40-Test::InDistDir.patch BuildArch: noarch # Module Build -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Module Runtime @@ -17,15 +18,16 @@ BuildRequires: perl(Archive::Peek) BuildRequires: perl(Compress::Zlib) BuildRequires: perl(CPAN::DistnameInfo) BuildRequires: perl(File::Slurp) -BuildRequires: perl(Moose) +BuildRequires: perl(Moo) BuildRequires: perl(Path::Class) BuildRequires: perl(PPI) +BuildRequires: perl(Types::Standard) BuildRequires: perl(version) # Test Suite # perl(Test::InDistDir) dependency patched out BuildRequires: perl(Test::More) # Runtime -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) %description The Comprehensive Perl Archive Network (CPAN) is a very useful collection @@ -36,21 +38,18 @@ interface to the data contained within. %prep %setup -q -n Parse-CPAN-Packages-%{version} - # Remove the need for (so-far unpackaged) Test::InDistDir -%patch0 - +%patch0 -p1 # Strip spurious exec permissions find . -type f -exec chmod -c -x {} \; %build -perl Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install -make pure_install DESTDIR=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -%{_fixperms} $RPM_BUILD_ROOT +make pure_install DESTDIR=%{buildroot} +%{_fixperms} %{buildroot} %check make test @@ -63,6 +62,9 @@ make test %{_mandir}/man3/Parse::CPAN::Packages::Package.3pm* %changelog +* Wed Feb 18 2015 Petr Šabata <contyk@xxxxxxxxxx> - 2.40-1 +- 2.40 bump, a changelog fix + * Mon Sep 01 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 2.38-3 - Perl 5.20 rebuild diff --git a/sources b/sources index 74af9d0..b38b608 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a4a7956f364839b2f69d60af9bf1957c Parse-CPAN-Packages-2.38.tar.gz +11c6a6f62e9cd74b9a6fef0289a1c7d9 Parse-CPAN-Packages-2.40.tar.gz -- 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