[perl-Net-IP] 1.26 bump
Petr Pisar
ppisar at fedoraproject.org
Thu Nov 29 09:53:00 UTC 2012
commit db5b448659f3ead71939fb882437f7d59f22545b
Author: Petr Písař <ppisar at redhat.com>
Date: Thu Nov 29 10:41:41 2012 +0100
1.26 bump
.gitignore | 1 +
.rpmlint | 2 ++
perl-Net-IP.spec | 27 +++++++++------------------
sources | 2 +-
4 files changed, 13 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f718516..94f9f86 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
Net-IP-1.24.tar.gz
Net-IP-1.25.tar.gz
+/Net-IP-1.26.tar.gz
diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..8c7bb93
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* (ipcount|iptab)");
diff --git a/perl-Net-IP.spec b/perl-Net-IP.spec
index 07464c7..7295faa 100644
--- a/perl-Net-IP.spec
+++ b/perl-Net-IP.spec
@@ -1,8 +1,7 @@
Name: perl-Net-IP
-Version: 1.25
-Release: 20%{?dist}
+Version: 1.26
+Release: 1%{?dist}
Summary: Perl module for manipulation of IPv4 and IPv6 addresses
-
Group: Development/Libraries
# Some ambiguity here, see http://rt.cpan.org/Ticket/Display.html?id=28689
# MIT-like for the IP.pm itself, and "like Perl itself" for all the other
@@ -10,13 +9,10 @@ Group: Development/Libraries
License: MIT and (GPL+ or Artistic)
URL: http://search.cpan.org/dist/Net-IP/
Source: http://www.cpan.org/authors/id/M/MA/MANU/Net-IP-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
+Patch0: perl-Net-IP-1.25-bz197425.patch
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
-Patch0: perl-Net-IP-1.25-bz197425.patch
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
This is the Net::IP module for Perl, designed to allow easy
@@ -32,15 +28,12 @@ handy IP "cheat sheet".
%patch0 -p1
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
-
%install
-rm -rf $RPM_BUILD_ROOT
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -depth -type d -empty -exec rmdir {} ';'
chmod -R u+w $RPM_BUILD_ROOT/*
@@ -51,12 +44,7 @@ chmod -R u+w $RPM_BUILD_ROOT/*
# make test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
%files
-%defattr(-,root,root,-)
%doc COPYING Changes README
%{_bindir}/ipcount
%{_bindir}/iptab
@@ -65,6 +53,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Thu Nov 29 2012 Petr Pisar <ppisar at redhat.com> - 1.26-1
+- 1.26 bump
+
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.25-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
diff --git a/sources b/sources
index ca177d6..43e8dcb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a49c0b02a9b793ff60191cdafc0c202e Net-IP-1.25.tar.gz
+3a98e3ac45d69ea38a63a7e678bd716d Net-IP-1.26.tar.gz
More information about the scm-commits
mailing list