Use fixperms macro instead of our own chmod incantation. BR
ExtUtils::MakeMaker.
This commit is contained in:
parent
b9d20c08dc
commit
2658446d6b
@ -1,6 +1,6 @@
|
|||||||
Name: perl-DateTime-Format-Strptime
|
Name: perl-DateTime-Format-Strptime
|
||||||
Version: 1.0700
|
Version: 1.0700
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Parse and format strp and strf time patterns
|
Summary: Parse and format strp and strf time patterns
|
||||||
License: GPL or Artistic
|
License: GPL or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -12,6 +12,7 @@ BuildArch: noarch
|
|||||||
BuildRequires: perl(DateTime)
|
BuildRequires: perl(DateTime)
|
||||||
BuildRequires: perl(DateTime::Locale) >= 0.02
|
BuildRequires: perl(DateTime::Locale) >= 0.02
|
||||||
BuildRequires: perl(DateTime::TimeZone) >= 0.25
|
BuildRequires: perl(DateTime::TimeZone) >= 0.25
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
BuildRequires: perl(Params::Validate) >= 0.64
|
BuildRequires: perl(Params::Validate) >= 0.64
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
@ -37,7 +38,7 @@ 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 f -name .packlist -exec rm -f {} \;
|
||||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||||
|
|
||||||
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
@ -52,6 +53,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 1.0700-3
|
||||||
|
- Use fixperms macro instead of our own chmod incantation.
|
||||||
|
- BR ExtUtils::MakeMaker.
|
||||||
|
|
||||||
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 1.0700-2
|
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 1.0700-2
|
||||||
- Fix find option order.
|
- Fix find option order.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user