commit f288eb08581387494f0ec7a5a1047ac23f7be35c Author: Marcela Mašláňová <mmaslano@xxxxxxxxxx> Date: Tue Jul 26 10:31:57 2011 +0200 add RPM4.9 macro filter perl-Perl-Critic-Pulp.spec | 20 +++++++++++++++++++- 1 files changed, 19 insertions(+), 1 deletions(-) --- diff --git a/perl-Perl-Critic-Pulp.spec b/perl-Perl-Critic-Pulp.spec index d48a07e..221cdad 100644 --- a/perl-Perl-Critic-Pulp.spec +++ b/perl-Perl-Critic-Pulp.spec @@ -1,6 +1,6 @@ Name: perl-Perl-Critic-Pulp Version: 61 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Some add-on perlcritic policies License: GPLv3+ Group: Development/Libraries @@ -46,6 +46,7 @@ Requires: perl(PPI::Document) # code. Requires: perl(Test::More) +# filter for RPM 4.8 # Filter underspecified dependencies %filter_from_requires /^perl(List::MoreUtils)$/d %filter_from_requires /^perl(Perl::Critic::Policy)$/d @@ -63,6 +64,20 @@ Requires: perl(Test::More) %filter_from_provides /^perl(Perl::Critic::Pulp::PodParser::ProhibitUnbalancedParens)\s*/d %filter_from_provides /^perl(Perl::Critic::Pulp::PodParser::RequireLinkedURLs)\s*/d %filter_setup +# filter for RPM 4.9 +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(List::MoreUtils\\)\\s*$ +%global __requires_exclude %__requires_exclude|perl\\(Perl::Critic::Policy\\)\\s*$ +%global __requires_exclude %__requires_exclude|perl\\(Perl::Critic::Utils\\)\\s*$ +%global __requires_exclude %__requires_exclude|perl\\(Perl::Critic::Utils\\) >= 0\\.21$ +%global __requires_exclude %__requires_exclude|perl\\(Perl::Critic::PodParser::ProhibitVerbatimMarkup\\)\\s*$ +%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(Perl::MinimumVersion\\)\\s*$ +%global __provides_exclude %__provides_exclude|perl\\(Perl::Critic::PodParser::ProhibitVerbatimMarkup\\)\\s*$ +%global __provides_exclude %__provides_exclude|perl\\(Perl::Critic::Policy::Documentation::ProhibitAdjacentLinks::Parser\\)\\s*$ +%global __provides_exclude %__provides_exclude|perl\\(Perl::Critic::Pulp::PodMinimumVersionViolation\\)\\s*$ +%global __provides_exclude %__provides_exclude|perl\\(Perl::Critic::Pulp::PodParser::ProhibitBadAproposMarkup\\)\\s*$ +%global __provides_exclude %__provides_exclude|perl\\(Perl::Critic::Pulp::PodParser::ProhibitParagraphTwoDots\\)\\s*$ +%global __provides_exclude %__provides_exclude|perl\\(Perl::Critic::Pulp::PodParser::ProhibitUnbalancedParens\\)\\s*$ +%global __provides_exclude %__provides_exclude|perl\\(Perl::Critic::Pulp::PodParser::RequireLinkedURLs\\)\\s*$ %description This is a collection of add-on policies for Perl::Critic. They're under @@ -92,6 +107,9 @@ make test %{_mandir}/man3/* %changelog +* Tue Jul 26 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 61-3 +- add RPM4.9 macro filter + * Tue Jul 19 2011 Petr Sabata <contyk@xxxxxxxxxx> - 61-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