From 884335454e7c598a7a294b85e7b6f5577222525772d594f2b6a2bc4804733289 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 17 Oct 2012 20:20:24 +0000 Subject: [PATCH] Accepting request 138487 from openSUSE:Factory:Staging:Systemd - Fix build with new udev rules directory location. OBS-URL: https://build.opensuse.org/request/show/138487 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/colord?expand=0&rev=47 --- colord.changes | 5 +++++ colord.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/colord.changes b/colord.changes index 5fe539f..629c598 100644 --- a/colord.changes +++ b/colord.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 17 11:10:24 UTC 2012 - fcrozat@suse.com + +- Fix build with new udev rules directory location. + ------------------------------------------------------------------- Tue Sep 18 18:28:50 UTC 2012 - dimstar@opensuse.org diff --git a/colord.spec b/colord.spec index ce396bd..731a8db 100644 --- a/colord.spec +++ b/colord.spec @@ -16,6 +16,8 @@ # +%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d + Name: colord Version: 0.1.23 Release: 0 @@ -144,7 +146,7 @@ exit 0 %doc AUTHORS ChangeLog COPYING NEWS README %{_unitdir}/colord.service %{_unitdir}/colord-sane.service -/lib/udev/rules.d/*.rules +%{_udevrulesdir}/*.rules %attr(755,colord,colord) %dir %{_localstatedir}/lib/colord %config(noreplace) %{_sysconfdir}/%{name}.conf %{_sysconfdir}/bash_completion.d/colormgr-completion.bash