From 37e92bd86e827ccc19283993665aaae364b66fa1 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Jun 30 2008 14:51:39 +0000 Subject: - Add perl(:MODULE_COMPAT...) dependency (#449362) - Remove redundant buildreq perl - Fix "make check" syntax - Fix argument order for find with -depth --- diff --git a/perl-Net-Netmask.spec b/perl-Net-Netmask.spec index b103a41..15b4bbe 100644 --- a/perl-Net-Netmask.spec +++ b/perl-Net-Netmask.spec @@ -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 @@ Source0: http://www.cpan.org/authors/id/M/MU/MUIR/modules/Net-Netmask-%{v 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 @@ make %{?_smp_mflags} 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 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Jun 30 2008 Paul Howarth - 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 - 1.9015-1 - 1.9015, update license tag