From 3c830d7169f41c6ff9f714ba80a77888fba6e07e614d6057a3387bc18d77c5bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 1 Aug 2016 10:31:22 +0000 Subject: [PATCH] Accepting request 416358 from home:lnussel:branches:Application:Geo - use pkg-config to figure out udevdir. Fixes bootstrapping with udev-mini Please forward to Factory and 42.2! OBS-URL: https://build.opensuse.org/request/show/416358 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/gpsd?expand=0&rev=94 --- gpsd.changes | 6 ++++++ gpsd.spec | 8 ++------ 2 files changed, 8 insertions(+), 6 deletions(-) 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