From d167e2ac61ee21d8ac6d4a41715ad43e7cd23918 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Fri, 6 Sep 2019 15:06:54 +0100 Subject: [PATCH] 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 --- .rpmlint => perl-Pod-Spell.rpmlintrc | 0 perl-Pod-Spell.spec | 18 ++++++++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) rename .rpmlint => perl-Pod-Spell.rpmlintrc (100%) diff --git a/.rpmlint b/perl-Pod-Spell.rpmlintrc similarity index 100% rename from .rpmlint rename to perl-Pod-Spell.rpmlintrc diff --git a/perl-Pod-Spell.spec b/perl-Pod-Spell.spec index 80689c6..b6843e5 100644 --- a/perl-Pod-Spell.spec +++ b/perl-Pod-Spell.spec @@ -1,16 +1,16 @@ Name: perl-Pod-Spell Version: 1.20 -Release: 12%{?dist} +Release: 13%{?dist} Summary: A formatter for spell-checking POD License: Artistic 2.0 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 BuildRequires: coreutils BuildRequires: findutils BuildRequires: make -BuildRequires: perl-interpreter BuildRequires: perl-generators +BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::ShareDir::Install) >= 0.06 BuildRequires: perl(strict) @@ -33,7 +33,7 @@ BuildRequires: perl(Text::Wrap) # POSIX not used at tests # Tests: BuildRequires: perl(File::Spec) -BuildRequires: perl(File::Temp) +BuildRequires: perl(File::Temp) >= 0.17 BuildRequires: perl(IO::Handle) BuildRequires: perl(IPC::Open3) BuildRequires: perl(Test::Deep) @@ -62,7 +62,7 @@ make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -delete -chmod -R u+w %{buildroot}/* +%{_fixperms} -c %{buildroot} %check make test @@ -74,9 +74,15 @@ make test %{perl_vendorlib}/Pod/ %{perl_vendorlib}/auto/share/dist/Pod-Spell/ %{_mandir}/man1/podspell.1* -%{_mandir}/man3/*.3pm* +%{_mandir}/man3/Pod::Spell.3* +%{_mandir}/man3/Pod::Wordlist.3* %changelog +* Fri Sep 6 2019 Paul Howarth - 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 - 1.20-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild