diff --git a/po4a-0.47-Fix-building-on-Perl-without-dot-in-INC.patch b/po4a-0.47-Fix-building-on-Perl-without-dot-in-INC.patch new file mode 100644 index 0000000..523b2b6 --- /dev/null +++ b/po4a-0.47-Fix-building-on-Perl-without-dot-in-INC.patch @@ -0,0 +1,11 @@ +diff -up po4a-0.47/Build.PL.orig po4a-0.47/Build.PL +--- po4a-0.47/Build.PL.orig 2017-06-06 10:21:49.923240842 +0200 ++++ po4a-0.47/Build.PL 2017-06-06 10:22:53.154900982 +0200 +@@ -1,6 +1,6 @@ + #!/usr/bin/perl + +-use lib q('.'); ++use lib '.'; + use Po4aBuilder; + + my $build = Po4aBuilder->new diff --git a/po4a.spec b/po4a.spec index cda927d..db163dd 100644 --- a/po4a.spec +++ b/po4a.spec @@ -6,6 +6,7 @@ License: GPL+ URL: https://po4a.alioth.debian.org/ Source0: http://ftp.debian.org/debian/pool/main/p/po4a/%{name}_%{version}.orig.tar.gz +Patch0: po4a-0.47-Fix-building-on-Perl-without-dot-in-INC.patch BuildArch: noarch BuildRequires: %{_bindir}/xsltproc @@ -89,6 +90,7 @@ tools on areas where they were not expected like documentation. %prep %setup -q -n %{name}-%{version} +%patch0 -p1 chmod +x scripts/* @@ -137,6 +139,7 @@ find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' %changelog * Mon Jun 05 2017 Jitka Plesnikova - 0.47-5 - Perl 5.26 rebuild +- Fix building on Perl without '.' in @INC * Sat Feb 11 2017 Fedora Release Engineering - 0.47-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild