commit b98ad0e4ac9251c7ef89f1e8b00a81a0cfd4aba8
Author: Petr Pisar <ppi...@redhat.com>
Date:   Mon Jul 25 17:16:47 2011 +0200

    RPM 4.9 dependency filtering added

 perl-MooseX-Types-DateTimeX.spec |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/perl-MooseX-Types-DateTimeX.spec b/perl-MooseX-Types-DateTimeX.spec
index da0e36e..74db12c 100644
--- a/perl-MooseX-Types-DateTimeX.spec
+++ b/perl-MooseX-Types-DateTimeX.spec
@@ -1,6 +1,6 @@
 Name:           perl-MooseX-Types-DateTimeX
 Version:        0.10
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Extensions to MooseX::Types::DateTime::ButMaintained
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -30,11 +30,17 @@ Requires:       perl(namespace::clean) >= 0.08
 Requires:       perl(Time::Duration::Parse) >= 0.06
 Conflicts:      perl(MooseX::Types::DateTime) < 0.05
 
+# RPM 4.8 style:
 %filter_from_requires /^perl(DateTimeX::Easy)$/d
 %filter_from_requires /^perl(MooseX::Types::DateTime::ButMaintained)$/d
 %filter_from_requires /^perl(namespace::clean)$/d
 %filter_from_requires /^perl(Time::Duration::Parse)$/d
 %filter_setup
+# RPM 4.9 style:
+%global __requires_exclude 
%{?__requires_exclude:%__requires_exclude|}^perl\\(DateTimeX::Easy\\)$
+%global __requires_exclude 
%__requires_exclude|^perl\\(MooseX::Types::DateTime::ButMaintained\\)$
+%global __requires_exclude %__requires_exclude|^perl\\(namespace::clean\\)$
+%global __requires_exclude 
%__requires_exclude|^perl\\(Time::Duration::Parse\\)$
 
 %description
 This module builds on MooseX::Types::DateTime to add additional custom
@@ -71,6 +77,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Mon Jul 25 2011 Petr Pisar <ppi...@redhat.com> - 0.10-5
+- RPM 4.9 dependency filtering added
+
 * Wed Jul 20 2011 Petr Sabata <con...@redhat.com> - 0.10-4
 - 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