commit ab23b4132ec3e9c7dd4c28f0e49df4e210359268 Author: Marcela Mašláňová <mmaslano@xxxxxxxxxx> Date: Tue Jul 26 10:27:38 2011 +0200 add RPM4.9 macro filter perl-Perl-Critic-Swift.spec | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) --- diff --git a/perl-Perl-Critic-Swift.spec b/perl-Perl-Critic-Swift.spec index bac1cfd..31eec98 100644 --- a/perl-Perl-Critic-Swift.spec +++ b/perl-Perl-Critic-Swift.spec @@ -1,6 +1,6 @@ Name: perl-Perl-Critic-Swift Version: 1.0.3 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Set of additional policies for Perl::Critic License: GPL+ or Artistic Group: Development/Libraries @@ -31,6 +31,11 @@ Requires: perl(Perl::Critic::Utils) >= 1.082 # Export not detected versions: $VERSION = qv('v%%{version}') %filter_from_provides s/^\(perl(Perl::Critic::[^=]*)$\)/\1 = %{version}/ %filter_setup +# RPM 4.9 filter +%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 __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(Perl::Critic::[^=]*)$\)/\1 = %{version} %description Some Perl::Critic policies to make your code more clean. The included @@ -61,6 +66,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.0.3-5 +- add RPM4.9 macro filter + * Thu Jul 21 2011 Petr Sabata <contyk@xxxxxxxxxx> - 1.0.3-4 - 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