commit 7c7f413e977ba57b73c1dc2d9574763fa34e1f62 Author: Marcela Mašláňová <mmaslano@xxxxxxxxxx> Date: Mon Jul 25 18:28:55 2011 +0200 add new filter for rpm 4.9 perl-PPI-PowerToys.spec | 18 ++++++++++++++---- 1 files changed, 14 insertions(+), 4 deletions(-) --- diff --git a/perl-PPI-PowerToys.spec b/perl-PPI-PowerToys.spec index 2a6c0af..dded1d7 100644 --- a/perl-PPI-PowerToys.spec +++ b/perl-PPI-PowerToys.spec @@ -1,6 +1,6 @@ Name: perl-PPI-PowerToys Version: 0.14 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Handy collection of small PPI-based utilities License: GPL+ or Artistic Group: Development/Libraries @@ -22,16 +22,23 @@ BuildRequires: perl(Test::More) >= 0.47 BuildRequires: perl(Test::Script) >= 1.03 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -# Remove underspecified dependecies -%{?filter_setup: +# Remove underspecified dependecies in RPM 4.8 filter +%{?perl_default_filter: %filter_from_requires /^perl(File::Find::Rule)\s*$/d %filter_from_requires /^perl(File::Find::Rule::Perl)\s*$/d %filter_from_requires /^perl(File::Spec)\s*$/d %filter_from_requires /^perl(Getopt::Long)\s*$/d %filter_from_requires /^perl(PPI::Document)\s*$/d %filter_from_requires /^perl(version)\s*$/d -%filter_setup +%perl_default_filter } +# RPM 4.9 filter style +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(File::Find::Rule\\)\\s*$ +%global __requires_exclude %__requires_exclude|perl\\(File::Find::Rule::Perl\\)\\s*$ +%global __requires_exclude %__requires_exclude|perl\\(File::Spec\\)\\s*$ +%global __requires_exclude %__requires_exclude|perl\\(Getopt::Long\\)\\s*$ +%global __requires_exclude %__requires_exclude|perl\\(PPI::Document\\)\\s*$ +%global __requires_exclude %__requires_exclude|perl\\(version\\)\\s*$ %description The PPI PowerToys are a small collection of utilities for working with Perl @@ -60,6 +67,9 @@ make test %{_mandir}/man3/* %changelog +* Mon Jul 25 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 0.14-3 +- add new filter for rpm 4.9 + * Wed Jul 20 2011 Petr Sabata <contyk@xxxxxxxxxx> - 0.14-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