Specify all dependencies

This commit is contained in:
Petr Písař 2015-01-15 08:14:27 +01:00
parent dacdd643a9
commit 98512bb983

View File

@ -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 <ppisar@redhat.com> - 1.09-19
- Specify all dependencies
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.09-18
- Perl 5.20 re-rebuild of bootstrapped packages