Spec tidy-up

- Use author-independent source URL
- Simplify find command using -delete
- Fix permissions verbosely
epel9 imports/e9/perl-Locale-US-3.04-13.el9
Paul Howarth 5 years ago
parent 20f3687436
commit dd69fb6243

@ -0,0 +1,3 @@
from Config import *
addFilter("spelling-error %description -l en_US versa -> ")
addFilter("spelling-error Summary\(en_US\) versa -> ")

@ -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

Loading…
Cancel
Save