commit 246320d44ae6b3a7fa975c23005d21e03d924534 Author: Petr Pisar <ppisar@xxxxxxxxxx> Date: Tue Jul 26 13:27:33 2011 +0200 RPM 4.9 dependency filtering added perl-Perl-Critic-Deprecated.spec | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) --- diff --git a/perl-Perl-Critic-Deprecated.spec b/perl-Perl-Critic-Deprecated.spec index c434378..b3c2367 100644 --- a/perl-Perl-Critic-Deprecated.spec +++ b/perl-Perl-Critic-Deprecated.spec @@ -1,6 +1,6 @@ Name: perl-Perl-Critic-Deprecated Version: 1.108 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Perl::Critic policies which have been superseded by others License: GPL+ or Artistic Group: Development/Libraries @@ -24,9 +24,13 @@ Requires: perl(Perl::Critic::Policy) >= 1.094 Requires: perl(Perl::Critic::Utils) >= 1.094 # Filter underspecified dependecies +# RPM 4.8 style: %filter_from_requires /^perl(Perl::Critic::Policy)$/d %filter_from_requires /^perl(Perl::Critic::Utils)$/d %filter_setup +# RPM 4.9 style: +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Perl::Critic::Policy\\)$ +%global __requires_exclude %__requires_exclude|^perl\\(Perl::Critic::Utils\\)$ %description The included policies are: @@ -55,6 +59,9 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_mandir}/man3/* %changelog +* Tue Jul 26 2011 Petr Pisar <ppisar@xxxxxxxxxx> - 1.108-3 +- RPM 4.9 dependency filtering added + * Tue Jul 19 2011 Petr Sabata <contyk@xxxxxxxxxx> - 1.108-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