diff --git a/Mail-Mbox-MessageParser-1.5105-Fix-building-on-Perl-without-dot-in-INC.patch b/Mail-Mbox-MessageParser-1.5105-Fix-building-on-Perl-without-dot-in-INC.patch new file mode 100644 index 0000000..e20499d --- /dev/null +++ b/Mail-Mbox-MessageParser-1.5105-Fix-building-on-Perl-without-dot-in-INC.patch @@ -0,0 +1,11 @@ +diff -up Mail-Mbox-MessageParser-1.5105/Makefile.PL.orig Mail-Mbox-MessageParser-1.5105/Makefile.PL +--- Mail-Mbox-MessageParser-1.5105/Makefile.PL.orig 2017-05-17 16:46:27.904071147 +0200 ++++ Mail-Mbox-MessageParser-1.5105/Makefile.PL 2017-05-17 16:47:01.568939390 +0200 +@@ -2,6 +2,7 @@ + + use strict; + ++BEGIN { push @INC, '.'; } + # For PRIVATE Module::Install extensions + use lib 'private-lib'; + diff --git a/perl-Mail-Mbox-MessageParser.spec b/perl-Mail-Mbox-MessageParser.spec index 555da64..825f9d5 100644 --- a/perl-Mail-Mbox-MessageParser.spec +++ b/perl-Mail-Mbox-MessageParser.spec @@ -1,11 +1,12 @@ Summary: A fast and simple mbox folder reader Name: perl-Mail-Mbox-MessageParser Version: 1.5105 -Release: 7%{?dist} +Release: 8%{?dist} License: GPLv2 URL: http://search.cpan.org/dist/Mail-Mbox-MessageParser/ Source0: http://search.cpan.org/CPAN/authors/id/D/DC/DCOPPIT/Mail-Mbox-MessageParser-%{version}.tar.gz Source1: perl-module-version-filter +Patch0: Mail-Mbox-MessageParser-1.5105-Fix-building-on-Perl-without-dot-in-INC.patch BuildArch: noarch # Module Build BuildRequires: coreutils @@ -54,6 +55,7 @@ information, GNU grep, or highly optimized Perl. %prep %setup -q -n Mail-Mbox-MessageParser-%{version} +%patch0 -p1 # Auto provides aren't clever enough for what Mail::Mbox::MessageParser does %if 0%{?__perllib_provides:1} @@ -99,6 +101,9 @@ make test %{_mandir}/man3/Mail::Mbox::MessageParser::Perl.3* %changelog +* Wed May 17 2017 Jitka Plesnikova - 1.5105-8 +- Fix building on Perl without '.' in @INC + * Sat Feb 11 2017 Fedora Release Engineering - 1.5105-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild