commit b338a77c476635edeaa0c23e9bc5edb54dca2877 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Mon Apr 15 13:46:39 2013 +0200 1.111013 bump .gitignore | 1 + perl-CPAN-Mini.spec | 30 +++++++++++++++++++++++------- sources | 2 +- 3 files changed, 25 insertions(+), 8 deletions(-) --- diff --git a/.gitignore b/.gitignore index 88023a6..7ba6c59 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ CPAN-Mini-1.100630.tar.gz /CPAN-Mini-1.111010.tar.gz /CPAN-Mini-1.111011.tar.gz /CPAN-Mini-1.111012.tar.gz +/CPAN-Mini-1.111013.tar.gz diff --git a/perl-CPAN-Mini.spec b/perl-CPAN-Mini.spec index 492d0e0..8723701 100644 --- a/perl-CPAN-Mini.spec +++ b/perl-CPAN-Mini.spec @@ -1,17 +1,24 @@ Name: perl-CPAN-Mini Summary: Create a minimal mirror of CPAN -Version: 1.111012 +Version: 1.111013 Release: 1%{?dist} License: GPL+ or Artistic Group: Development/Libraries Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/CPAN-Mini-%{version}.tar.gz URL: http://search.cpan.org/dist/CPAN-Mini/ -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) BuildArch: noarch BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: BuildRequires: perl(Carp) BuildRequires: perl(Compress::Zlib) >= 1.20 -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(CPAN) +BuildRequires: perl(CPANPLUS::Backend) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Copy) +BuildRequires: perl(File::Find) BuildRequires: perl(File::HomeDir) >= 0.57 BuildRequires: perl(File::Path) >= 2.04 BuildRequires: perl(File::Spec) @@ -19,11 +26,17 @@ BuildRequires: perl(File::Temp) BuildRequires: perl(Getopt::Long) BuildRequires: perl(LWP::UserAgent) >= 5 BuildRequires: perl(Pod::Usage) >= 1.00 -BuildRequires: perl(Test::More) >= 0.96 BuildRequires: perl(URI) >= 1 +# Tests: +BuildRequires: perl(Test::More) >= 0.96 +# Optional tests: +BuildRequires: perl(Test::Script) >= 1.05 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(CPAN) +Requires: perl(CPANPLUS::Backend) %{?perl_default_filter} -%global __requires_exclude %__requires_exclude|perl\\(File::HomeDir\\)$ +%global __requires_exclude %__requires_exclude|^perl\\(File::HomeDir\\)$ %description CPAN::Mini provides a simple mechanism to build and update a minimal @@ -32,7 +45,6 @@ needed to install the newest version of every distribution. %prep %setup -q -n CPAN-Mini-%{version} -perl -pi -e 's|^#!perl|#!/usr/bin/perl|' t/* %build perl Makefile.PL INSTALLDIRS=vendor @@ -47,12 +59,16 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} + make test %files -%doc Changes LICENSE README t/ +%doc Changes LICENSE README %{_bindir}/* %{perl_vendorlib}/* %{_mandir}/man[13]/* %changelog +* Mon Apr 15 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 1.111013-1 +- 1.111013 bump +- Stop packaging internal tests + * Tue Apr 02 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 1.111012-1 - 1.111012 bump diff --git a/sources b/sources index a21afa2..8fbd7b4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2a1085a15e09d77e885db750472793e3 CPAN-Mini-1.111012.tar.gz +7c2cdf9defca583af99e4ae76c1eb18f CPAN-Mini-1.111013.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