[udev] udev.spec: own the ConsoleKit and ConsoleKit/run-seat.d dirs
Harald Hoyer
harald at fedoraproject.org
Mon Jun 20 08:26:39 UTC 2011
commit 2443122e5f429f84e19a679d7ad0ead3b51f982d
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Mon Jun 20 10:23:17 2011 +0200
udev.spec: own the ConsoleKit and ConsoleKit/run-seat.d dirs
If udev does not actually require ConsoleKit, the dependency should not
be added just for dir ownership, instead the dirs should be owned in
udev which is what the patch does.
http://fedoraproject.org/wiki/Packaging/Guidelines#File_and_Directory_Ownership
https://bugzilla.redhat.com/show_bug.cgi?id=710781
udev.spec | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/udev.spec b/udev.spec
index f8434dd..4c85464 100644
--- a/udev.spec
+++ b/udev.spec
@@ -278,6 +278,8 @@ rm -rf $RPM_BUILD_ROOT
%attr(0755,root,root) %{udev_scriptdir}/findkeyboards
%dir %{udev_scriptdir}/keymaps
%{udev_scriptdir}/keymaps/*
+%dir %{_prefix}/lib/ConsoleKit
+%dir %{_prefix}/lib/ConsoleKit/run-seat.d
%attr(0644,root,root) %{_prefix}/lib/ConsoleKit/run-seat.d/udev-acl.ck
%{_datadir}/pkgconfig/udev.pc
More information about the scm-commits
mailing list