commit 105689d93f3b3a0722773fb75558e90070d1d78c Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx> Date: Mon Sep 17 14:36:02 2012 +0200 Update to 1.14 and modernize spec .gitignore | 1 + perl-CPAN-Inject.spec | 48 ++++++++++++++++++++++++++++++------------------ sources | 2 +- 3 files changed, 32 insertions(+), 19 deletions(-) --- diff --git a/.gitignore b/.gitignore index 5c7fe20..ccc93e7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ CPAN-Inject-0.11.tar.gz /CPAN-Inject-1.12.tar.gz /CPAN-Inject-1.13.tar.gz +/CPAN-Inject-1.14.tar.gz diff --git a/perl-CPAN-Inject.spec b/perl-CPAN-Inject.spec index 47cd6ce..fa3ef19 100644 --- a/perl-CPAN-Inject.spec +++ b/perl-CPAN-Inject.spec @@ -1,27 +1,37 @@ Name: perl-CPAN-Inject -Version: 1.13 -Release: 6%{?dist} +Version: 1.14 +Release: 1%{?dist} Summary: Base class for injecting distributions into CPAN sources License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/CPAN-Inject/ -Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/CPAN-Inject-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Source0: http://www.cpan.org/authors/id/P/PS/PSHANGOV/CPAN-Inject-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(CPAN) >= 1.36 BuildRequires: perl(CPAN::Checksums) >= 1.05 -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Basename) >= 2.6 BuildRequires: perl(File::chmod) >= 0.30 +BuildRequires: perl(File::Copy) >= 2.02 +BuildRequires: perl(File::Path) >= 1.00 BuildRequires: perl(File::Remove) >= 0.34 +BuildRequires: perl(File::Spec) >= 0.80 +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(File::stat) >= 1.00 +BuildRequires: perl(inc::Module::Install) BuildRequires: perl(Params::Util) >= 0.21 BuildRequires: perl(Test::More) >= 0.42 BuildRequires: perl(Test::Script) >= 1.02 -BuildRequires: perl(Test::Harness) Requires: perl(CPAN) >= 1.36 Requires: perl(CPAN::Checksums) >= 1.05 +Requires: perl(File::Basename) >= 2.6 +Requires: perl(File::chmod) >= 0.30 +Requires: perl(File::Copy) >= 2.02 +Requires: perl(File::Path) >= 1.00 +Requires: perl(File::Spec) >= 0.80 +Requires: perl(File::stat) >= 1.00 Requires: perl(File::chmod) >= 0.30 Requires: perl(Params::Util) >= 0.21 -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description Following the release of CPAN::Mini, the CPAN::Mini::Inject module was @@ -30,35 +40,37 @@ created to add additional distributions into a minicpan mirror. %prep %setup -q -n CPAN-Inject-%{version} +# Remove bundled libraries +rm -r inc +sed -i -e '/^inc\// d' MANIFEST +find -type f -exec chmod -x {} + + %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT - make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT - find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - %{_fixperms} $RPM_BUILD_ROOT/* %check make test -%clean -rm -rf $RPM_BUILD_ROOT - %files -%defattr(-,root,root,-) -%doc Changes LICENSE README +%doc Changes %{perl_vendorlib}/* %{_bindir}/cpaninject %{_mandir}/man1/cpaninject.1.gz %{_mandir}/man3/* %changelog +* Mon Sep 14 2012 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.14-1 +- 1.14 bump +- Modernize spec and drop command macros +- Remove bundled libraries. +- Update dependencies. + * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.13-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild diff --git a/sources b/sources index 625f804..a1fec7c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -64a82ccae1dde1d66432de9a6d7ac480 CPAN-Inject-1.13.tar.gz +f7118feb75f94d551edb9270f02e383b CPAN-Inject-1.14.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