rpms/perl/F-13 perl-5.10.1-fix_local_build.patch, NONE, 1.1 perl.spec, 1.254, 1.255

Marcela Mašláňová mmaslano at fedoraproject.org
Tue Jun 15 14:50:42 UTC 2010


Author: mmaslano

Update of /cvs/pkgs/rpms/perl/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv29241

Modified Files:
	perl.spec 
Added Files:
	perl-5.10.1-fix_local_build.patch 
Log Message:
Fix build failure. Paths were incorrect.


perl-5.10.1-fix_local_build.patch:
 Makefile.PL |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE perl-5.10.1-fix_local_build.patch ---
diff -up perl-5.10.1/ext/Sys-Syslog/Makefile.PL.bbb perl-5.10.1/ext/Sys-Syslog/Makefile.PL
--- perl-5.10.1/ext/Sys-Syslog/Makefile.PL.bbb	2010-06-07 13:48:15.402523454 +0200
+++ perl-5.10.1/ext/Sys-Syslog/Makefile.PL	2010-06-07 13:48:27.542506637 +0200
@@ -1,7 +1,7 @@
 use strict;
 use Config;
 use ExtUtils::MakeMaker;
-eval 'use ExtUtils::MakeMaker::Coverage';
+#eval 'use ExtUtils::MakeMaker::Coverage';
 use File::Copy;
 use File::Path;
 use File::Spec;


Index: perl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl/F-13/perl.spec,v
retrieving revision 1.254
retrieving revision 1.255
diff -u -p -r1.254 -r1.255
--- perl.spec	7 Mar 2010 05:58:00 -0000	1.254
+++ perl.spec	15 Jun 2010 14:50:42 -0000	1.255
@@ -24,6 +24,9 @@ Source11:       filter-requires.sh
 Source12:       perl-5.8.0-libnet.cfg
 Source13:       macros.perl
 
+# overload.pm is looking into wrong directories if perl was already installed
+# http://www.gossamer-threads.com/lists/perl/porters/242181
+Patch0:         perl-5.10.1-fix_local_build.patch
 # Specific to Fedora/RHEL
 Patch1:         perl-suid-noroot.patch
 
@@ -913,6 +916,7 @@ upstream tarball from perl.org.
 
 %prep
 %setup -q
+%patch0 -p1
 %patch1 -p1
 %patch2 -p1
 # This patch breaks sparc64 compilation
@@ -1147,6 +1151,7 @@ popd
 # Local patch tracking
 pushd %{build_archlib}/CORE/
 %{new_perl} -x patchlevel.h \
+    'Fedora Patch0: Fix paths leading to build failure' \
 	'Fedora Patch1: Permit suidperl to install as nonroot' \
 	'Fedora Patch2: Removes date check, Fedora/RHEL specific' \
 %ifnarch sparc64 \



More information about the scm-commits mailing list