[PyQt4] ImportError: cannot import name uic (#958736)

Rex Dieter rdieter at fedoraproject.org
Thu May 2 14:08:40 UTC 2013


commit 23192d98902f0b1ebb87719abb6c686dade73451
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Thu May 2 09:08:40 2013 -0500

    ImportError: cannot import name uic (#958736)

 PyQt4.spec |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/PyQt4.spec b/PyQt4.spec
index f88a55e..23b248c 100644
--- a/PyQt4.spec
+++ b/PyQt4.spec
@@ -8,7 +8,7 @@
 Summary: Python bindings for Qt4
 Name: 	 PyQt4
 Version: 4.10.1
-Release: 2%{?dist}
+Release: 3%{?dist}
 
 # GPLv2 exceptions(see GPL_EXCEPTIONS*.txt)
 License: GPLv3 or GPLv2 with exceptions
@@ -281,6 +281,7 @@ diff -u ./sip/QtOpenGL/opengl_types.sip.orig \
 %{python_sitearch}/PyQt4/QtWebKit.so
 %{python_sitearch}/PyQt4/QtXml.so
 %{python_sitearch}/PyQt4/QtXmlPatterns.so
+%{python_sitearch}/PyQt4/uic/
 %{python_sitearch}/dbus/mainloop/_dbus_qt/
 %{python_sitelib}/dbus/mainloop/qt.py*
 %{_qt4_plugindir}/designer/*
@@ -294,7 +295,6 @@ diff -u ./sip/QtOpenGL/opengl_types.sip.orig \
 %{_bindir}/pylupdate4
 %{_bindir}/pyrcc4
 %{_bindir}/pyuic4
-%{python_sitearch}/PyQt4/uic/
 %{_datadir}/sip/PyQt4/
 %if 0%{?qscintilla}
 %{_qt4_datadir}/qsci/api/python/PyQt4.api
@@ -310,6 +310,7 @@ diff -u ./sip/QtOpenGL/opengl_types.sip.orig \
 %{python3_sitearch}/PyQt4/__init__.py*
 %{python3_sitearch}/PyQt4/__pycache__/
 %{python3_sitearch}/PyQt4/pyqtconfig.py*
+%{python3_sitearch}/PyQt4/phonon.so
 %{python3_sitearch}/PyQt4/Qt.so
 %{python3_sitearch}/PyQt4/QtCore.so
 %{python3_sitearch}/PyQt4/QtDBus.so
@@ -328,7 +329,7 @@ diff -u ./sip/QtOpenGL/opengl_types.sip.orig \
 %{python3_sitearch}/PyQt4/QtWebKit.so
 %{python3_sitearch}/PyQt4/QtXml.so
 %{python3_sitearch}/PyQt4/QtXmlPatterns.so
-%{python3_sitearch}/PyQt4/phonon.so
+%{python3_sitearch}/PyQt4/uic/
 
 %files -n python3-%{name}-assistant
 %{python3_sitearch}/PyQt4/QtAssistant.so
@@ -336,7 +337,6 @@ diff -u ./sip/QtOpenGL/opengl_types.sip.orig \
 %files -n python3-%{name}-devel
 %doc doc/*
 %doc examples/
-%{python3_sitearch}/PyQt4/uic/
 %{_datadir}/python3-sip/PyQt4/
 %if 0%{?fedora}
 %{_qt4_datadir}/qsci/api/python/PyQt4.api
@@ -345,6 +345,9 @@ diff -u ./sip/QtOpenGL/opengl_types.sip.orig \
 
 
 %changelog
+* Thu May 02 2013 Rex Dieter <rdieter at fedoraproject.org> 4.10.1-3
+- ImportError: cannot import name uic (#958736)
+
 * Fri Apr 26 2013 Rex Dieter <rdieter at fedoraproject.org> 4.10.1-2
 - filter private shared objects
 - %%{python_sitelib}/dbus/mainloop/qt.so should be in %%python_sitearch (#957260)


More information about the scm-commits mailing list