From edcb5d075476c8960b04136ba8375560ad568c08 Mon Sep 17 00:00:00 2001 From: Robin Norwood Date: Thu, 28 Jun 2007 15:07:40 +0000 Subject: [PATCH] Apply patch from Steven Pritchard. --- perl-TimeDate.spec | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/perl-TimeDate.spec b/perl-TimeDate.spec index d452cdd..64b87b1 100644 --- a/perl-TimeDate.spec +++ b/perl-TimeDate.spec @@ -1,7 +1,7 @@ Name: perl-TimeDate Version: 1.16 Epoch: 1 -Release: 3.2.1 +Release: 4 Summary: A Perl module for time and date manipulation Group: Development/Libraries @@ -11,7 +11,7 @@ Source0: http://www.cpan.org/authors/id/G/GB/GBARR/TimeDate-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: perl >= 1:5.6.1 +BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description @@ -23,7 +23,7 @@ textual representations of points in time. %prep -%setup -q -n TimeDate-%{version} +%setup -q -n TimeDate-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -33,10 +33,10 @@ make %{?_smp_mflags} 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/* +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' +%{_fixperms} $RPM_BUILD_ROOT/* -%check || : +%check make test %clean @@ -51,7 +51,13 @@ rm -rf $RPM_BUILD_ROOT %changelog -* Wed Jul 12 2006 Jesse Keating - sh: line 0: fg: no job control +* Tue Mar 20 2007 Steven Pritchard 1:1.16-4 +- Fix find option order. +- Use fixperms macro instead of our own chmod incantation. +- BR ExtUtils::MakeMaker. +- Remove check macro cruft. + +* Wed Jul 12 2006 Jesse Keating - 1:1.16-3.2.1 - rebuild * Fri Feb 03 2006 Jason Vas Dias - 1:1.16-3.2