rpms/hal/devel hal.spec,1.139,1.140
David Zeuthen (davidz)
fedora-extras-commits at redhat.com
Thu Dec 6 07:02:08 UTC 2007
Author: davidz
Update of /cvs/pkgs/rpms/hal/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4808
Modified Files:
hal.spec
Log Message:
* Thu Dec 6 2007 David Zeuthen <davidz at redhat.com> - 0.5.10-3%{?dist}
- Grant user 'haldaemon' an authorization to read authorizations of other users
Index: hal.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hal/devel/hal.spec,v
retrieving revision 1.139
retrieving revision 1.140
diff -u -r1.139 -r1.140
--- hal.spec 23 Oct 2007 04:16:22 -0000 1.139
+++ hal.spec 6 Dec 2007 07:01:31 -0000 1.140
@@ -18,7 +18,7 @@
%define gtk_doc_version 1.4
%define consolekit_version 0.2.0
%define acl_version 2.2.39
-%define policykit_version 0.6
+%define policykit_version 0.7
%define gperf_version 3.0.1
%define hal_user_uid 68
@@ -26,7 +26,7 @@
Summary: Hardware Abstraction Layer
Name: hal
Version: 0.5.10
-Release: 2%{?dist}
+Release: 3%{?dist}
URL: http://www.freedesktop.org/Software/hal
Source0: http://hal.freedesktop.org/releases/%{name}-%{version}.tar.gz
@@ -37,6 +37,7 @@
Requires(preun): chkconfig
Requires(post): /sbin/ldconfig
Requires(pre): /usr/sbin/useradd
+Requires(pre): /usr/bin/polkit-auth
Requires(postun): gawk, grep, coreutils, /sbin/ldconfig
BuildRequires: expat-devel >= %{expat_version}
BuildRequires: glib2-devel >= %{glib2_version}
@@ -141,6 +142,9 @@
/usr/sbin/useradd -c 'HAL daemon' -u %{hal_user_uid} \
-s /sbin/nologin -r -d '/' haldaemon 2> /dev/null || :
+# User haldaemon needs to be able to read authorizations
+/usr/bin/polkit-auth --user haldaemon --grant org.freedesktop.policykit.read >& /dev/null || :
+
%post
/sbin/ldconfig
/sbin/chkconfig --add haldaemon
@@ -232,6 +236,9 @@
%{_datadir}/gtk-doc/html/libhal-storage/*
%changelog
+* Thu Dec 6 2007 David Zeuthen <davidz at redhat.com> - 0.5.10-3%{?dist}
+- Grant user 'haldaemon' an authorization to read authorizations of other users
+
* Tue Oct 23 2007 Matthias Clasen <mclasen at redhat.com> - 0.5.10-2
- Rebuild against new dbus-glib
More information about the scm-commits
mailing list