commit 99bc6cfc19f5be2674f306a71b60aaab2f38c185 Author: Petr Pisar <ppisar@xxxxxxxxxx> Date: Mon Jul 25 12:43:55 2011 +0200 RPM 4.9 dependency filtering added perl-File-PathList.spec | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) --- diff --git a/perl-File-PathList.spec b/perl-File-PathList.spec index 2518cf1..075b18e 100644 --- a/perl-File-PathList.spec +++ b/perl-File-PathList.spec @@ -1,6 +1,6 @@ Name: perl-File-PathList Version: 1.04 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Find a file within a set of paths (like @INC or Java classpaths) License: GPL+ or Artistic Group: Development/Libraries @@ -19,9 +19,14 @@ Requires: perl(File::Spec) >= 0.80 Requires: perl(Params::Util) >= 0.24 # Remove underspecified dependencies +# RPM 4.8 style: %filter_from_requires /^perl(File::Spec)\s*$/d %filter_from_requires /^perl(Params::Util)\s*$/d %filter_setup +# RPM 4.9 style: +%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(File::Spec\\)\\s*$ +%global __requires_exclude %__requires_exclude|^perl\\(Params::Util\\)\\s*$ + %description Many systems that map generic relative paths to absolute paths do so with a @@ -54,6 +59,9 @@ make test %{_mandir}/man3/* %changelog +* Mon Jul 25 2011 Petr Pisar <ppisar@xxxxxxxxxx> - 1.04-3 +- RPM 4.9 dependency filtering added + * Tue Jun 21 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 1.04-2 - Perl mass rebuild -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel