Use fixperms macro instead of our own chmod incantation. BR
ExtUtils::MakeMaker.
This commit is contained in:
parent
088352fd0f
commit
89f126404a
@ -1,6 +1,6 @@
|
||||
Name: perl-Net-CIDR-Lite
|
||||
Version: 0.20
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Net::CIDR::Lite Perl module
|
||||
License: GPL or Artistic
|
||||
Group: Development/Libraries
|
||||
@ -8,9 +8,11 @@ URL: http://search.cpan.org/dist/Net-CIDR-Lite/
|
||||
Source0: http://www.cpan.org/authors/id/D/DO/DOUGW/Net-CIDR-Lite-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
# For "make test".
|
||||
BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage)
|
||||
BuildRequires: perl(Test::Pod)
|
||||
BuildRequires: perl(Test::Pod::Coverage)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
Faster alternative to Net::CIDR when merging a large number of CIDR
|
||||
@ -31,7 +33,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
|
||||
@ -49,6 +51,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.20-3
|
||||
- Use fixperms macro instead of our own chmod incantation.
|
||||
- BR ExtUtils::MakeMaker.
|
||||
|
||||
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.20-2
|
||||
- Fix find option order.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user