1.7001 bump
This commit is contained in:
parent
05a090766e
commit
d2a2c75da6
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
@ -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@redhat.com> - 1.7001-1
|
||||
- 1.7001 bump
|
||||
|
||||
* Wed Sep 11 2013 Petr Pisar <ppisar@redhat.com> - 1.6927-3
|
||||
- Unbundle all modules (bug #907464)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user