rpms/sip/devel sip.spec,1.31,1.32

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Sep 28 21:09:33 UTC 2006


Author: than

Update of /cvs/dist/rpms/sip/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv9640

Modified Files:
	sip.spec 
Log Message:
fix #207297, use qt qmake files



Index: sip.spec
===================================================================
RCS file: /cvs/dist/rpms/sip/devel/sip.spec,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- sip.spec	20 Sep 2006 15:17:01 -0000	1.31
+++ sip.spec	28 Sep 2006 21:09:31 -0000	1.32
@@ -15,7 +15,7 @@
 Summary: SIP - Python/C++ Bindings Generator
 Name: sip
 Version: 4.4.5
-Release: 2
+Release: 3
 License: GPL
 Group: Development/Tools
 Url: http://www.riverbankcomputing.co.uk/
@@ -56,6 +56,13 @@
 %build
 QTDIR="" && source /etc/profile.d/qt.sh
 
+# use qt qmake files
+for target in default linux-g++ linux-g++-32 linux-g++-64 ; do
+  if [ -f $QTDIR/mkspecs/$target/qmake.conf -a -f specs/$target ] ; then
+    ln -sf $QTDIR/mkspecs/$target/qmake.conf specs/$target
+  fi
+done
+
 %pythonprog configure.py -d %{pythonsitedir} CXXFLAGS="%{optflags}" CFLAGS="%{optflags}"
 
 make %{?_smp_mflags} 
@@ -85,6 +92,9 @@
 %{_includedir}/python%{pythonver}/*
 
 %changelog
+* Thu Sep 28 2006 Than Ngo <than at redhat.com> 4.4.5-3
+- fix #207297, use qt qmake files
+
 * Wed Sep 20 2006 Than Ngo <than at redhat.com> 4.4.5-2
 - fix #206633, own %%_datadir/sip
 




More information about the fedora-cvs-commits mailing list