From d0f74135267e0a16aa20f1cd3aa03f5862d0eb92 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova <jples...@redhat.com> Date: Thu, 18 May 2017 21:34:22 +0200 Subject: Fix building on Perl without '.' in @INC (CPAN RT#121785)
--- Kwiki-0.39-Fix-building-on-Perl-without-dot-in-INC.patch | 8 ++++++++ perl-Kwiki.spec | 7 ++++++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 Kwiki-0.39-Fix-building-on-Perl-without-dot-in-INC.patch diff --git a/Kwiki-0.39-Fix-building-on-Perl-without-dot-in-INC.patch b/Kwiki-0.39-Fix-building-on-Perl-without-dot-in-INC.patch new file mode 100644 index 0000000..d7eea76 --- /dev/null +++ b/Kwiki-0.39-Fix-building-on-Perl-without-dot-in-INC.patch @@ -0,0 +1,8 @@ +diff -up Kwiki-0.39/Makefile.PL.orig Kwiki-0.39/Makefile.PL +--- Kwiki-0.39/Makefile.PL.orig 2017-05-18 21:25:50.535330179 +0200 ++++ Kwiki-0.39/Makefile.PL 2017-05-18 21:26:07.648237425 +0200 +@@ -1,3 +1,4 @@ ++BEGIN { push @INC, '.'; } + use inc::Module::Install; + + name('Kwiki'); diff --git a/perl-Kwiki.spec b/perl-Kwiki.spec index 373c0f9..a994339 100644 --- a/perl-Kwiki.spec +++ b/perl-Kwiki.spec @@ -1,10 +1,11 @@ Name: perl-Kwiki Version: 0.39 -Release: 29%{?dist} +Release: 30%{?dist} Summary: Kwiki Wiki Building Framework License: GPL+ or Artistic URL: http://search.cpan.org/dist/Kwiki/ Source0: http://www.cpan.org/authors/id/I/IN/INGY/Kwiki-%{version}.tar.gz +Patch0: Kwiki-0.39-Fix-building-on-Perl-without-dot-in-INC.patch BuildArch: noarch # Build BuildRequires: perl @@ -79,6 +80,7 @@ plugins available, this will hopefully be the case. %prep %setup -q -n Kwiki-%{version} +%patch0 -p1 %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 @@ -99,6 +101,9 @@ make test %{_mandir}/man3/* %changelog +* Thu May 18 2017 Jitka Plesnikova <jples...@redhat.com> - 0.39-30 +- Fix building on Perl without '.' in @INC + * Sat Feb 11 2017 Fedora Release Engineering <rel...@fedoraproject.org> - 0.39-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild -- cgit v1.1 https://src.fedoraproject.org/cgit/perl-Kwiki.git/commit/?h=master&id=d0f74135267e0a16aa20f1cd3aa03f5862d0eb92 _______________________________________________ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org