[Bug 190189] Review Request: PyQt4: Python bindings for Qt4

bugzilla at redhat.com bugzilla at redhat.com
Tue Jul 17 00:03:14 UTC 2007


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: PyQt4: Python bindings for Qt4


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=190189





------- Additional Comments From ndbecker2 at gmail.com  2007-07-16 20:03 EST -------
I tried this on fc7 and needed a couple of changes.  I don't know what are the 
best fixes.
diff -r f680525e26ba PyQt4.spec
--- a/PyQt4.spec	Mon Jul 16 20:02:14 2007 -0400
+++ b/PyQt4.spec	Mon Jul 16 20:02:27 2007 -0400
@@ -57,8 +57,9 @@ fi
 %build
 
 #QT4DIR="$(pkg-config --variable=prefix QtCore || echo %{_libdir}/qt4)"
-QT4DIR=%{_qt4_prefix}
-PATH=%{_qt4_bindir}:$PATH ; export PATH
+#QT4DIR=%{_qt4_prefix}
+QT4DIR=/usr/lib64/qt4
+PATH=$QT4DIR/bin:$PATH ; export PATH
 # configure.py isn't smart enough to either use qmake or QMAKEPATH
 QMAKESPEC=$QT4DIR/mkspecs/linux-g++; export QMAKESPEC
 %if "%{_lib}" == "lib64"
@@ -75,6 +76,7 @@ rm -rf $RPM_BUILD_ROOT
 
 make install DESTDIR=$RPM_BUILD_ROOT
 
+chrpath --delete 
$RPM_BUILD_ROOT/usr/lib/python2.5/site-packages/PyQt4/QtDesigner.so 
 
 %clean
 rm -rf $RPM_BUILD_ROOT

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the package-review mailing list