]> git.pld-linux.org Git - packages/qscintilla2.git/commitdiff
- fix python install paths
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 5 Dec 2015 18:54:14 +0000 (19:54 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 5 Dec 2015 18:54:14 +0000 (19:54 +0100)
python-install.patch [new file with mode: 0644]
qscintilla2.spec

diff --git a/python-install.patch b/python-install.patch
new file mode 100644 (file)
index 0000000..7b45f1d
--- /dev/null
@@ -0,0 +1,11 @@
+--- QScintilla-gpl-2.9.1/Python/configure.py~  2015-12-05 19:19:23.000000000 +0100
++++ QScintilla-gpl-2.9.1/Python/configure.py   2015-12-05 19:53:29.639660268 +0100
+@@ -619,7 +619,7 @@
+         self.inc_dir = sysconfig.get_python_inc()
+         self.venv_inc_dir = sysconfig.get_python_inc(prefix=sys.prefix)
+-        self.module_dir = sysconfig.get_python_lib(plat_specific=1)
++        self.module_dir = sysconfig.get_python_lib(plat_specific=1,standard_lib=1)
+         if sys.platform == 'win32':
+             self.data_dir = sys.prefix
index 2940f8e4da0b014b0fb7bbe3587650c2811b2918..39040f7f61d5c5b76e30220bcd405c0736e42275 100644 (file)
@@ -29,6 +29,7 @@ Patch2:               %{name}-make.patch
 Patch3:                %{name}-outoftree.patch
 Patch4:                %{name}-qt5.patch
 Patch5:                %{name}-link.patch
+Patch6:                python-install.patch
 URL:           http://www.riverbankcomputing.co.uk/software/qscintilla/
 %if %{with python2}
 BuildRequires: python-sip-devel >= 2:%{sip_ver}
@@ -55,6 +56,7 @@ BuildRequires:        python3-PyQt4 >= %{pyqt4_ver}
 BuildRequires: Qt5Designer-devel >= 5
 BuildRequires: Qt5Gui-devel >= 5
 BuildRequires: Qt5PrintSupport-devel >= 5
+BuildRequires: Qt5UiTools-devel >= 5
 BuildRequires: Qt5Widgets-devel >= 5
 BuildRequires: qt5-build >= 5
 BuildRequires: qt5-qmake >= 5
@@ -295,6 +297,7 @@ Wiązania Pythona 3 dla komponentu QScintilla2 (wersja dla PyQt5).
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 %build
 for qt in %{?with_qt4:qt4} %{?with_qt5:qt5} ; do
This page took 0.102259 seconds and 4 git commands to generate.