[perl-Locale-SubCountry/f17] 1.57 bump

Petr Pisar ppisar at fedoraproject.org
Tue Jan 15 13:18:57 UTC 2013


commit a8c05f2f440eee0ca9e78db12475d340d81b45b8
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 |   15 ++++++++-------
 sources                     |    2 +-
 3 files changed, 10 insertions(+), 8 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 f365468..64952ec 100644
--- a/perl-Locale-SubCountry.spec
+++ b/perl-Locale-SubCountry.spec
@@ -1,5 +1,5 @@
 Name:           perl-Locale-SubCountry
-Version:        1.56
+Version:        1.57
 Release:        1%{?dist}
 Summary:        ISO 3166-2 two letter subcountry codes
 Group:          Development/Libraries
@@ -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
+
 * Wed Jul 11 2012 Petr Pisar <ppisar at redhat.com> - 1.56-1
 - 1.56 bump
 
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 perl-devel mailing list