Use fixperms macro instead of our own chmod incantation. BR

ExtUtils::MakeMaker.
This commit is contained in:
Steven Pritchard 2007-04-16 22:12:51 +00:00
parent 4df0543dd9
commit 2adfab2a62

View File

@ -1,12 +1,13 @@
Name: perl-Unix-Syslog Name: perl-Unix-Syslog
Version: 0.100 Version: 0.100
Release: 8%{?dist} Release: 9%{?dist}
Summary: Perl interface to the UNIX syslog(3) calls Summary: Perl interface to the UNIX syslog(3) calls
License: Artistic License: Artistic
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://search.cpan.org/dist/Unix-Syslog/ URL: http://search.cpan.org/dist/Unix-Syslog/
Source0: http://www.cpan.org/authors/id/M/MH/MHARNISCH/Unix-Syslog-%{version}.tar.gz Source0: http://www.cpan.org/authors/id/M/MH/MHARNISCH/Unix-Syslog-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description %description
@ -31,7 +32,7 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -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
%{?_with_check:make test} %{?_with_check:make test}
@ -47,6 +48,10 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/Unix::Syslog.3pm* %{_mandir}/man3/Unix::Syslog.3pm*
%changelog %changelog
* Mon Apr 16 2007 Steven Pritchard <steve@kspei.com> 0.100-9
- Use fixperms macro instead of our own chmod incantation.
- BR ExtUtils::MakeMaker.
* Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 0.100-8 * Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 0.100-8
- Rebuild. - Rebuild.
- Fix find option order. - Fix find option order.