[perl-File-chdir] update to 0.1003 to fix perl-5.14 FTBFS

Iain Arnell iarnell at fedoraproject.org
Fri Jun 17 23:43:47 UTC 2011


commit 9165e121d813fea924be3dc468a799649b708eec
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sat Jun 18 01:42:05 2011 +0200

    update to 0.1003 to fix perl-5.14 FTBFS

 .gitignore           |    1 +
 perl-File-chdir.spec |   17 ++++++++---------
 sources              |    2 +-
 3 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8e8f8b7..c229d3c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 File-chdir-0.09.tar.gz
+/File-chdir-0.1003.tar.gz
diff --git a/perl-File-chdir.spec b/perl-File-chdir.spec
index 238ec2a..113fab3 100644
--- a/perl-File-chdir.spec
+++ b/perl-File-chdir.spec
@@ -1,13 +1,14 @@
 Name:           perl-File-chdir
-Version:        0.09
-Release:        10%{?dist}
+Version:        0.1003
+Release:        1%{?dist}
 Summary:        A more sensible way to change directories
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/File-chdir/
 Source0:        http://www.cpan.org/modules/by-module/File/File-chdir-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Cwd) >= 3.16
+BuildRequires:  perl(File::Spec) >= 3.27
 BuildRequires:  perl(Test::More)
 BuildArch:      noarch
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -26,8 +27,6 @@ whole program.
 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 {} \;
@@ -38,16 +37,16 @@ chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Sat Jun 18 2011 Iain Arnell <iarnell at gmail.com> 0.1003-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+
 * Fri Jun 17 2011 Marcela Mašláňová <mmaslano at redhat.com> - 0.09-10
 - Perl mass rebuild
 
diff --git a/sources b/sources
index 47075ca..4193fd5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3682a18cfdc5589e7a14e497162f2dc7  File-chdir-0.09.tar.gz
+5bc2c285bf4d4fefcbc23d8309a0b22a  File-chdir-0.1003.tar.gz



More information about the perl-devel mailing list