[perl-Kwiki-UserPreferences] Add RPM 4.9 style filters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit b40f91e83382c2d05f0d87b67147ff278bf4b7a5
Author: Petr Sabata <contyk@xxxxxxxxxx>
Date:   Tue Jul 26 14:59:28 2011 +0200

    Add RPM 4.9 style filters

 perl-Kwiki-UserPreferences.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/perl-Kwiki-UserPreferences.spec b/perl-Kwiki-UserPreferences.spec
index 50c5524..4c21e4e 100644
--- a/perl-Kwiki-UserPreferences.spec
+++ b/perl-Kwiki-UserPreferences.spec
@@ -1,6 +1,6 @@
 Name:           perl-Kwiki-UserPreferences
 Version:        0.13
-Release:        17%{?dist}
+Release:        18%{?dist}
 Summary:        Kwiki User Preferences 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 User Preferences plugin.
@@ -53,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jul 26 2011 Petr Sabata <contyk@xxxxxxxxxx> - 0.13-18
+- Add RPM 4.9 style filters
+
 * Fri Jul 22 2011 Petr Sabata <contyk@xxxxxxxxxx> - 0.13-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


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux