[perl-CHI] RPM 4.9 dependency filtering added

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

 



commit 3ed5ffe88661b931119fc068dca312777ff7970d
Author: Petr Pisar <ppisar@xxxxxxxxxx>
Date:   Fri Jul 22 15:00:21 2011 +0200

    RPM 4.9 dependency filtering added

 perl-CHI.spec |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/perl-CHI.spec b/perl-CHI.spec
index 00305b2..76200a7 100644
--- a/perl-CHI.spec
+++ b/perl-CHI.spec
@@ -1,6 +1,6 @@
 Name:           perl-CHI
 Version:        0.44
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Unified cache handling interface
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -58,6 +58,7 @@ Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi
 
 %{?perl_filter_default}
 
+# RPM 4.8 style
 %{?filter_setup:
 %filter_from_provides /^perl(Bar)/d
 %filter_from_provides /^perl(Baz)/d
@@ -72,6 +73,12 @@ Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi
 %filter_from_requires s/^perl(Time::Duration::Parse)$/perl(Time::Duration::Parse) >= 0.03/
 %filter_setup
 }
+# RPM 4.9 style
+%global __provides_exclude %{?__provides_exclude:__provides_exclude|}^perl\\(Bar\\)
+%global __provides_exclude %__provides_exclude|^perl\\(DummySerializer\\)
+%global __provides_exclude %__provides_exclude|^perl\\(Foo\\)
+# Replace unversioned dependencies with versioned ones.
+# Already auto-discovered. In addition, RPM 4.9 does not offer replacing.
 
 %description
 CHI provides a unified caching API, designed to assist a developer in
@@ -136,6 +143,9 @@ make test %{?with_author_tests:AUTHOR_TESTING=1} %{?with_smoke_tests:AUTOMATED_T
 %{perl_vendorlib}/CHI/Test*
 
 %changelog
+* Fri Jul 22 2011 Petr Pisar <ppisar@xxxxxxxxxx> - 0.44-6
+- RPM 4.9 dependency filtering added
+
 * Thu Jul 21 2011 Petr Sabata <contyk@xxxxxxxxxx> - 0.44-5
 - 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