From c029025a90dbe1c3345b13ea1b26162967d367e3ce9597aa87f08913339f8b0c Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Wed, 9 Dec 2009 10:11:25 +0000 Subject: [PATCH] fixed build OBS-URL: https://build.opensuse.org/package/show/Application:Geo/gpsd?expand=0&rev=51 --- gpsd.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gpsd.spec b/gpsd.spec index 1c673bd..0a8c5ad 100644 --- a/gpsd.spec +++ b/gpsd.spec @@ -42,6 +42,11 @@ Source5: xgps.desktop Source6: xgpsspeed.desktop BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} > 1110 +%else +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif + %description gpsd is a service daemon that mediates access to a GPS sensor connected to the host computer by serial or USB interface, making its data on the