[perl-Kwiki-Users-Remote] Add RPM 4.9 style filters

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

 



commit c4fd09ffee745e1b69b912f3552c0b68a7ccccb9
Author: Petr Sabata <contyk@xxxxxxxxxx>
Date:   Tue Jul 26 15:14:03 2011 +0200

    Add RPM 4.9 style filters

 perl-Kwiki-Users-Remote.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/perl-Kwiki-Users-Remote.spec b/perl-Kwiki-Users-Remote.spec
index 0a38771..48600e8 100644
--- a/perl-Kwiki-Users-Remote.spec
+++ b/perl-Kwiki-Users-Remote.spec
@@ -1,6 +1,6 @@
 Name:           perl-Kwiki-Users-Remote
 Version:        0.04
-Release:        14%{?dist}
+Release:        15%{?dist}
 Summary:        Automatically set Kwiki user name from HTTP authentication
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -22,10 +22,13 @@ Requires:       perl(Kwiki::UserName) >= 0.14
 Requires:       perl(Kwiki::Users)
 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
 When using HTTP authentication for your Kwiki, use this module to
@@ -63,6 +66,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jul 26 2011 Petr Sabata <contyk@xxxxxxxxxx> - 0.04-15
+- Add RPM 4.9 style filters
+
 * Tue Jul 19 2011 Petr Sabata <contyk@xxxxxxxxxx> - 0.04-14
 - 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


[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