Use fixperms macro instead of our own chmod incantation. BR
ExtUtils::MakeMaker.
This commit is contained in:
parent
6185cc8540
commit
d85454a27e
@ -1,6 +1,6 @@
|
||||
Name: perl-Exception-Class
|
||||
Version: 1.23
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Exception::Class Perl module
|
||||
License: GPL or Artistic
|
||||
Group: Development/Libraries
|
||||
@ -8,10 +8,11 @@ URL: http://search.cpan.org/dist/Exception-Class/
|
||||
Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/Exception-Class-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(Devel::StackTrace) >= 1.12
|
||||
BuildRequires: perl(Class::Data::Inheritable) >= 0.02
|
||||
Requires: perl(Devel::StackTrace) >= 1.12
|
||||
BuildRequires: perl(Devel::StackTrace) >= 1.12
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
Requires: perl(Class::Data::Inheritable) >= 0.02
|
||||
Requires: perl(Devel::StackTrace) >= 1.12
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
@ -36,7 +37,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/*
|
||||
|
||||
perldoc -t perlgpl > COPYING
|
||||
perldoc -t perlartistic > Artistic
|
||||
@ -54,6 +55,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 1.23-3
|
||||
- Use fixperms macro instead of our own chmod incantation.
|
||||
- BR ExtUtils::MakeMaker.
|
||||
|
||||
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 1.23-2
|
||||
- Canonicalize Source0 URL.
|
||||
- Fix find option order.
|
||||
|
Loading…
Reference in New Issue
Block a user