[perl-MooseX-Types-DateTimeX] RPM 4.9 dependency filtering added

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

 



commit b98ad0e4ac9251c7ef89f1e8b00a81a0cfd4aba8
Author: Petr Pisar <ppisar@xxxxxxxxxx>
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 <ppisar@xxxxxxxxxx> - 0.10-5
+- RPM 4.9 dependency filtering added
+
 * Wed Jul 20 2011 Petr Sabata <contyk@xxxxxxxxxx> - 0.10-4
 - 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