[perl-DateTime] add rpm 4.9 filtering macros

Iain Arnell iarnell at fedoraproject.org
Mon Jul 4 04:53:09 UTC 2011


commit 2815e75fc30244e4d6c9f864b1069c3bd3d5aa5a
Author: Iain Arnell <iarnell at gmail.com>
Date:   Mon Jul 4 06:28:14 2011 +0200

    add rpm 4.9 filtering macros

 perl-DateTime.spec |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/perl-DateTime.spec b/perl-DateTime.spec
index 641bf39..31297af 100644
--- a/perl-DateTime.spec
+++ b/perl-DateTime.spec
@@ -47,6 +47,9 @@ Provides:       perl(DateTimePPExtra)
 %?perl_default_filter
 }
 
+%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(DateTime\\)$
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Win32
+
 %description
 DateTime is a class for the representation of date/time combinations, and
 is part of the Perl DateTime project. For details on this project please
@@ -152,6 +155,7 @@ rm -rf $RPM_BUILD_ROOT
 %changelog
 * Mon Jul 04 2011 Iain Arnell <iarnell at gmail.com> 1:0.7000-2
 - update DateTime::TimeZone to 1.35 (Olson 2011h)
+- add rpm 4.9 filtering macros
 
 * Fri May 13 2011 Iain Arnell <iarnell at gmail.com> 1:0.7000-1
 - update DateTime to 0.70


More information about the scm-commits mailing list