Use fixperms macro instead of our own chmod incantation. BR
ExtUtils::MakeMaker.
This commit is contained in:
parent
a92f878fb5
commit
eef1efb9f8
@ -1,6 +1,6 @@
|
|||||||
Name: perl-Class-Singleton
|
Name: perl-Class-Singleton
|
||||||
Version: 1.03
|
Version: 1.03
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Class::Singleton Perl module
|
Summary: Class::Singleton Perl module
|
||||||
License: Artistic
|
License: Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -8,6 +8,7 @@ URL: http://search.cpan.org/dist/Class-Singleton/
|
|||||||
Source0: http://www.cpan.org/authors/id/A/AB/ABW/Class-Singleton-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/A/AB/ABW/Class-Singleton-%{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)
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
%description
|
%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 -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/*
|
||||||
|
|
||||||
perldoc -t perlartistic > Artistic
|
perldoc -t perlartistic > Artistic
|
||||||
|
|
||||||
@ -53,6 +54,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 1.03-4
|
||||||
|
- Use fixperms macro instead of our own chmod incantation.
|
||||||
|
- BR ExtUtils::MakeMaker.
|
||||||
|
|
||||||
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 1.03-3
|
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 1.03-3
|
||||||
- Canonicalize Source0 URL.
|
- Canonicalize Source0 URL.
|
||||||
- Fix find option order.
|
- Fix find option order.
|
||||||
|
Loading…
Reference in New Issue
Block a user