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