[perl-Locale-SubCountry] 1.57 bump

Petr Pisar ppisar at fedoraproject.org
Tue Jan 15 13:16:08 UTC 2013


commit 20e831bdcdfd2b41f7aff7f6b3a4a9ac94fe4485
Author: Petr Písař <ppisar at redhat.com>
Date:   Tue Jan 15 14:15:33 2013 +0100

    1.57 bump

 .gitignore                  |    1 +
 perl-Locale-SubCountry.spec |   17 +++++++++--------
 sources                     |    2 +-
 3 files changed, 11 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ef64311..3296ba8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ Locale-SubCountry-1.41.tar.gz
 /Locale-SubCountry-1.50.tar.gz
 /Locale-SubCountry-1.51.tar.gz
 /Locale-SubCountry-1.56.tar.gz
+/Locale-SubCountry-1.57.tar.gz
diff --git a/perl-Locale-SubCountry.spec b/perl-Locale-SubCountry.spec
index 6ca3065..52f1d3c 100644
--- a/perl-Locale-SubCountry.spec
+++ b/perl-Locale-SubCountry.spec
@@ -1,6 +1,6 @@
 Name:           perl-Locale-SubCountry
-Version:        1.56
-Release:        3%{?dist}
+Version:        1.57
+Release:        1%{?dist}
 Summary:        ISO 3166-2 two letter subcountry codes
 Group:          Development/Libraries
 License:        GPL+ or Artistic
@@ -14,9 +14,9 @@ BuildRequires:  perl(locale) >= 1
 # Tests
 BuildRequires:  perl(Test::More) >= 0.94
 # Optional test
-BuildRequires:  perl(Test::Pod) >= 1.14
+BuildRequires:  perl(Test::Pod) >= 1.44
 BuildRequires:  perl(Test::Pod::Coverage) >= 1.04
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       perl(locale) >= 1
 
 # Filter under-sepcified dependencies
@@ -38,16 +38,14 @@ for i in Changes lib/Locale/SubCountry.pm; do
     iconv --from=ISO-8859-1 --to=UTF-8 $i > new
     mv new $i
 done
-sed -i -e $'1 i =encoding utf8\\\n' lib/Locale/SubCountry.pm
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
+make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
 %{_fixperms} %{buildroot}/*
 
 %check
@@ -60,6 +58,9 @@ make test
 
 
 %changelog
+* Tue Jan 15 2013 Petr Pisar <ppisar at redhat.com> - 1.57-1
+- 1.57 bump
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.56-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index d50f6ab..f274943 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-41e790b4e6a68ac5614687b705fccb5a  Locale-SubCountry-1.56.tar.gz
+ccf4e5efd83597b56b6a71f8518d3acf  Locale-SubCountry-1.57.tar.gz


More information about the scm-commits mailing list