commit b5e3e3af1ba9f35f5dc363393265a02bddc0fecf Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx> Date: Wed Nov 20 16:41:02 2013 +0100 Update BRs perl-Sub-Install.spec | 25 +++++++++++++++---------- 1 files changed, 15 insertions(+), 10 deletions(-) --- diff --git a/perl-Sub-Install.spec b/perl-Sub-Install.spec index 66e2caf..e87cd8e 100644 --- a/perl-Sub-Install.spec +++ b/perl-Sub-Install.spec @@ -1,6 +1,6 @@ Name: perl-Sub-Install Version: 0.927 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Install subroutines into packages easily License: GPL+ or Artistic Group: Development/Libraries @@ -9,24 +9,26 @@ Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Sub-Install-%{version}. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch # ================= Module Build ============================ -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) # ================= Run-time ================================ +BuildRequires: perl(B) BuildRequires: perl(Carp) BuildRequires: perl(Scalar::Util) # ================= Test Suite ============================== -BuildRequires: perl(Test::More) +BuildRequires: perl(File::Spec) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(IPC::Open3) +BuildRequires: perl(Test::More) >= 0.94 %if !%{defined perl_bootstrap} # Test::Output -> Sub::Exporter -> Sub::Install BuildRequires: perl(Test::Output) -# Test::Perl::Critic -> Perl::Critic -> Exception::Class -> -# Test::EOL -> Pod::Coverage::TrustPod -> Pod::Eventual -> -# Mixin::Linewise -> Sub::Exporter -> Sub::Install -BuildRequires: perl(Test::Perl::Critic) %endif -BuildRequires: perl(Test::Pod) -BuildRequires: perl(Test::Pod::Coverage) # ================= Run-time ================================ Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(B) %description This module makes it easy to install subroutines into packages without the @@ -47,7 +49,7 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} \; %{_fixperms} %{buildroot} %check -make test %{!?perl_bootstrap:PERL_TEST_CRITIC=1} +make test %clean rm -rf %{buildroot} @@ -58,6 +60,9 @@ rm -rf %{buildroot} %{_mandir}/man3/Sub::Install.3pm* %changelog +* Wed Nov 20 2013 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.927-2 +- Update BRs + * Wed Nov 13 2013 Robin Lee <cheeselee@xxxxxxxxxxxxxxxxx> - 0.927-1 - Update to 0.927 -- 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