SPECS: qt4.spec - strip -L/usr/lib and don't strip libraries at build

arekm arekm at pld-linux.org
Wed Mar 11 08:52:59 CET 2009


Author: arekm                        Date: Wed Mar 11 07:52:59 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- strip -L/usr/lib and don't strip libraries at build

---- Files affected:
SPECS:
   qt4.spec (1.198 -> 1.199) 

---- Diffs:

================================================================
Index: SPECS/qt4.spec
diff -u SPECS/qt4.spec:1.198 SPECS/qt4.spec:1.199
--- SPECS/qt4.spec:1.198	Tue Mar 10 16:46:59 2009
+++ SPECS/qt4.spec	Wed Mar 11 08:52:54 2009
@@ -1350,6 +1350,16 @@
 	s|QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT       = %{_includedir}/qt4|;
 	' mkspecs/common/linux.conf
 
+# No -L/usr/lib.
+%{__sed} -i -e '
+	s|^QMAKE_LIBDIR_QT.*=.*|QMAKE_LIBDIR_QT       =|;
+	' mkspecs/common/linux.conf
+
+# undefine QMAKE_STRIP, so we get useful -debuginfo pkgs
+%{__sed} -i -e '
+	s|^QMAKE_STRIP.*=.*|QMAKE_STRIP             =|;
+	' mkspecs/common/linux.conf
+
 %build
 # pass OPTFLAGS to build qmake itself with optimization
 export OPTFLAGS="%{rpmcflags}"
@@ -2162,6 +2172,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.199  2009/03/11 07:52:54  arekm
+- strip -L/usr/lib and don't strip libraries at build
+
 Revision 1.198  2009/03/10 15:46:59  arekm
 - explictly req shared build
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/qt4.spec?r1=1.198&r2=1.199&f=u



More information about the pld-cvs-commit mailing list