Fix building on Perl 5.26
This commit is contained in:
parent
3f5d0cc292
commit
47824a536b
11
po4a-0.47-Fix-building-on-Perl-without-dot-in-INC.patch
Normal file
11
po4a-0.47-Fix-building-on-Perl-without-dot-in-INC.patch
Normal file
@ -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
|
@ -6,6 +6,7 @@ License: GPL+
|
|||||||
URL: https://po4a.alioth.debian.org/
|
URL: https://po4a.alioth.debian.org/
|
||||||
|
|
||||||
Source0: http://ftp.debian.org/debian/pool/main/p/po4a/%{name}_%{version}.orig.tar.gz
|
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
|
BuildArch: noarch
|
||||||
BuildRequires: %{_bindir}/xsltproc
|
BuildRequires: %{_bindir}/xsltproc
|
||||||
@ -89,6 +90,7 @@ tools on areas where they were not expected like documentation.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
chmod +x scripts/*
|
chmod +x scripts/*
|
||||||
|
|
||||||
@ -137,6 +139,7 @@ find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|||||||
%changelog
|
%changelog
|
||||||
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.47-5
|
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.47-5
|
||||||
- Perl 5.26 rebuild
|
- Perl 5.26 rebuild
|
||||||
|
- Fix building on Perl without '.' in @INC
|
||||||
|
|
||||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.47-4
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.47-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
Loading…
Reference in New Issue
Block a user