[perl-App-cpanminus] RPM 4.9 dependency filtering added

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

 



commit e455b1e3163fc847a9fee2a8a6b6f1ebd1c7d06e
Author: Petr Pisar <ppisar@xxxxxxxxxx>
Date:   Fri Jul 22 13:39:25 2011 +0200

    RPM 4.9 dependency filtering added

 perl-App-cpanminus.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/perl-App-cpanminus.spec b/perl-App-cpanminus.spec
index aa0f741..eb87313 100644
--- a/perl-App-cpanminus.spec
+++ b/perl-App-cpanminus.spec
@@ -1,6 +1,6 @@
 Name:           perl-App-cpanminus
 Version:        1.4008
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Library for get, unpack, build and install CPAN modules
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -27,10 +27,13 @@ Requires:       perl(YAML)
 Provides:       cpanminus = %{version}-%{release}
 Obsoletes:      cpanminus <= 1.2002
 
+# RPM 4.8 style
 %{?filter_setup:
 %filter_from_requires /^perl(App::cpanminus::script)$/d
 %?perl_default_filter
 }
+# RPM 4.9 style
+%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(App::cpanminus::script\\)$
 
 %description
 Why? It's dependency free, requires zero configuration, and stands alone 
@@ -62,6 +65,9 @@ make test
 %{_bindir}/cpanm
 
 %changelog
+* Fri Jul 22 2011 Petr Pisar <ppisar@xxxxxxxxxx> - 1.4008-3
+- RPM 4.9 dependency filtering added
+
 * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 1.4008-2
 - 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