Upstream update.
Add File-Remove-1.49.diff/Remove File-Remove-1.46.diff. Spec file cleanup.
This commit is contained in:
parent
a69dbf44df
commit
557b967d66
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
File-Remove-1.42.tar.gz
|
||||
/File-Remove-1.46.tar.gz
|
||||
/File-Remove-1.49.tar.gz
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
diff -Naur File-Remove-1.46.orig/lib/File/Remove.pm File-Remove-1.46/lib/File/Remove.pm
|
||||
--- File-Remove-1.46.orig/lib/File/Remove.pm 2011-02-18 04:31:02.000000000 +0100
|
||||
+++ File-Remove-1.46/lib/File/Remove.pm 2011-02-18 07:54:53.372007128 +0100
|
||||
@@ -16,8 +16,8 @@
|
||||
diff -Naur File-Remove-1.49.orig/lib/File/Remove.pm File-Remove-1.49/lib/File/Remove.pm
|
||||
--- File-Remove-1.49.orig/lib/File/Remove.pm 2011-03-14 01:32:09.000000000 +0100
|
||||
+++ File-Remove-1.49/lib/File/Remove.pm 2011-03-28 13:18:33.762791382 +0200
|
||||
@@ -17,8 +17,8 @@
|
||||
|
||||
use File::Path ();
|
||||
use File::Glob ();
|
||||
@ -12,9 +12,9 @@ diff -Naur File-Remove-1.46.orig/lib/File/Remove.pm File-Remove-1.46/lib/File/Re
|
||||
|
||||
sub expand (@) {
|
||||
map { -e $_ ? $_ : File::Glob::bsd_glob($_) } @_;
|
||||
diff -Naur File-Remove-1.46.orig/META.yml File-Remove-1.46/META.yml
|
||||
--- File-Remove-1.46.orig/META.yml 2011-02-18 04:31:21.000000000 +0100
|
||||
+++ File-Remove-1.46/META.yml 2011-02-18 07:54:53.370007098 +0100
|
||||
diff -Naur File-Remove-1.49.orig/META.yml File-Remove-1.49/META.yml
|
||||
--- File-Remove-1.49.orig/META.yml 2011-03-14 01:32:31.000000000 +0100
|
||||
+++ File-Remove-1.49/META.yml 2011-03-28 13:18:33.763791384 +0200
|
||||
@@ -21,8 +21,8 @@
|
||||
- t
|
||||
- xt
|
||||
@ -1,16 +1,15 @@
|
||||
Name: perl-File-Remove
|
||||
Version: 1.46
|
||||
Name: perl-File-Remove
|
||||
Version: 1.49
|
||||
Release: 1%{?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
|
||||
URL: http://search.cpan.org/dist/File-Remove/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/File-Remove-%{version}.tar.gz
|
||||
# Perl versions are causing havoc to rpm versions
|
||||
Patch0: File-Remove-%{version}.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Test::More) >= 0.42
|
||||
@ -18,7 +17,7 @@ BuildRequires: perl(File::Spec) >= 3.28
|
||||
BuildRequires: perl(File::Path)
|
||||
BuildRequires: perl(File::Glob)
|
||||
|
||||
BuildArch: noarch
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
%{summary}
|
||||
@ -32,17 +31,13 @@ BuildArch: noarch
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%check
|
||||
make test AUTOMATED_TESTING=1
|
||||
make test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
@ -51,6 +46,11 @@ make test AUTOMATED_TESTING=1
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Mon Mar 28 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.49-1
|
||||
- Upstream update.
|
||||
- Add File-Remove-1.49.diff/Remove File-Remove-1.46.diff.
|
||||
- Spec file cleanup.
|
||||
|
||||
* Fri Feb 18 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.46-1
|
||||
- Upstream update.
|
||||
- Remove xt-tests's deps (Upstream doesn't want us to test their works).
|
||||
|
||||
Loading…
Reference in New Issue
Block a user