Filter underspecified deps.

This commit is contained in:
Ralf Corsépius 2014-08-28 09:54:14 +02:00
parent c30a8962c6
commit 79b00022a3

View File

@ -1,6 +1,6 @@
Name: perl-Perl-MinimumVersion
Version: 1.38
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Find a minimum required version of perl for Perl code
License: GPL+ or Artistic
Group: Development/Libraries
@ -33,6 +33,12 @@ BuildRequires: perl(Test::More) >= 0.47
BuildRequires: perl(Test::Script) >= 1.03
%endif
%{?perl_default_filter}
# Remove under-specified dependencies
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(version\\)$
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Params::Util\\)$
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl >= 0:5.005$
%description
Find a minimum required version of perl for Perl code
@ -61,6 +67,9 @@ make test
%{_mandir}/man3/*
%changelog
* Thu Aug 28 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.38-2
- Filter underspecified deps.
* Thu Aug 28 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.38-1
- Upstream update.