RPM Packaging: update python-tqt

pull/3/head
François Andriot 12 years ago
parent 96cd6c807c
commit c8ae6831b9

@ -1,33 +0,0 @@
--- trinity-python-tqt-14.0.0~pre36+d3f27c3e/sip/qt/qobject.sip.ORI 2013-07-03 20:23:06.054830311 +0200
+++ trinity-python-tqt-14.0.0~pre36+d3f27c3e/sip/qt/qobject.sip 2013-07-03 20:23:14.833911835 +0200
@@ -2196,7 +2196,7 @@
// See if it is a TQt signal.
if (*sig == '2')
{
- pyqt3TQtSignal *tab;
+ pyqt3QtSignal *tab;
// Search the table.
for (tab = ((pyqt3ClassTypeDef *)((sipWrapperType *)(self->ob_type))->type)->qt3_emit; tab->st_name != NULL; ++tab)
--- trinity-python-tqt-14.0.0~pre36+d3f27c3e/configure.py.ORI 2013-07-23 18:00:47.017942165 +0200
+++ trinity-python-tqt-14.0.0~pre36+d3f27c3e/configure.py 2013-07-23 18:01:40.757575552 +0200
@@ -321,6 +321,9 @@
makefile.extra_include_dirs.append(qt_dir + "/src/3rdparty/zlib")
makefile.extra_include_dirs.append(os.path.join(src_dir, "pyuic3"))
+ if not os.access("pyuic3", os.F_OK):
+ os.mkdir("pyuic3")
+
makefile.generate()
tool_dirs.append("pyuic3")
@@ -350,6 +353,9 @@
makefile.extra_include_dirs.append(os.path.join(src_dir, "pylupdate3"))
+ if not os.access("pylupdate3", os.F_OK):
+ os.mkdir("pylupdate3")
+
makefile.generate()
tool_dirs.append("pylupdate3")
elif qt_version >= 0x020000:

@ -24,10 +24,9 @@ Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch0: python-tqt-14.0.0-ftbfs.patch
BuildRequires: gcc-c++
BuildRequires: trinity-tqtinterface-devel >= %{version}
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-tqscintilla-devel
%if 0%{?rhel} || 0%{?fedora}
@ -140,7 +139,6 @@ packages based on them, like PyTDE.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch0 -p1
%build

Loading…
Cancel
Save