[perl-Locale-US] update to 2.112150

Iain Arnell iarnell at fedoraproject.org
Sun Aug 28 07:31:21 UTC 2011


commit 6021bb07d74f0cc13cde8b6d78553b2ba749510f
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sun Aug 28 09:30:49 2011 +0200

    update to 2.112150

 .gitignore          |    1 +
 perl-Locale-US.spec |   18 ++++++++----------
 sources             |    2 +-
 3 files changed, 10 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2553c6d..b348101 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /Locale-US-1.2.tar.gz
+/Locale-US-2.112150.tar.gz
diff --git a/perl-Locale-US.spec b/perl-Locale-US.spec
index f476dac..0e4ffe7 100644
--- a/perl-Locale-US.spec
+++ b/perl-Locale-US.spec
@@ -1,16 +1,13 @@
 Name:           perl-Locale-US
-Version:        1.2
-Release:        3%{?dist}
+Version:        2.112150
+Release:        1%{?dist}
 Summary:        Two letter codes for state identification in the United States and vice versa
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Locale-US/
 Source0:        http://www.cpan.org/authors/id/T/TB/TBONE/Locale-US-%{version}.tar.gz
-# https://rt.cpan.org/Public/Bug/Display.html?id=56989
-Patch0:         locale_us.patch
-# https://rt.cpan.org/Public/Bug/Display.html?id=62218
-Patch1:         spelling.patch
 BuildArch:      noarch
+BuildRequires:  perl(Data::Section::Simple)
 BuildRequires:  perl(ExtUtils::MakeMaker)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
@@ -21,11 +18,9 @@ Map from US two-letter codes to states and vice versa.
 
 %prep
 %setup -q -n Locale-US-%{version}
-%patch0 -p1
-%patch1 -p1
 
 # doesn't actually use Data::Dumper
-sed -i -e '/use Data::Dumper/d' US.pm
+sed -i -e '/use Data::Dumper/d' lib/Locale/US.pm
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -44,12 +39,15 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 make test
 
 %files
-%defattr(-,root,root,-)
 %doc Changes README kruft2codes.pl
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Sun Aug 28 2011 Iain Arnell <iarnell at gmail.com> 2.112150-1
+- update to latest upstream
+- drop unnecessary patches
+
 * Wed Jun 15 2011 Marcela Mašláňová <mmaslano at redhat.com> - 1.2-3
 - Perl mass rebuild
 
diff --git a/sources b/sources
index e21af16..8feadbe 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d748870d0b657f78d7ea044cbf35eacc  Locale-US-1.2.tar.gz
+61adcf5097a87dea84c2a987f81cb2d9  Locale-US-2.112150.tar.gz



More information about the perl-devel mailing list