Specify all dependencies
It needs either ExtUtils::CBuilder or File::Spec. I kept the original way with File::Spec.
This commit is contained in:
parent
778f00dbd5
commit
820f44e606
@ -1,6 +1,6 @@
|
||||
Name: perl-Params-Util
|
||||
Version: 1.07
|
||||
Release: 10%{?dist}
|
||||
Release: 11%{?dist}
|
||||
Summary: Simple standalone parameter-checking functions
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
@ -8,17 +8,29 @@ URL: http://search.cpan.org/dist/Params-Util/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Params-Util-%{version}.tar.gz
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Requires: perl(Scalar::Util) >= 1.18
|
||||
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.52
|
||||
BuildRequires: perl(File::Spec) >= 0.82
|
||||
BuildRequires: perl(File::Spec::Functions)
|
||||
BuildRequires: perl(File::Temp)
|
||||
BuildRequires: perl(strict)
|
||||
# Run-time:
|
||||
BuildRequires: perl(DynaLoader)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(overload)
|
||||
BuildRequires: perl(Scalar::Util) >= 1.18
|
||||
BuildRequires: perl(vars)
|
||||
# Tests:
|
||||
BuildRequires: perl(Test::More) >= 0.47
|
||||
BuildRequires: perl(File::Spec::Functions)
|
||||
|
||||
%{?perl_default_filter}
|
||||
|
||||
# Remove under-specified dependencies
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Scalar::Util\\)$
|
||||
|
||||
%description
|
||||
Params::Util provides a basic set of importable functions that
|
||||
makes checking parameters a hell of a lot easier.
|
||||
@ -49,6 +61,9 @@ make test AUTOMATED_TESTING=1
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Thu Jan 15 2015 Petr Pisar <ppisar@redhat.com> - 1.07-11
|
||||
- Specify all dependencies
|
||||
|
||||
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.07-10
|
||||
- Perl 5.20 rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user