|
|
@ -1,16 +1,13 @@
|
|
|
|
Name: perl-Locale-US
|
|
|
|
Name: perl-Locale-US
|
|
|
|
Version: 1.2
|
|
|
|
Version: 2.112150
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Two letter codes for state identification in the United States and vice versa
|
|
|
|
Summary: Two letter codes for state identification in the United States and vice versa
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/Locale-US/
|
|
|
|
URL: http://search.cpan.org/dist/Locale-US/
|
|
|
|
Source0: http://www.cpan.org/authors/id/T/TB/TBONE/Locale-US-%{version}.tar.gz
|
|
|
|
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
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRequires: perl(Data::Section::Simple)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
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
|
|
|
|
%prep
|
|
|
|
%setup -q -n Locale-US-%{version}
|
|
|
|
%setup -q -n Locale-US-%{version}
|
|
|
|
%patch0 -p1
|
|
|
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# doesn't actually use Data::Dumper
|
|
|
|
# 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
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
@ -44,12 +39,15 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
|
|
|
%doc Changes README kruft2codes.pl
|
|
|
|
%doc Changes README kruft2codes.pl
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sun Aug 28 2011 Iain Arnell <iarnell@gmail.com> 2.112150-1
|
|
|
|
|
|
|
|
- update to latest upstream
|
|
|
|
|
|
|
|
- drop unnecessary patches
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 15 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.2-3
|
|
|
|
* Wed Jun 15 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.2-3
|
|
|
|
- Perl mass rebuild
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
|
|
|
|
|
|
|