SPECS: qt4.spec - let pkg-config set includedir not only to top qt...

pascalek pascalek at pld-linux.org
Mon Jul 11 02:19:32 CEST 2005


Author: pascalek                     Date: Mon Jul 11 00:19:32 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- let pkg-config set includedir not only to top qt4 includedir

---- Files affected:
SPECS:
   qt4.spec (1.32 -> 1.33) 

---- Diffs:

================================================================
Index: SPECS/qt4.spec
diff -u SPECS/qt4.spec:1.32 SPECS/qt4.spec:1.33
--- SPECS/qt4.spec:1.32	Mon Jul  4 23:45:01 2005
+++ SPECS/qt4.spec	Mon Jul 11 02:19:26 2005
@@ -856,7 +856,9 @@
 cd -
 
 for f in $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc; do
+	MODULE=`echo $f | basename $f | cut -d. -f1`
 	sed -i -e s:-L`pwd`/lib::g $f
+	sed -i -e s:-I\${includedir}:-I\${includedir}\ -I\${includedir}/$MODULE: $f
 done
 
 # Prepare some files list
@@ -1121,6 +1123,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.33  2005/07/11 00:19:26  pascalek
+- let pkg-config set includedir not only to top qt4 includedir
+
 Revision 1.32  2005/07/04 21:45:01  qboosh
 - cosmetics
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/qt4.spec?r1=1.32&r2=1.33&f=u




More information about the pld-cvs-commit mailing list