commit ce5c5e25a45752b586a3f20afc8af2661c30d390 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Thu Feb 28 09:13:47 2013 +0100 Specify all dependencies perl-UNIVERSAL-exports.spec | 20 +++++++++++++------- 1 files changed, 13 insertions(+), 7 deletions(-) --- diff --git a/perl-UNIVERSAL-exports.spec b/perl-UNIVERSAL-exports.spec index 3b40ff8..b9d87ab 100644 --- a/perl-UNIVERSAL-exports.spec +++ b/perl-UNIVERSAL-exports.spec @@ -8,12 +8,21 @@ URL: http://search.cpan.org/dist/UNIVERSAL-exports/ Source0: http://backpan.perl.org/authors/id/M/MS/MSCHWERN/UNIVERSAL-exports-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: perl(Test::More) -BuildRequires: perl(Exporter::Lite) +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +# Run-time: +BuildRequires: perl(strict) +BuildRequires: perl(Exporter::Lite) >= 0.01 +# Tests: +BuildRequires: perl(lib) +BuildRequires: perl(Test::More) >= 0.47 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(Exporter::Lite) >= 0.01 # Filter bogus provide for perl(UNIVERSAL) (rpm 4.9 onwards) -%global __provides_exclude ^perl\\(UNIVERSAL\\) +%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(UNIVERSAL\\) +# Filter under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Exporter::Lite\\)$ %description %{summary}. @@ -21,10 +30,6 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi %prep %setup -q -n UNIVERSAL-exports-%{version} -# Filter bogus provide for perl(UNIVERSAL) (prior to rpm 4.9) -%global provfilt /bin/sh -c "%{__perl_provides} | sed -e '/^perl(UNIVERSAL)$/d'" -%define __perl_provides %{provfilt} - %build %{__perl} Makefile.PL INSTALLDIRS=vendor make @@ -52,6 +57,7 @@ rm -rf $RPM_BUILD_ROOT %changelog * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.05-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild +- Specify all dependencies * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.05-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild -- 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