|
|
|
@ -1,19 +1,20 @@
|
|
|
|
|
Name: perl-Locale-US
|
|
|
|
|
Version: 3.04
|
|
|
|
|
Release: 12%{?dist}
|
|
|
|
|
Release: 13%{?dist}
|
|
|
|
|
Summary: Two letter codes for state identification in the United States and vice versa
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: https://metacpan.org/release/Locale-US
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/A/AC/ACCARDO/Locale-US-%{version}.tar.gz
|
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/Locale/Locale-US-%{version}.tar.gz
|
|
|
|
|
Patch1: Locale-US-2.112140-rt56989.patch
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
# Build
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: sed
|
|
|
|
|
# Run-time
|
|
|
|
|
BuildRequires: perl(Data::Section::Simple)
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
@ -44,8 +45,8 @@ make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
|
|
|
%{_fixperms} %{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -delete
|
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
@ -61,6 +62,12 @@ make test
|
|
|
|
|
%{_mandir}/man3/Locale::US*.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Oct 15 2019 Paul Howarth <paul@city-fan.org> - 3.04-13
|
|
|
|
|
- Spec tidy-up
|
|
|
|
|
- Use author-independent source URL
|
|
|
|
|
- Simplify find command using -delete
|
|
|
|
|
- Fix permissions verbosely
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.04-12
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|