commit 0e1910f02a49c03aa5dc48407ac5d19fc570d613 Author: Petr Sabata <contyk@xxxxxxxxxx> Date: Tue Jul 26 15:05:48 2011 +0200 Add RPM 4.9 style filters perl-Kwiki-UserName.spec | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) --- diff --git a/perl-Kwiki-UserName.spec b/perl-Kwiki-UserName.spec index 19517eb..6226f6a 100644 --- a/perl-Kwiki-UserName.spec +++ b/perl-Kwiki-UserName.spec @@ -1,6 +1,6 @@ Name: perl-Kwiki-UserName Version: 0.14 -Release: 18%{?dist} +Release: 19%{?dist} Summary: Kwiki User Name Plugin License: GPL+ or Artistic Group: Development/Libraries @@ -17,10 +17,13 @@ Requires: perl(Kwiki) >= 0.37 Requires: perl(Kwiki::UserPreferences) >= 0.13 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 User Name plugin. @@ -55,6 +58,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Tue Jul 26 2011 Petr Sabata <contyk@xxxxxxxxxx> - 0.14-19 +- Add RPM 4.9 style filters + * Fri Jul 22 2011 Petr Sabata <contyk@xxxxxxxxxx> - 0.14-18 - 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