Minor spec enhancement

- Use author-independent source URL
- Bump version of File::Temp dependency to 0.17, needed for ->seek
- Enumerate man pages in %files list
epel9
Paul Howarth 5 years ago
parent f244af7850
commit d167e2ac61

@ -1,16 +1,16 @@
Name: perl-Pod-Spell Name: perl-Pod-Spell
Version: 1.20 Version: 1.20
Release: 12%{?dist} Release: 13%{?dist}
Summary: A formatter for spell-checking POD Summary: A formatter for spell-checking POD
License: Artistic 2.0 License: Artistic 2.0
URL: https://metacpan.org/release/Pod-Spell URL: https://metacpan.org/release/Pod-Spell
Source0: https://cpan.metacpan.org/authors/id/D/DO/DOLMEN/Pod-Spell-%{version}.tar.gz Source0: https://cpan.metacpan.org/modules/by-module/Pod/Pod-Spell-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: coreutils BuildRequires: coreutils
BuildRequires: findutils BuildRequires: findutils
BuildRequires: make BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::ShareDir::Install) >= 0.06 BuildRequires: perl(File::ShareDir::Install) >= 0.06
BuildRequires: perl(strict) BuildRequires: perl(strict)
@ -33,7 +33,7 @@ BuildRequires: perl(Text::Wrap)
# POSIX not used at tests # POSIX not used at tests
# Tests: # Tests:
BuildRequires: perl(File::Spec) BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Temp) BuildRequires: perl(File::Temp) >= 0.17
BuildRequires: perl(IO::Handle) BuildRequires: perl(IO::Handle)
BuildRequires: perl(IPC::Open3) BuildRequires: perl(IPC::Open3)
BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::Deep)
@ -62,7 +62,7 @@ make %{?_smp_mflags}
%install %install
make pure_install DESTDIR=%{buildroot} make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete find %{buildroot} -type f -name .packlist -delete
chmod -R u+w %{buildroot}/* %{_fixperms} -c %{buildroot}
%check %check
make test make test
@ -74,9 +74,15 @@ make test
%{perl_vendorlib}/Pod/ %{perl_vendorlib}/Pod/
%{perl_vendorlib}/auto/share/dist/Pod-Spell/ %{perl_vendorlib}/auto/share/dist/Pod-Spell/
%{_mandir}/man1/podspell.1* %{_mandir}/man1/podspell.1*
%{_mandir}/man3/*.3pm* %{_mandir}/man3/Pod::Spell.3*
%{_mandir}/man3/Pod::Wordlist.3*
%changelog %changelog
* Fri Sep 6 2019 Paul Howarth <paul@city-fan.org> - 1.20-13
- Use author-independent source URL
- Bump version of File::Temp dependency to 0.17, needed for ->seek
- Enumerate man pages in %%files list
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.20-12 * Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.20-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

Loading…
Cancel
Save