Use fixperms macro instead of our own chmod incantation. BR
ExtUtils::MakeMaker.
This commit is contained in:
parent
cae0318437
commit
922d9765d7
@ -1,6 +1,6 @@
|
||||
Name: perl-Test-Deep
|
||||
Version: 0.096
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Extremely flexible deep comparison
|
||||
License: GPL or Artistic
|
||||
Group: Development/Libraries
|
||||
@ -8,6 +8,7 @@ URL: http://search.cpan.org/dist/Test-Deep/
|
||||
Source0: http://www.cpan.org/authors/id/F/FD/FDALY/Test-Deep-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Test::NoWarnings) >= 0.02
|
||||
BuildRequires: perl(Test::Tester) >= 0.04
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
@ -35,7 +36,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 -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
|
||||
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
@ -50,6 +51,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.096-2
|
||||
- Use fixperms macro instead of our own chmod incantation.
|
||||
- BR ExtUtils::MakeMaker.
|
||||
|
||||
* Tue Sep 26 2006 Steven Pritchard <steve@kspei.com> 0.096-1
|
||||
- Update to 0.096.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user