[perl-Geo-IPfree] 1.1.2.0.4.6.0 bump

Petr Pisar ppisar at fedoraproject.org
Tue Mar 20 07:51:04 UTC 2012


commit 7497afc7d4161cbb07440d4a1e2c3fbcfb78c500
Author: Petr Písař <ppisar at redhat.com>
Date:   Tue Mar 20 08:50:48 2012 +0100

    1.1.2.0.4.6.0 bump

 .gitignore           |    1 +
 perl-Geo-IPfree.spec |   17 +++++++++++------
 sources              |    2 +-
 3 files changed, 13 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a017a89..aaa4a82 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ Geo-IPfree-0.4.tar.gz
 Geo-IPfree-1.101650.tar.gz
 /Geo-IPfree-1.102870.tar.gz
 /Geo-IPfree-1.112870.tar.gz
+/Geo-IPfree-1.120460.tar.gz
diff --git a/perl-Geo-IPfree.spec b/perl-Geo-IPfree.spec
index c8fafdb..0db8dc0 100644
--- a/perl-Geo-IPfree.spec
+++ b/perl-Geo-IPfree.spec
@@ -1,17 +1,19 @@
-%define cpan_name Geo-IPfree
-%define cpan_version 1.112870
+%global cpan_name Geo-IPfree
+%global cpan_version 1.120460
+%global cpan_author BRICAS
 Name:           perl-%{cpan_name}
-Version:        1.1.1.2.8.7.0
-Release:        2%{?dist}
+Version:        %(echo '%cpan_version' | sed 's/^\([0-9]\{1,\}\)\./\1\n/' | sed '2 s/\(.\)/.\1/g' | sed '1N;s/\n//')
+Release:        1%{?dist}
 Summary:        Look up the country of an IPv4 Address
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/%{cpan_name}/
-Source0:        http://www.cpan.org/authors/id/B/BR/BRICAS/%{cpan_name}-%{cpan_version}.tar.gz
+Source0:        http://www.cpan.org/authors/id/%(echo '%{cpan_author}' | sed 's=\(.\)\(.\)=\1/\1\2/\1\2=')/%{cpan_name}-%{cpan_version}.tar.gz
 BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+# Run-time:
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Exporter)
-BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Memoize)
 # Tests only:
 BuildRequires:  perl(Test::More) >= 0.47
@@ -46,6 +48,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Tue Mar 20 2012 Petr Pisar <ppisar at redhat.com> - 1.1.2.0.4.6.0-1
+- 1.1.2.0.4.6.0 bump
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.1.2.8.7.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index d40e740..d81ad34 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5767ca1d57d25ffb7773bc9e03322c02  Geo-IPfree-1.112870.tar.gz
+192dd4ce642c0a7e0ccd85855ed0e137  Geo-IPfree-1.120460.tar.gz


More information about the scm-commits mailing list