[perl-DateTime-Format-Mail] - Switch to using perl-filters/Abandon filter-requires.sh (Work around mass rebuild breakdown).

corsepiu corsepiu at fedoraproject.org
Mon Feb 14 16:39:25 UTC 2011


commit e5b643e43306b9175826ac06494c46ec72176ce4
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Mon Feb 14 17:39:15 2011 +0100

    - Switch to using perl-filters/Abandon filter-requires.sh
      (Work around mass rebuild breakdown).

 filter-requires.sh             |    3 ---
 perl-DateTime-Format-Mail.spec |   13 +++++++++----
 2 files changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/perl-DateTime-Format-Mail.spec b/perl-DateTime-Format-Mail.spec
index 7141232..46b7576 100644
--- a/perl-DateTime-Format-Mail.spec
+++ b/perl-DateTime-Format-Mail.spec
@@ -1,6 +1,6 @@
 Name:           perl-DateTime-Format-Mail
 Version:        0.3001        
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        Convert between DateTime and RFC2822/822 formats
 
 Group:          Development/Libraries
@@ -18,9 +18,10 @@ BuildRequires:  perl(File::Find::Rule)
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 # DateTime >= 0.1705 plays havoc with rpm's versioning system
-Source99: filter-requires.sh
-%define __perl_requires %{SOURCE99}
-
+%{?filter_setup:
+%filter_from_requires s/^perl(DateTime).*/perl(DateTime) >= 0.18/
+%{?perl_default_filter}
+}
 
 %description
 RFCs 2822 and 822 specify date formats to be used by email. This module parses
@@ -76,6 +77,10 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Mon Feb 14 2011 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.3001-10
+- Switch to using perl-filters/Abandon filter-requires.sh 
+  (Work around mass rebuild breakdown).
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3001-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 



More information about the perl-devel mailing list