commit d2a2c75da6740174f8819a0cf1bea2be9e5115f2 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Wed Sep 11 14:58:54 2013 +0200 1.7001 bump .gitignore | 1 + perl-App-cpanminus.spec | 45 ++++++++++++++++++--------------------------- sources | 2 +- 3 files changed, 20 insertions(+), 28 deletions(-) --- diff --git a/.gitignore b/.gitignore index 8aeb964..7c18f09 100644 --- a/.gitignore +++ b/.gitignore @@ -57,3 +57,4 @@ App-cpanminus-0.9935.tar.gz /App-cpanminus-1.6921.tar.gz /App-cpanminus-1.6922.tar.gz /App-cpanminus-1.6927.tar.gz +/App-cpanminus-1.7001.tar.gz diff --git a/perl-App-cpanminus.spec b/perl-App-cpanminus.spec index af4181a..20f3e9e 100644 --- a/perl-App-cpanminus.spec +++ b/perl-App-cpanminus.spec @@ -1,6 +1,6 @@ Name: perl-App-cpanminus -Version: 1.6927 -Release: 3%{?dist} +Version: 1.7001 +Release: 1%{?dist} Summary: Get, unpack, build and install CPAN modules License: GPL+ or Artistic Group: Development/Libraries @@ -31,18 +31,21 @@ BuildRequires: perl(CPAN::Meta::Requirements) # CPAN::Meta::YAML not needed for compilation BuildRequires: perl(Cwd) # Digest::SHA not needed for compilation +# Dumpvalue not needed for compilation +# ExtUtils::Manifest not needed for compilation BuildRequires: perl(File::Basename) BuildRequires: perl(File::Copy) BuildRequires: perl(File::Find) # File::pushd not needed for compilation BuildRequires: perl(File::Temp) # HTTP::Tiny not needed for compilation -# local::lib not needed for compilation # JSON::PP not needed for compilation -# Module::CPANfile not needed for compilation +# local::lib not needed for compilation # Module::CoreList not needed for compilation +# Module::CPANfile not needed for compilation # Module::Metadata not needed for compilation BuildRequires: perl(Parse::CPAN::Meta) +# POSIX not needed for compilation # Safe not needed for compilation BuildRequires: perl(String::ShellQuote) BuildRequires: perl(Symbol) @@ -55,51 +58,33 @@ BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) # Current dependency generator cannot parse compressed code. Use PPI to find # them, and list them manually: -Requires: perl(aliased) # Archive::Tar is optional # Archive::Zip is optional # Compress::Zlib is optional -Requires: perl(Config) -Requires: perl(constant) Requires: perl(CPAN::DistnameInfo) Requires: perl(CPAN::Meta) Requires: perl(CPAN::Meta::Check) Requires: perl(CPAN::Meta::Prereqs) -Requires: perl(CPAN::Meta::Requirements) Requires: perl(CPAN::Meta::YAML) -Requires: perl(Cwd) Requires: perl(Digest::SHA) Requires: perl(ExtUtils::Install) >= 1.46 Requires: perl(ExtUtils::MakeMaker) >= 6.31 -Requires: perl(File::Basename) -Requires: perl(File::Copy) -Requires: perl(File::Find) +Requires: perl(ExtUtils::Manifest) # File::HomeDir is optional -Requires: perl(File::Path) Requires: perl(File::pushd) -Requires: perl(File::Spec) -Requires: perl(File::Temp) -Requires: perl(Getopt::Long) # HTTP getter by LWP::UserAgent or wget or curl or HTTP::Tiny Requires: perl(HTTP::Tiny) -Requires: perl(JSON::PP) Requires: perl(local::lib) -# LWP::UserAgent is optional # LWP::Protocol::https is optional +# LWP::UserAgent is optional Requires: perl(Module::Build) Requires: perl(Module::CPANfile) Requires: perl(Module::CoreList) Requires: perl(Module::Metadata) # Module::Signature is optional -Requires: perl(Parse::CPAN::Meta) -Requires: perl(Safe) -Requires: perl(String::ShellQuote) -Requires: perl(Symbol) -Requires: perl(version) Requires: perl(version::vpp) # Win32 not used Requires: perl(YAML) -Provides: perl(App::cpanminus) = %{version} # XXX: Keep Provides: cpanminus to allow `yum install cpanminus' instead of # longer `yum install perl-App-cpanminus'. Provides: cpanminus = %{version}-%{release} @@ -119,9 +104,12 @@ scripting. When running, it requires only 10 MB of RAM. %setup -q -n App-cpanminus-%{version} # Unbundle fat-packed modules podselect lib/App/cpanminus.pm > lib/App/cpanminus.pod -%{SOURCE1} --libdir lib --filter '^App/cpanminus' bin/cpanm >bin/cpanm.stripped -perl -c -Ilib bin/cpanm.stripped -mv bin/cpanm{.stripped,} + +for F in bin/cpanm lib/App/cpanminus/fatscript.pm; do + %{SOURCE1} --libdir lib --filter '^App/cpanminus' "$F" > "${F}.stripped" + perl -c -Ilib "${F}.stripped" + mv "${F}.stripped" "$F" +done %build perl Makefile.PL INSTALLDIRS=vendor @@ -143,6 +131,9 @@ make test %{_bindir}/cpanm %changelog +* Wed Sep 11 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 1.7001-1 +- 1.7001 bump + * Wed Sep 11 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 1.6927-3 - Unbundle all modules (bug #907464) diff --git a/sources b/sources index e53215b..0ab2ddf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -bee6cc117d4ff18e1f7373fd7562473c App-cpanminus-1.6927.tar.gz +4655c5903e2885085262cf5f15ff5ae3 App-cpanminus-1.7001.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