From 5d9213c6a6cf4d7c58ea6ba3ebda4aece0424978 Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <[email protected]>
Date: Sat, 23 Jul 2016 23:19:05 +0200
Subject: Update to 1.50

---
 .gitignore       |  1 +
 perl-Geo-IP.spec | 19 ++++++++++---------
 sources          |  2 +-
 3 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/.gitignore b/.gitignore
index 88f0516..4880a51 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ Geo-IP-1.38.tar.gz
 /Geo-IP-1.42.tar.gz
 /Geo-IP-1.43.tar.gz
 /Geo-IP-1.45.tar.gz
+/Geo-IP-1.50.tar.gz
diff --git a/perl-Geo-IP.spec b/perl-Geo-IP.spec
index 7edc7bc..c59c47f 100644
--- a/perl-Geo-IP.spec
+++ b/perl-Geo-IP.spec
@@ -1,7 +1,7 @@
 Name:             perl-Geo-IP
 Summary:          Efficient Perl bindings for the GeoIP location database
-Version:          1.45
-Release:          5%{?dist}
+Version:          1.50
+Release:          1%{?dist}
 URL:              http://search.cpan.org/dist/Geo-IP/
 License:          GPL+ or Artistic
 
@@ -12,7 +12,7 @@ Patch1:           
Geo-IP-1.40-Fix-shebangs-in-example-files.patch
 BuildRequires:    GeoIP-devel
 BuildRequires:    perl-devel
 BuildRequires:    perl-generators
-BuildRequires:    perl(ExtUtils::MakeMaker)
+BuildRequires:    perl(ExtUtils::MakeMaker) >= 6.76
 BuildRequires:    perl(Test::More)
 
 Requires:         perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
@@ -34,17 +34,14 @@ similar modules.
 
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" NO_PACKLIST=1
 make %{?_smp_mflags}
 # Avoid uneeded dependencies in the docs.
 find example/ -type f | xargs chmod -x
 
 
 %install
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
-find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
+make pure_install DESTDIR=%{buildroot}
 chmod -R u+w %{buildroot}/*
 
 
@@ -57,10 +54,14 @@ make test
 %{perl_vendorarch}/Geo
 %{perl_vendorarch}/auto/Geo
 %{_mandir}/man3/Geo::IP*.3*
-%{_mandir}/man3/Geo::Mirror.3*
 
 
 %changelog
+* Sat Jul 23 2016 Emmanuel Seyman <[email protected]> - 1.50-1
+- Update to 1.50
+- Pass NO_PACKLIST to Makefile.PL
+- Use DESTDIR instead of PERL_INSTALL_ROOT
+
 * Sun May 15 2016 Jitka Plesnikova <[email protected]> - 1.45-5
 - Perl 5.24 rebuild
 
diff --git a/sources b/sources
index 5d98035..341f59f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-781fbf2a6b6505e86e3e5ebe05254928  Geo-IP-1.45.tar.gz
+546b7bec5ae2076b1640fddee98d5717  Geo-IP-1.50.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Geo-IP.git/commit/?h=master&id=5d9213c6a6cf4d7c58ea6ba3ebda4aece0424978
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://lists.fedoraproject.org/admin/lists/[email protected]

Reply via email to