diff --git a/perl-Perl-MinimumVersion.spec b/perl-Perl-MinimumVersion.spec index 8981b84..dd75c32 100644 --- a/perl-Perl-MinimumVersion.spec +++ b/perl-Perl-MinimumVersion.spec @@ -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 - 1.38-2 +- Filter underspecified deps. + * Thu Aug 28 2014 Ralf Corsépius - 1.38-1 - Upstream update.