rpms/perl-Net-Netmask/devel perl-Net-Netmask.spec,1.13,1.14

Paul Howarth (pghmcfc) fedora-extras-commits at redhat.com
Mon Jun 30 14:52:49 UTC 2008


Author: pghmcfc

Update of /cvs/pkgs/rpms/perl-Net-Netmask/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29154

Modified Files:
	perl-Net-Netmask.spec 
Log Message:
- Add perl(:MODULE_COMPAT...) dependency (#449362)
- Remove redundant buildreq perl
- Fix "make check" syntax
- Fix argument order for find with -depth



Index: perl-Net-Netmask.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Net-Netmask/devel/perl-Net-Netmask.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- perl-Net-Netmask.spec	27 Sep 2007 21:22:39 -0000	1.13
+++ perl-Net-Netmask.spec	30 Jun 2008 14:51:39 -0000	1.14
@@ -1,6 +1,6 @@
 Name:           perl-Net-Netmask
 Version:        1.9015
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Perl module for manipulation and lookup of IP network blocks
 
 Group:          Development/Libraries
@@ -10,8 +10,8 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
-BuildRequires:  perl >= 1:5.6.1
-BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More)
+BuildRequires:  perl(ExtUtils::MakeMaker), perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
 Net::Netmask parses and understands IPv4 CIDR blocks. It's built with
@@ -32,11 +32,11 @@
 rm -rf $RPM_BUILD_ROOT
 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 d -depth -exec rmdir {} 2>/dev/null ';'
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
 
-%check || :
+%check
 make test
 
 
@@ -52,6 +52,12 @@
 
 
 %changelog
+* Mon Jun 30 2008 Paul Howarth <paul at city-fan.org> - 1.9015-2
+- Add perl(:MODULE_COMPAT...) dependency (#449362)
+- Remove redundant buildreq perl
+- Fix "make check" syntax
+- Fix argument order for find with -depth
+
 * Thu Sep 27 2007 Warren Togami <wtogami at redhat.com> - 1.9015-1
 - 1.9015, update license tag
 




More information about the fedora-extras-commits mailing list