From 98512bb983c0a188364f14763b8d77488a82ef42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 15 Jan 2015 08:14:27 +0100 Subject: [PATCH] Specify all dependencies --- perl-File-Which.spec | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/perl-File-Which.spec b/perl-File-Which.spec index 30b77bc..6b1a741 100644 --- a/perl-File-Which.spec +++ b/perl-File-Which.spec @@ -1,21 +1,31 @@ Name: perl-File-Which Version: 1.09 -Release: 18%{?dist} +Release: 19%{?dist} Summary: Portable implementation of the 'which' utility Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/File-Which/ Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/File-Which-%{version}.tar.gz BuildArch: noarch +BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(strict) +# Run-time: %if !%{defined perl_bootstrap} BuildRequires: perl(constant) BuildRequires: perl(Exporter) -BuildRequires: perl(File::Spec) -BuildRequires: perl(Test::More) -BuildRequires: perl(Test::Script) +BuildRequires: perl(File::Spec) >= 0.60 +BuildRequires: perl(Getopt::Std) +BuildRequires: perl(vars) +# Tests: +BuildRequires: perl(Test::More) >= 0.80 +BuildRequires: perl(Test::Script) >= 1.05 %endif Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(File::Spec) >= 0.60 + +# Remove under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::Spec\\)$ %description File::Which is a portable implementation (in Perl) of 'which', and can @@ -51,6 +61,9 @@ make test %changelog +* Thu Jan 15 2015 Petr Pisar - 1.09-19 +- Specify all dependencies + * Sun Sep 07 2014 Jitka Plesnikova - 1.09-18 - Perl 5.20 re-rebuild of bootstrapped packages