commit f7fa90cc6a82dec030ba9b6f346e681207aaa7d9
Author: Petr Pisar <ppi...@redhat.com>
Date:   Mon Jul 25 17:43:05 2011 +0200

    RPM 4.9 dependency filtering added

 perl-PathTools.spec |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/perl-PathTools.spec b/perl-PathTools.spec
index a8f0907..b8f47a4 100644
--- a/perl-PathTools.spec
+++ b/perl-PathTools.spec
@@ -1,6 +1,6 @@
 Name:           perl-PathTools
 Version:        3.33
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        PathTools Perl module (Cwd, File::Spec)
 License:        (GPL+ or Artistic) and BSD
 Group:          Development/Libraries
@@ -30,10 +30,13 @@ Requires:       perl(Scalar::Util)
 Requires:       perl(Test)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 
-%{?filter_setup:
+# RPM 4.8 style:
+%{?perl_default_filter:
 %filter_from_requires /^perl(VMS::Filespec)/d
-%{?perl_default_filter}
+%perl_default_filter
 }
+# RPM 4.9 style:
+%global %__requires_exclude 
%{?__requires_exclude:%__requires_exclude|}^perl\\(VMS::Filespec\\)
 
 %description
 PathTools Perl module (Cwd, File::Spec).
@@ -66,6 +69,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Mon Jul 25 2011 Petr Pisar <ppi...@redhat.com> - 3.33-4
+- RPM 4.9 dependency filtering added
+
 * Mon Jun 20 2011 Marcela Mašláňová <mmasl...@redhat.com> - 3.33-3
 - Perl mass rebuild
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-de...@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to