From b28842f99173810520c9ccc63e5c44c9dabdc123 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: May 23 2017 13:47:10 +0000 Subject: Fix building on Perl without '.' in @INC (CPAN RT#121833) --- diff --git a/FCGI-Client-0.08-Fix-building-on-Perl-without-dot-in-INC.patch b/FCGI-Client-0.08-Fix-building-on-Perl-without-dot-in-INC.patch new file mode 100644 index 0000000..8a0e400 --- /dev/null +++ b/FCGI-Client-0.08-Fix-building-on-Perl-without-dot-in-INC.patch @@ -0,0 +1,8 @@ +diff -up FCGI-Client-0.08/Makefile.PL.orig FCGI-Client-0.08/Makefile.PL +--- FCGI-Client-0.08/Makefile.PL.orig 2017-05-23 15:41:46.288107247 +0200 ++++ FCGI-Client-0.08/Makefile.PL 2017-05-23 15:42:00.951022292 +0200 +@@ -1,3 +1,4 @@ ++BEGIN { push @INC, '.'; } + use inc::Module::Install; + name 'FCGI-Client'; + all_from 'lib/FCGI/Client.pm'; diff --git a/perl-FCGI-Client.spec b/perl-FCGI-Client.spec index 2074197..1bba904 100644 --- a/perl-FCGI-Client.spec +++ b/perl-FCGI-Client.spec @@ -1,7 +1,7 @@ Name: perl-FCGI-Client Summary: Client library for the fastcgi protocol Version: 0.08 -Release: 15%{?dist} +Release: 16%{?dist} # lib/FCGI/Client.pm -> GPL+ or Artistic License: GPL+ or Artistic Group: Development/Libraries @@ -9,6 +9,7 @@ Source0: http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/FCGI-Clien URL: http://search.cpan.org/dist/FCGI-Client Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch +Patch0: FCGI-Client-0.08-Fix-building-on-Perl-without-dot-in-INC.patch BuildRequires: coreutils BuildRequires: findutils @@ -46,6 +47,7 @@ FCGI::Client is a client library for the fastcgi protocol. %prep %setup -q -n FCGI-Client-%{version} +%patch0 -p1 %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -67,6 +69,9 @@ make test %{_mandir}/man3/*.3* %changelog +* Tue May 23 2017 Jitka Plesnikova - 0.08-16 +- Fix building on Perl without '.' in @INC + * Sat Feb 11 2017 Fedora Release Engineering - 0.08-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild