commit cdbe74fcc5201c65bafc08863922ef598681c91a Author: Marcela Mašláňová <mmaslano@xxxxxxxxxx> Date: Tue Jul 26 10:39:33 2011 +0200 add RPM4.9 macro filter perl-Perl-Critic-More.spec | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) --- diff --git a/perl-Perl-Critic-More.spec b/perl-Perl-Critic-More.spec index bce5d90..a5ab920 100644 --- a/perl-Perl-Critic-More.spec +++ b/perl-Perl-Critic-More.spec @@ -1,6 +1,6 @@ Name: perl-Perl-Critic-More Version: 1.000 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Supplemental policies for Perl::Critic License: GPL+ or Artistic Group: Development/Libraries @@ -26,9 +26,11 @@ Requires: perl(Perl::Critic) >= 1.082 Requires: perl(Perl::MinimumVersion) >= 0.14 Requires: perl(Readonly) >= 1.03 -# Remove underspecified dependencies +# Remove underspecified dependencies for RPM 4.8 %filter_from_requires /^perl(Readonly)\s*$/d %filter_setup +# filter for RPM 4.9 +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Readonly\\)\\s*$ %description This is a collection of Perl::Critic policies that are not included in the @@ -56,6 +58,9 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_mandir}/man3/* %changelog +* Tue Jul 26 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 1.000-3 +- add RPM4.9 macro filter + * Tue Jul 19 2011 Petr Sabata <contyk@xxxxxxxxxx> - 1.000-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