commit ee881d57d16876838229b1be5b40d054a63b3be6
Author: Petr Pisar <ppi...@redhat.com>
Date:   Mon Jul 25 16:46:06 2011 +0200

    RPM 4.9 dependency filtering added

 perl-MogileFS-Utils.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/perl-MogileFS-Utils.spec b/perl-MogileFS-Utils.spec
index c8e552b..cea64aa 100644
--- a/perl-MogileFS-Utils.spec
+++ b/perl-MogileFS-Utils.spec
@@ -2,7 +2,7 @@
 
 Name:           perl-%{libname}
 Version:        2.20
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Utilities for MogileFS
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -18,9 +18,12 @@ Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} 
-V:version`"; echo $versi
 Requires:       perl(MogileFS::Client) >= 1.14
 
 # Remove under-specified dependencies
+# RPM 4.8 style:
 %{?filter_setup:
 %filter_from_requires /^perl(MogileFS::Client)$/d
 %filter_setup}
+# RPM 4.9 style:
+%global __requires_exclude 
%{?__requires_exclude:%__requires_exclude|}^perl\\(MogileFS::Client\\)$
 
 %description
 Utilities for the MogileFS distributed storage system.
@@ -49,6 +52,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Mon Jul 25 2011 Petr Pisar <ppi...@redhat.com> - 2.20-3
+- RPM 4.9 dependency filtering added
+
 * Tue Jul 19 2011 Petr Sabata <con...@redhat.com> - 2.20-2
 - 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