commit b52e524dd0272545c22b4cbffba370ed6c5f375a Author: Petr Sabata <contyk@xxxxxxxxxx> Date: Tue Jul 26 15:07:11 2011 +0200 Add RPM 4.9 style filters perl-Kwiki-Raw.spec | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) --- diff --git a/perl-Kwiki-Raw.spec b/perl-Kwiki-Raw.spec index 7eea5ad..4243b5c 100644 --- a/perl-Kwiki-Raw.spec +++ b/perl-Kwiki-Raw.spec @@ -1,6 +1,6 @@ Name: perl-Kwiki-Raw Version: 0.02 -Release: 17%{?dist} +Release: 18%{?dist} Summary: Provide an action to retrieve the raw wikitext of a page 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 module that provides an action to retrieve the raw wikitext of a page. @@ -53,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Tue Jul 26 2011 Petr Sabata <contyk@xxxxxxxxxx> - 0.02-18 +- Add RPM 4.9 style filters + * Fri Jul 22 2011 Petr Sabata <contyk@xxxxxxxxxx> - 0.02-17 - 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