Use fixperms macro instead of our own chmod incantation. BR
ExtUtils::MakeMaker.
This commit is contained in:
parent
324c62bca9
commit
ff4d2858bd
@ -1,6 +1,6 @@
|
||||
Name: perl-Text-Diff
|
||||
Version: 0.35
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Perform diffs on files and record sets
|
||||
License: GPL or Artistic
|
||||
Group: Development/Libraries
|
||||
@ -9,6 +9,7 @@ Source0: http://www.cpan.org/authors/id/R/RB/RBS/Text-Diff-%{version}.tar
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(Algorithm::Diff)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
@ -33,7 +34,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
|
||||
@ -48,6 +49,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.35-4
|
||||
- Use fixperms macro instead of our own chmod incantation.
|
||||
- BR ExtUtils::MakeMaker.
|
||||
|
||||
* Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 0.35-3
|
||||
- Improve Summary, description, and Source0 URL.
|
||||
- Fix find option ordering.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user