- Let META.yml require perl 5.006 (Fix perl-5.12.0 build breakdown).

- Revert 2010-05-01 changes.
This commit is contained in:
corsepiu 2010-05-09 05:49:06 +00:00
parent 11cf72a616
commit bd4c3c703c
2 changed files with 19 additions and 4 deletions

12
File-Remove-1.42.diff Normal file
View File

@ -0,0 +1,12 @@
diff -Naur File-Remove-1.42.orig/META.yml File-Remove-1.42/META.yml
--- File-Remove-1.42.orig/META.yml 2008-07-10 09:11:55.000000000 +0200
+++ File-Remove-1.42/META.yml 2010-05-09 07:39:55.000000000 +0200
@@ -21,7 +21,7 @@
File::Glob: 0
File::Path: 0
File::Spec: 0.80
- perl: 5.005
+ perl: 5.006
resources:
license: http://dev.perl.org/licenses/
version: 1.42

View File

@ -1,11 +1,12 @@
Name: perl-File-Remove
Version: 1.42
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Convenience module for removing files and directories
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/File-Remove/
Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/File-Remove-%{version}.tar.gz
Patch0: File-Remove-1.42.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@ -28,6 +29,7 @@ BuildArch: noarch
%prep
%setup -q -n File-Remove-%{version}
%patch0 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@ -44,9 +46,6 @@ chmod -R u+w $RPM_BUILD_ROOT/*
rm -rf $RPM_BUILD_ROOT
%check
# remove until fix of Perl::MinimalVersion and version.pm
rm -rf t/99_pmv.t
make test AUTOMATED_TESTING=1
%files
@ -56,6 +55,10 @@ make test AUTOMATED_TESTING=1
%{_mandir}/man3/*
%changelog
* Sun May 09 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.42-6
- Let META.yml require perl 5.006 (Fix perl-5.12.0 build breakdown).
- Revert 2010-05-01 changes.
* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.42-5
- Mass rebuild with perl-5.12.0