- Switch to using perl-filters/Abandon filter-requires.sh

(Work around mass rebuild breakdown).
This commit is contained in:
Ralf Corsépius 2011-02-14 17:39:15 +01:00
parent 8274c7a168
commit e5b643e433
2 changed files with 9 additions and 7 deletions

View File

@ -1,3 +0,0 @@
#!/bin/sh
/usr/lib/rpm/perl.req $* |
sed -e 's/perl(DateTime) >= 0.1705/perl(DateTime) >= 0.18/'

View File

@ -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@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@lists.fedoraproject.org> - 0.3001-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild