diff --git a/gpsd.changes b/gpsd.changes index aadf096..e632184 100644 --- a/gpsd.changes +++ b/gpsd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Aug 1 09:42:57 UTC 2016 - lnussel@suse.de + +- use pkg-config to figure out udevdir. Fixes bootstrapping with + udev-mini + ------------------------------------------------------------------- Tue Nov 24 09:58:15 UTC 2015 - joop.boonen@opensuse.org diff --git a/gpsd.spec b/gpsd.spec index 35d24bb..6f0f4fe 100644 --- a/gpsd.spec +++ b/gpsd.spec @@ -1,7 +1,7 @@ # # spec file for package gpsd # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,11 +18,7 @@ %define libgps libgps22 %define libQgps libQgpsmm22 -%if %( echo `rpm -q --queryformat %%{version} udev` ) > 190 -%define _udevdir %{_libexecdir}/udev/ -%else -%define _udevdir /lib/udev/ -%endif +%define _udevdir %(pkg-config --variable udevdir udev) Name: gpsd Version: 3.15 Release: 0