commit 8d1ce20501ec395aa586ddc8ba91a7c1473f9e1e Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Thu Jan 30 13:44:24 2014 +0100 1.002 bump .gitignore | 1 + perl-Test-Able-Runner.spec | 29 +++++++++++++++++++---------- sources | 2 +- 3 files changed, 21 insertions(+), 11 deletions(-) --- diff --git a/.gitignore b/.gitignore index de625e8..269820c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /Test-Able-Runner-1.001.tar.gz +/Test-Able-Runner-1.002.tar.gz diff --git a/perl-Test-Able-Runner.spec b/perl-Test-Able-Runner.spec index be96e1b..7e6f4e8 100644 --- a/perl-Test-Able-Runner.spec +++ b/perl-Test-Able-Runner.spec @@ -1,13 +1,18 @@ Name: perl-Test-Able-Runner -Version: 1.001 -Release: 6%{?dist} +Version: 1.002 +Release: 1%{?dist} Summary: Use Test::Able without a bunch of boilerplate License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Test-Able-Runner/ Source0: http://www.cpan.org/authors/id/H/HA/HANENKAMP/Test-Able-Runner-%{version}.tar.gz BuildArch: noarch -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.11 +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(Class::Load) >= 0.20 BuildRequires: perl(Module::Pluggable) >= 3.6 BuildRequires: perl(Moose) >= 0.94 BuildRequires: perl(Moose::Exporter) @@ -16,17 +21,17 @@ BuildRequires: perl(Moose::Util::MetaRole) BuildRequires: perl(Test::Able) >= 0.09 # Tests only: BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Test::Able::Role) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Simple) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Class::Load) >= 0.20 Requires: perl(Module::Pluggable) >= 3.6 Requires: perl(Moose) >= 0.94 Requires: perl(Test::Able) >= 0.09 # Do not export underspecified dependencies -%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Module::Pluggable\\)\\s*$ -%global __requires_exclude %{__requires_exclude}|^perl\\(Moose\\)\\s*$ -%global __requires_exclude %{__requires_exclude}|^perl\\(Test::Able\\)\\s*$ +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Module::Pluggable|Moose|Test::Able|Class::Load)\\)\\s*$ %description I like Test::Able. I really don't like having to copy my boilerplate test @@ -37,15 +42,16 @@ know if you want this to do something else. %prep %setup -q -n Test-Able-Runner-%{version} +# Remove stray files, CPAN RT#92579 +rm lib/Test/Able/Runner/Role/Meta/Class.pm.{orig,rej} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +make pure_install DESTDIR=$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 @@ -57,6 +63,9 @@ make test %{_mandir}/man3/* %changelog +* Thu Jan 30 2014 Petr Pisar <ppisar@xxxxxxxxxx> - 1.002-1 +- 1.002 bump + * Sat Aug 03 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 1.001-6 - Perl 5.18 rebuild diff --git a/sources b/sources index 9243928..f90571a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3bffed6e3b3dc3497b1e1903493e472b Test-Able-Runner-1.001.tar.gz +6e64788c48a462e3a14fc8c239b435d3 Test-Able-Runner-1.002.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