rpms/perl-Net-CIDR-Lite/devel perl-Net-CIDR-Lite.spec,1.5,1.6

Steven Pritchard (steve) fedora-extras-commits at redhat.com
Wed Apr 18 15:33:59 UTC 2007


Author: steve

Update of /cvs/extras/rpms/perl-Net-CIDR-Lite/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3748

Modified Files:
	perl-Net-CIDR-Lite.spec 
Log Message:
Use fixperms macro instead of our own chmod incantation.
BR ExtUtils::MakeMaker.



Index: perl-Net-CIDR-Lite.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Net-CIDR-Lite/devel/perl-Net-CIDR-Lite.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- perl-Net-CIDR-Lite.spec	17 Sep 2006 20:55:31 -0000	1.5
+++ perl-Net-CIDR-Lite.spec	18 Apr 2007 15:33:25 -0000	1.6
@@ -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 @@
 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 @@
 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 @@
 %{_mandir}/man3/*
 
 %changelog
+* Wed Apr 18 2007 Steven Pritchard <steve at kspei.com> 0.20-3
+- Use fixperms macro instead of our own chmod incantation.
+- BR ExtUtils::MakeMaker.
+
 * Sat Sep 16 2006 Steven Pritchard <steve at kspei.com> 0.20-2
 - Fix find option order.
 




More information about the scm-commits mailing list