Use fixperms macro instead of our own chmod incantation. BR

ExtUtils::MakeMaker.
epel9
Steven Pritchard 18 years ago
parent 2afa098fdd
commit fc7aa67b52

@ -1,6 +1,6 @@
Name: perl-Text-Autoformat Name: perl-Text-Autoformat
Version: 1.13 Version: 1.13
Release: 4%{?dist} Release: 5%{?dist}
Summary: Automatic text wrapping and reformatting Summary: Automatic text wrapping and reformatting
License: Artistic License: Artistic
Group: Development/Libraries Group: Development/Libraries
@ -8,6 +8,7 @@ URL: http://search.cpan.org/dist/Text-Autoformat/
Source0: http://www.cpan.org/authors/id/D/DC/DCONWAY/Text-Autoformat-%{version}.tar.gz Source0: http://www.cpan.org/authors/id/D/DC/DCONWAY/Text-Autoformat-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Text::Reform) >= 1.11 BuildRequires: perl(Text::Reform) >= 1.11
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@ -46,7 +47,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
@ -61,6 +62,10 @@ rm -rf $RPM_BUILD_ROOT %{__perl_provides}
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 1.13-5
- Use fixperms macro instead of our own chmod incantation.
- BR ExtUtils::MakeMaker.
* Fri Sep 01 2006 Steven Pritchard <steve@kspei.com> 1.13-4 * Fri Sep 01 2006 Steven Pritchard <steve@kspei.com> 1.13-4
- Rework spec to look more like current cpanspec output. - Rework spec to look more like current cpanspec output.

Loading…
Cancel
Save