[perl-Class-Prototyped] RPM 4.9 dependency filtering added

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

 



commit 7d6203c465dcc7166341a8d9a92cfd3e75d1884e
Author: Petr Pisar <ppisar@xxxxxxxxxx>
Date:   Fri Jul 22 14:30:47 2011 +0200

    RPM 4.9 dependency filtering added

 perl-Class-Prototyped.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/perl-Class-Prototyped.spec b/perl-Class-Prototyped.spec
index efdfee8..cb93c9a 100644
--- a/perl-Class-Prototyped.spec
+++ b/perl-Class-Prototyped.spec
@@ -1,6 +1,6 @@
 Name:           perl-Class-Prototyped
 Version:        1.11
-Release:        10%{?dist}
+Release:        11%{?dist}
 Summary:        Fast prototype-based OO programming in Perl
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -21,12 +21,17 @@ have objects inherit their behavior and state from another object.
 %prep
 %setup -q -n Class-Prototyped-%{version}
 
+# RPM 4.8 style
 %{?filter_setup:
 %filter_from_provides /^perl(My[^)]*Class)$/g
 %filter_from_requires /^perl(Class::Prototyped::Graph)$/g
 %filter_requires_in %{_docdir}/examples
 %filter_setup
 }
+# RPM 4.9 style
+%global __provides_exclude %{?__provides_exclude?__provides_exclude|}^perl\\(My[^\\)]*Class\\)$
+%global __requires_exclude %{?__requires_exclude?__requires_exclude|}^perl\\(Class::Prototyped::Graph\\)$
+%global __requires_exclude_from %{?__requires_exclude_from?__requires_exclude_from|}%{_docdir}/examples
 
 # Documentation and libraries should not be executable
 chmod -x perf/* examples/* Changes lib/Class/*.pm lib/Class/Prototyped/*
@@ -57,6 +62,9 @@ rm -rf %{buildroot}
 %{_mandir}/man3/*
 
 %changelog
+* Fri Jul 22 2011 Petr Pisar <ppisar@xxxxxxxxxx> - 1.11-11
+- RPM 4.9 dependency filtering added
+
 * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 1.11-10
 - 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