diff --git a/perl-Locale-US.rpmlintrc b/perl-Locale-US.rpmlintrc new file mode 100644 index 0000000..463fd58 --- /dev/null +++ b/perl-Locale-US.rpmlintrc @@ -0,0 +1,3 @@ +from Config import * +addFilter("spelling-error %description -l en_US versa -> ") +addFilter("spelling-error Summary\(en_US\) versa -> ") diff --git a/perl-Locale-US.spec b/perl-Locale-US.spec index 4a45947..b41a54c 100644 --- a/perl-Locale-US.spec +++ b/perl-Locale-US.spec @@ -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 - 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 - 3.04-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild