Use fixperms macro instead of our own chmod incantation. BR
ExtUtils::MakeMaker.
This commit is contained in:
parent
4df0543dd9
commit
2adfab2a62
@ -1,12 +1,13 @@
|
||||
Name: perl-Unix-Syslog
|
||||
Version: 0.100
|
||||
Release: 8%{?dist}
|
||||
Release: 9%{?dist}
|
||||
Summary: Perl interface to the UNIX syslog(3) calls
|
||||
License: Artistic
|
||||
Group: System Environment/Libraries
|
||||
URL: http://search.cpan.org/dist/Unix-Syslog/
|
||||
Source0: http://www.cpan.org/authors/id/M/MH/MHARNISCH/Unix-Syslog-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%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 -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
|
||||
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
%{?_with_check:make test}
|
||||
@ -47,6 +48,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man3/Unix::Syslog.3pm*
|
||||
|
||||
%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
|
||||
- Rebuild.
|
||||
- Fix find option order.
|
||||
|
Loading…
Reference in New Issue
Block a user