commit 4531d0f3525fb796ac1607820a227c9ce757acc3
Author: Petr Šabata <contyk(a)redhat.com>
Date: Mon Dec 3 13:29:07 2012 +0100
0.1008 bump
.gitignore | 1 +
perl-File-chdir.spec | 17 ++++++++++-------
sources | 2 +-
3 files changed, 12 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c8c071e..8f299ae 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ File-chdir-0.09.tar.gz
/File-chdir-0.1003.tar.gz
/File-chdir-0.1006.tar.gz
/File-chdir-0.1007.tar.gz
+/File-chdir-0.1008.tar.gz
diff --git a/perl-File-chdir.spec b/perl-File-chdir.spec
index 11c4368..916d07f 100644
--- a/perl-File-chdir.spec
+++ b/perl-File-chdir.spec
@@ -1,21 +1,22 @@
Name: perl-File-chdir
-Version: 0.1007
+Version: 0.1008
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
-BuildRequires: perl(Cwd) >= 3.16
BuildRequires: perl(Carp)
+BuildRequires: perl(Cwd) >= 3.16
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(File::Spec) >= 3.27
+BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Spec::Functions) >= 3.27
BuildRequires: perl(File::Temp)
BuildRequires: perl(Test::More)
BuildArch: noarch
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo
$version))
+Requires: perl(File::Spec)
%description
Perl's chdir() has the unfortunate problem of being very, very, very
@@ -27,13 +28,12 @@ whole program.
%setup -q -n File-chdir-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
+make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null \;
chmod -R u+rwX,go+rX,go-w %{buildroot}/*
%check
@@ -45,6 +45,9 @@ make test
%{_mandir}/man3/*
%changelog
+* Mon Dec 03 2012 Petr Šabata <contyk(a)redhat.com> - 0.1008-1
+- 0.1008 bump
+
* Wed Sep 19 2012 Petr Pisar <ppisar(a)redhat.com> - 0.1007-1
- 0.1007 bump
diff --git a/sources b/sources
index 38c025a..e4d1296 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-23cfff71a01412249b3c2202307750a5 File-chdir-0.1007.tar.gz
+4b0bfb8135554ef1e4e1440b89befe09 File-chdir-0.1008.tar.gz