From 6f60069398b4eff97aef5908d9419633167c0243 Mon Sep 17 00:00:00 2001 From: corsepiu Date: Fri, 27 Feb 2009 07:40:26 +0000 Subject: [PATCH] - Adjust minimum perl version in META.yml (Add File-Find-Rule-Perl-1.04.diff). --- File-Find-Rule-Perl-1.04.diff | 10 ++++++++++ perl-File-Find-Rule-Perl.spec | 8 +++++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 File-Find-Rule-Perl-1.04.diff diff --git a/File-Find-Rule-Perl-1.04.diff b/File-Find-Rule-Perl-1.04.diff new file mode 100644 index 0000000..5f09483 --- /dev/null +++ b/File-Find-Rule-Perl-1.04.diff @@ -0,0 +1,10 @@ +diff -Naur File-Find-Rule-Perl-1.04.orig/META.yml File-Find-Rule-Perl-1.04/META.yml +--- File-Find-Rule-Perl-1.04.orig/META.yml 2008-05-14 12:28:07.000000000 +0200 ++++ File-Find-Rule-Perl-1.04/META.yml 2009-02-27 08:27:07.000000000 +0100 +@@ -19,5 +19,5 @@ + - t + requires: + File::Find::Rule: 0.20 +- perl: 5.005 ++ perl: 5.00503 + version: 1.04 diff --git a/perl-File-Find-Rule-Perl.spec b/perl-File-Find-Rule-Perl.spec index 933c0e4..d5f6b55 100644 --- a/perl-File-Find-Rule-Perl.spec +++ b/perl-File-Find-Rule-Perl.spec @@ -1,11 +1,13 @@ Name: perl-File-Find-Rule-Perl Version: 1.04 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Common rules for searching for Perl things License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/File-Find-Rule-Perl/ Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/File-Find-Rule-Perl-%{version}.tar.gz +# META.yml has wrong minimum perl version +Patch0: File-Find-Rule-Perl-1.04.diff BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) @@ -25,6 +27,7 @@ Common rules for searching for Perl things. %prep %setup -q -n File-Find-Rule-Perl-%{version} +%patch0 -p1 %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -50,6 +53,9 @@ make test AUTOMATED_TESTING=1 %{_mandir}/man3/* %changelog +* Fri Feb 27 2009 Ralf Corsépius - 1.04-4 +- Adjust minimum perl version in META.yml (Add File-Find-Rule-Perl-1.04.diff). + * Thu Feb 26 2009 Fedora Release Engineering - 1.04-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild