BR ExtUtils::MakeMaker. Use fixperms macro instead of our own chmod

incantation.
epel9
Steven Pritchard 18 years ago
parent fa1d5017f4
commit a5e6a13204

@ -1,6 +1,6 @@
Name: perl-Text-Reform
Version: 1.11
Release: 6%{?dist}
Release: 7%{?dist}
Summary: Manual text wrapping and reformatting
License: Artistic
Group: Development/Libraries
@ -8,6 +8,7 @@ URL: http://search.cpan.org/dist/Text-Reform/
Source0: http://www.cpan.org/authors/id/D/DC/DCONWAY/Text-Reform-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(TeX::Hyphen)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@ -35,7 +36,7 @@ find $RPM_BUILD_ROOT -type f -name 'demo*.pl' -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 \;
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
* Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 1.11-7
- BR ExtUtils::MakeMaker.
- Use fixperms macro instead of our own chmod incantation.
* Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 0.11-6
- Minor spec cleanup to more closely resemble current cpanspec output.

Loading…
Cancel
Save