[python-pyside] Update to 1.0.6
Kalev Lember
kalev at fedoraproject.org
Thu Aug 25 08:03:50 UTC 2011
commit 53297e37183188b125a576356050436f612e5783
Author: Kalev Lember <kalevlember at gmail.com>
Date: Thu Aug 25 10:49:32 2011 +0300
Update to 1.0.6
pyside-qt4.8.patch | 11 +++++++++++
python-pyside.spec | 9 ++++++++-
sources | 2 +-
3 files changed, 20 insertions(+), 2 deletions(-)
---
diff --git a/pyside-qt4.8.patch b/pyside-qt4.8.patch
new file mode 100644
index 0000000..b3174a3
--- /dev/null
+++ b/pyside-qt4.8.patch
@@ -0,0 +1,11 @@
+--- pyside-qt4.7+1.0.6/PySide/QtScript/typesystem_script.xml.orig 2011-08-25 00:46:33.876869101 +0300
++++ pyside-qt4.7+1.0.6/PySide/QtScript/typesystem_script.xml 2011-08-25 00:47:15.400937890 +0300
+@@ -40,6 +40,8 @@
+ <object-type name="QScriptEngine">
+ <enum-type name="QObjectWrapOption" flags="QObjectWrapOptions"/>
+ <enum-type name="ValueOwnership"/>
++ <!-- Not supported BUG #957-->
++ <modify-function signature="scriptValueFromQMetaObject()" remove="all" />
+ </object-type>
+ <object-type name="QScriptExtensionInterface"/>
+ <object-type name="QScriptExtensionPlugin"/>
diff --git a/python-pyside.spec b/python-pyside.spec
index 9cd2597..6c0fe55 100644
--- a/python-pyside.spec
+++ b/python-pyside.spec
@@ -1,7 +1,7 @@
%global runtests 1
Name: python-pyside
-Version: 1.0.4
+Version: 1.0.6
Release: 1%{?dist}
Summary: Python bindings for Qt4
@@ -9,6 +9,8 @@ Group: Development/Languages
License: LGPLv2
URL: http://www.pyside.org
Source0: http://www.pyside.org/files/pyside-qt4.7+%{version}.tar.bz2
+# http://bugs.pyside.org/show_bug.cgi?id=957
+Patch0: pyside-qt4.8.patch
BuildRequires: cmake
BuildRequires: generatorrunner-devel
@@ -50,6 +52,7 @@ developing applications that use %{name}.
%prep
%setup -q -n pyside-qt4.7+%{version}
+%patch0 -p1 -b .qt4.8
# Fix up unit tests to use lrelease-qt4
sed -i -e "s/lrelease /lrelease-qt4 /" tests/QtCore/translation_test.py
@@ -104,6 +107,10 @@ popd
%changelog
+* Thu Aug 25 2011 Kalev Lember <kalevlember at gmail.com> - 1.0.6-1
+- Update to 1.0.6
+- Added a patch for building with Qt 4.8
+
* Thu Jun 23 2011 Kalev Lember <kalev at smartlink.ee> - 1.0.4-1
- Update to 1.0.4
- Cleaned up the spec file for modern rpmbuild
diff --git a/sources b/sources
index 1dd9ac8..0b02fcc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-868181813ee7648674a9b2ead8267ea8 pyside-qt4.7+1.0.4.tar.bz2
+2f502c1f2ff14de5f456c77a8d7a77d3 pyside-qt4.7+1.0.6.tar.bz2
More information about the scm-commits
mailing list