From 5b25c0140a0666af023dfb5ed26d8ebdfff0a0b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com> Date: Thu, 18 May 2017 10:43:45 +0200 Subject: Fix building on Perl without "." in @INC
This is implemented by unbundling ./inc modules. --- perl-Test-Spelling.spec | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/perl-Test-Spelling.spec b/perl-Test-Spelling.spec index b7575b3..8a343da 100644 --- a/perl-Test-Spelling.spec +++ b/perl-Test-Spelling.spec @@ -1,17 +1,24 @@ Name: perl-Test-Spelling Version: 0.20 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Check for spelling errors in POD files -Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Test-Spelling/ Source0: http://search.cpan.org/CPAN/authors/id/S/SA/SARTAK/Test-Spelling-%{version}.tar.gz Patch0: Test-Spelling-0.20-hunspell.patch BuildArch: noarch # Module Build +BuildRequires: coreutils +BuildRequires: make BuildRequires: perl BuildRequires: perl-generators -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(inc::Module::Install) +BuildRequires: perl(Module::Install::AutoManifest) +BuildRequires: perl(Module::Install::GithubMeta) +BuildRequires: perl(Module::Install::ManifestSkip) +BuildRequires: perl(Module::Install::Metadata) +BuildRequires: perl(Module::Install::WriteAll) +BuildRequires: sed # Module Runtime BuildRequires: hunspell BuildRequires: perl(base) @@ -46,6 +53,10 @@ hunspell program. # Promote hunspell over spell/aspell to avoid surprises if aspell is installed %patch0 +# Remove bundled modules +rm -r ./inc/* +sed -i -e '/^inc\//d' MANIFEST + # Force the author test to run too mkdir inc/.author @@ -67,6 +78,9 @@ make test %{_mandir}/man3/Test::Spelling.3* %changelog +* Thu May 18 2017 Petr Pisar <ppi...@redhat.com> - 0.20-7 +- Fix building on Perl without "." in @INC (CPAN RT#120425) + * Sat Feb 11 2017 Fedora Release Engineering <rel...@fedoraproject.org> - 0.20-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild -- cgit v1.1 https://src.fedoraproject.org/cgit/perl-Test-Spelling.git/commit/?h=master&id=5b25c0140a0666af023dfb5ed26d8ebdfff0a0b3 _______________________________________________ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org