SPECS: perl.spec - fixed libperl symlink path - pass CC for microperl

qboosh qboosh at pld-linux.org
Sun Feb 10 16:59:21 CET 2008


Author: qboosh                       Date: Sun Feb 10 15:59:21 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed libperl symlink path
- pass CC for microperl

---- Files affected:
SPECS:
   perl.spec (1.382 -> 1.383) 

---- Diffs:

================================================================
Index: SPECS/perl.spec
diff -u SPECS/perl.spec:1.382 SPECS/perl.spec:1.383
--- SPECS/perl.spec:1.382	Sun Feb 10 15:46:42 2008
+++ SPECS/perl.spec	Sun Feb 10 16:59:15 2008
@@ -16,7 +16,6 @@
 # - consider disabling ithreads by default
 # - what about "prove" (binary+manual)? (conflicts with standalone Test-Harness)
 # - patch MakeMaker to get rid of empty *.bs files (MM_Unix::dynamic_bs())
-# - %{__cc}: cc -c -o uhv.o -DPERL_CORE -DPERL_MICRO -DSTANDARD_C -DPERL_USE_SAFE_PUTENV -O2 -march=i686  hv.c
 # - consider separating C/XS development files (*.h, libperl.so)
 #   and perl development modules (like MakeMaker, Devel...)
 # - resolve ugly perl-base/perl-dirs dependency loop
@@ -707,8 +706,6 @@
 ## microperl
 %if %{with microperl}
 %{__rm} uconfig.h
-#chmod u+w uconfig.sh
-#echo "usemallocwrap='define'" >> uconfig.sh
 %{__make} -f Makefile.micro \
 	archlib=%{perl_archlib} \
 	archlibexp=%{perl_archlib} \
@@ -720,6 +717,7 @@
 	scriptdir=%{_bindir} \
 	scriptdirexp=%{_bindir} \
 	usemallocwrap='define' \
+	CC="%{__cc}" \
 	OPTIMIZE="%{rpmcflags}"
 %endif
 
@@ -745,7 +743,7 @@
 #%{__ln_s} `%{__perl} -e '$_="'%{perl_archlib}/CORE/libperl.so.%{_abi}'";s|^'%{_libdir}'/*||;print'` \
 #	$RPM_BUILD_ROOT%{_libdir}/libperl.so.%{_abi}
 mv $RPM_BUILD_ROOT%{perl_archlib}/CORE/libperl.so.%{_abi} $RPM_BUILD_ROOT%{_libdir}
-%{__ln_s} ../../../../libperl.so.%{_abi} $RPM_BUILD_ROOT%{perl_archlib}/libperl.so.%{_abi}
+%{__ln_s} ../../../../libperl.so.%{_abi} $RPM_BUILD_ROOT%{perl_archlib}/CORE/libperl.so.%{_abi}
 %{__ln_s} libperl.so.%{_abi} $RPM_BUILD_ROOT%{_libdir}/libperl.so
 # installed as non-executable - let rpm generate deps
 chmod 755 $RPM_BUILD_ROOT%{_libdir}/libperl.so.%{_abi}
@@ -1454,6 +1452,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.383  2008-02-10 15:59:15  qboosh
+- fixed libperl symlink path
+- pass CC for microperl
+
 Revision 1.382  2008-02-10 14:46:42  qboosh
 - todo update
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/perl.spec?r1=1.382&r2=1.383&f=u



More information about the pld-cvs-commit mailing list