Apply patch from Steven Pritchard.
This commit is contained in:
parent
496b0463b3
commit
edcb5d0754
@ -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 <jkeating@redhat.com> - sh: line 0: fg: no job control
|
||||
* Tue Mar 20 2007 Steven Pritchard <steve@kspei.com> 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 <jkeating@redhat.com> - 1:1.16-3.2.1
|
||||
- rebuild
|
||||
|
||||
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 1:1.16-3.2
|
||||
|
Loading…
Reference in New Issue
Block a user