From cdf32eae80120e6b7a3aee3fcb07f89abb5694e0d4c4b7aa1aeba07bd2c27de9 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 18 Oct 2012 22:05:51 +0000 Subject: [PATCH] Accepting request 138506 from openSUSE:Factory:Staging:Systemd - Fix build with new udev rules directory location. OBS-URL: https://build.opensuse.org/request/show/138506 OBS-URL: https://build.opensuse.org/package/show/Base:System/udisks2?expand=0&rev=16 --- udisks2.changes | 5 +++++ udisks2.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/udisks2.changes b/udisks2.changes index c7a27d7..7a4cb8b 100644 --- a/udisks2.changes +++ b/udisks2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 17 13:03:06 UTC 2012 - fcrozat@suse.com + +- Fix build with new udev rules directory location. + ------------------------------------------------------------------- Tue Sep 25 09:19:57 UTC 2012 - dimstar@opensuse.org diff --git a/udisks2.spec b/udisks2.spec index 022742f..8ee94d9 100644 --- a/udisks2.spec +++ b/udisks2.spec @@ -16,6 +16,8 @@ # +%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d + Name: udisks2 %define _name udisks Version: 1.99.0 @@ -128,7 +130,7 @@ find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %defattr(-,root,root,-) %doc AUTHORS COPYING NEWS README %{_unitdir}/udisks2.service -/lib/udev/rules.d/80-udisks2.rules +%{_udevrulesdir}/80-udisks2.rules %{_sbindir}/umount.udisks2 %{_bindir}/udisksctl %dir %{_libexecdir}/udisks2