From db00cdfc1bd4cbfdc35d791ccdc1f0ddca0594c68a837e785591406782da3cf7 Mon Sep 17 00:00:00 2001 From: Fabian Vogt Date: Mon, 22 Oct 2018 17:25:24 +0000 Subject: [PATCH] Accepting request 643781 from home:wolfi323:test - Use %{_udevrulesdir} macro to specify the install directory for udev rules instead of a hard-coded path OBS-URL: https://build.opensuse.org/request/show/643781 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/bluez-qt?expand=0&rev=120 --- bluez-qt.changes | 6 ++++++ bluez-qt.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/bluez-qt.changes b/bluez-qt.changes index fd51184..619d690 100644 --- a/bluez-qt.changes +++ b/bluez-qt.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Oct 22 17:15:56 UTC 2018 - wbauer@tmo.at + +- Use %{_udevrulesdir} macro to specify the install directory for + udev rules instead of a hard-coded path + ------------------------------------------------------------------- Fri Oct 19 18:08:33 UTC 2018 - Fabian Vogt diff --git a/bluez-qt.spec b/bluez-qt.spec index 31240f0..2e0a9c2 100644 --- a/bluez-qt.spec +++ b/bluez-qt.spec @@ -85,7 +85,7 @@ Development files for QBluez Async Bluez wrapper library. %setup -q %build - %cmake_kf5 -d build -- -DUDEV_RULES_INSTALL_DIR="%{_libexecdir}/udev/rules.d" + %cmake_kf5 -d build -- -DUDEV_RULES_INSTALL_DIR="%{_udevrulesdir}" %make_jobs %install @@ -107,7 +107,7 @@ Development files for QBluez Async Bluez wrapper library. %{_kf5_qmldir}/ %files udev -%{_libexecdir}/udev/rules.d/61-kde-bluetooth-rfkill.rules +%{_udevrulesdir}/61-kde-bluetooth-rfkill.rules %files devel %{_kf5_libdir}/cmake/%{_libname}/