commit 05a07d0cf7350e39a8ba3b18dad301877b62dc91 Author: Petr Sabata <contyk@xxxxxxxxxx> Date: Tue Jul 26 15:02:48 2011 +0200 Add RPM 4.9 style filters perl-Kwiki-RecentChanges.spec | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) --- diff --git a/perl-Kwiki-RecentChanges.spec b/perl-Kwiki-RecentChanges.spec index db43cf6..bbd6b68 100644 --- a/perl-Kwiki-RecentChanges.spec +++ b/perl-Kwiki-RecentChanges.spec @@ -1,6 +1,6 @@ Name: perl-Kwiki-RecentChanges Version: 0.14 -Release: 16%{?dist} +Release: 17%{?dist} Summary: Kwiki Recent Changes Plugin License: GPL+ or Artistic Group: Development/Libraries @@ -15,10 +15,13 @@ BuildRequires: perl(Kwiki) >= 0.37 Requires: perl(Kwiki) >= 0.37 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +# RPM 4.8 style %{?filter_setup: %filter_from_requires /^perl(mixin)/d %{?perl_default_filter} } +# RPM 4.9 style +%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(mixin\\)$ %description Kwiki Recent Changes plugin. @@ -53,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Tue Jul 26 2011 Petr Sabata <contyk@xxxxxxxxxx> - 0.14-17 +- Add RPM 4.9 style filters + * Fri Jul 22 2011 Petr Sabata <contyk@xxxxxxxxxx> - 0.14-16 - BuildRequire IO::All -- 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