commit a875e0ed837ec8992ead39c8defc359f73368bc7 Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Wed Feb 18 15:51:23 2015 +0100 Revert "2.40 bump, a changelog fix" This reverts commit 93d5c1d93faef45f15dfc8ad9e2aeba244a7f27a. 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, 53 insertions(+), 63 deletions(-) --- diff --git a/Parse-CPAN-Packages-2.38-Test::InDistDir.patch b/Parse-CPAN-Packages-2.38-Test::InDistDir.patch new file mode 100644 index 0000000..8ecdb08 --- /dev/null +++ b/Parse-CPAN-Packages-2.38-Test::InDistDir.patch @@ -0,0 +1,39 @@ +--- Makefile.PL ++++ Makefile.PL +@@ -18,7 +18,6 @@ WriteMakefile( + Moose + Path::Class + PPI +- Test::InDistDir + Test::More + version + ) +--- META.json ++++ META.json +@@ -39,7 +39,6 @@ + "Moose" : "0", + "PPI" : "0", + "Path::Class" : "0", +- "Test::InDistDir" : "0", + "Test::More" : "0", + "version" : "0" + } +--- META.yml ++++ META.yml +@@ -25,7 +25,6 @@ requires: + Moose: '0' + PPI: '0' + Path::Class: '0' +- Test::InDistDir: '0' + Test::More: '0' + version: '0' + version: '2.38' +--- t/simple.t ++++ 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 908d261..57ad608 100644 --- a/perl-Parse-CPAN-Packages.spec +++ b/perl-Parse-CPAN-Packages.spec @@ -1,16 +1,15 @@ Name: perl-Parse-CPAN-Packages -Version: 2.40 -Release: 1%{?dist} +Version: 2.38 +Release: 3%{?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.40-Test::InDistDir.patch +Patch0: Parse-CPAN-Packages-2.38-Test::InDistDir.patch BuildArch: noarch # Module Build -BuildRequires: perl -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(strict) BuildRequires: perl(warnings) # Module Runtime @@ -18,16 +17,15 @@ BuildRequires: perl(Archive::Peek) BuildRequires: perl(Compress::Zlib) BuildRequires: perl(CPAN::DistnameInfo) BuildRequires: perl(File::Slurp) -BuildRequires: perl(Moo) +BuildRequires: perl(Moose) 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 @@ -38,18 +36,21 @@ interface to the data contained within. %prep %setup -q -n Parse-CPAN-Packages-%{version} + # Remove the need for (so-far unpackaged) Test::InDistDir -%patch0 -p1 +%patch0 + # Strip spurious exec permissions find . -type f -exec chmod -c -x {} \; %build -perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -make pure_install DESTDIR=%{buildroot} -%{_fixperms} %{buildroot} +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT %check make test @@ -62,9 +63,6 @@ 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 b38b608..74af9d0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -11c6a6f62e9cd74b9a6fef0289a1c7d9 Parse-CPAN-Packages-2.40.tar.gz +a4a7956f364839b2f69d60af9bf1957c Parse-CPAN-Packages-2.38.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