Specify all dependencies

This commit is contained in:
Petr Písař 2015-01-15 08:14:27 +01:00
parent dacdd643a9
commit 98512bb983
1 changed files with 17 additions and 4 deletions

View File

@ -1,21 +1,31 @@
Name: perl-File-Which Name: perl-File-Which
Version: 1.09 Version: 1.09
Release: 18%{?dist} Release: 19%{?dist}
Summary: Portable implementation of the 'which' utility Summary: Portable implementation of the 'which' utility
Group: Development/Libraries Group: Development/Libraries
License: GPL+ or Artistic License: GPL+ or Artistic
URL: http://search.cpan.org/dist/File-Which/ URL: http://search.cpan.org/dist/File-Which/
Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/File-Which-%{version}.tar.gz Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/File-Which-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(strict)
# Run-time:
%if !%{defined perl_bootstrap} %if !%{defined perl_bootstrap}
BuildRequires: perl(constant) BuildRequires: perl(constant)
BuildRequires: perl(Exporter) BuildRequires: perl(Exporter)
BuildRequires: perl(File::Spec) BuildRequires: perl(File::Spec) >= 0.60
BuildRequires: perl(Test::More) BuildRequires: perl(Getopt::Std)
BuildRequires: perl(Test::Script) BuildRequires: perl(vars)
# Tests:
BuildRequires: perl(Test::More) >= 0.80
BuildRequires: perl(Test::Script) >= 1.05
%endif %endif
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) 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 %description
File::Which is a portable implementation (in Perl) of 'which', and can File::Which is a portable implementation (in Perl) of 'which', and can
@ -51,6 +61,9 @@ make test
%changelog %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 * Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.09-18
- Perl 5.20 re-rebuild of bootstrapped packages - Perl 5.20 re-rebuild of bootstrapped packages