[packages/gpsd] - fix python module install - rel 5
baggins
baggins at pld-linux.org
Fri May 6 09:47:35 CEST 2016
commit 9ebe0c50b9c0963f3998dfd3e3799a206a87a7c5
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri May 6 09:47:21 2016 +0200
- fix python module install
- rel 5
gpsd.spec | 4 +++-
python-install.patch | 11 +++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/gpsd.spec b/gpsd.spec
index 523b8f9..e35e9a1 100644
--- a/gpsd.spec
+++ b/gpsd.spec
@@ -7,7 +7,7 @@ Summary: Service daemon for mediating access to a GPS
Summary(pl.UTF-8): Oprogramowanie komunikujące się z GPS-em
Name: gpsd
Version: 3.10
-Release: 4
+Release: 5
License: BSD
Group: Daemons
Source0: http://download-mirror.savannah.gnu.org/releases/gpsd/%{name}-%{version}.tar.gz
@@ -16,6 +16,7 @@ Patch0: %{name}-link.patch
Patch1: %{name}-qt.patch
Patch2: %{name}-desktop.patch
Patch3: %{name}-destdir.patch
+Patch4: python-install.patch
URL: http://www.catb.org/gpsd/
BuildRequires: QtNetwork-devel >= 4.4
%if %{with dbus}
@@ -218,6 +219,7 @@ xgpsspeed to prędkościomierz używający informacji o położeniu z GPS-a.
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
%build
%scons_env \
diff --git a/python-install.patch b/python-install.patch
new file mode 100644
index 0000000..4ab3141
--- /dev/null
+++ b/python-install.patch
@@ -0,0 +1,11 @@
+--- gpsd-3.10/SConstruct~ 2016-05-06 09:30:20.000000000 +0200
++++ gpsd-3.10/SConstruct 2016-05-06 09:46:02.440157339 +0200
+@@ -1348,7 +1348,7 @@
+ if not env['python']:
+ python_install = []
+ else:
+- python_lib_dir = sysconfig.get_python_lib(plat_specific=1)
++ python_lib_dir = sysconfig.get_python_lib(plat_specific=1,prefix=env['prefix'])
+ python_module_dir = python_lib_dir + os.sep + 'gps'
+ python_extensions_install = python_env.Install( DESTDIR + python_module_dir,
+ python_built_extensions)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gpsd.git/commitdiff/9ebe0c50b9c0963f3998dfd3e3799a206a87a7c5
More information about the pld-cvs-commit
mailing list