]> git.pld-linux.org Git - packages/hal.git/commitdiff
- grant proper PolKit rights auto/th/hal-0_5_10-6
authorPatryk Zawadzki <patrys@room-303.com>
Tue, 15 Jan 2008 18:03:48 +0000 (18:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    hal.spec -> 1.150

hal.spec

index cceb34b910b0e8c1e1d02fef75e7fd2db4c9e94a..231099da31eff6c431f3a41117fe11f2a658f1f7 100644 (file)
--- a/hal.spec
+++ b/hal.spec
@@ -6,7 +6,7 @@ Summary:        HAL - Hardware Abstraction Layer
 Summary(pl.UTF-8):     HAL - abstrakcyjna warstwa dostępu do sprzętu
 Name:          hal
 Version:       0.5.10
-Release:       5
+Release:       6
 License:       AFL v2.0 or GPL v2
 Group:         Libraries
 Source0:       http://hal.freedesktop.org/releases/%{name}-%{version}.tar.gz
@@ -19,7 +19,7 @@ Patch1:               %{name}-parted.patch
 Patch2:                %{name}-link.patch
 Patch3:                %{name}-dbus.patch
 URL:           http://freedesktop.org/Software/hal
-BuildRequires: PolicyKit-devel >= 0.5
+BuildRequires: PolicyKit-devel >= 0.7
 BuildRequires: autoconf >= 2.57
 BuildRequires: automake
 BuildRequires: dbus-glib-devel >= 0.71
@@ -56,10 +56,11 @@ Requires(pre):      /bin/id
 Requires(pre): /usr/bin/getgid
 Requires(pre): /usr/sbin/groupadd
 Requires(pre): /usr/sbin/useradd
+Requires(pre): /usr/bin/polkit-auth
 %pyrequires_eq python
 Requires:      %{name}-libs = %{version}-%{release}
 #Requires:     ConsoleKit
-Requires:      PolicyKit >= 0.5
+Requires:      PolicyKit >= 0.7
 Requires:      dbus >= 0.91
 Requires:      dmidecode >= 2.7
 Requires:      glib2 >= 1:2.12.1
@@ -197,6 +198,8 @@ rm -rf $RPM_BUILD_ROOT
 %pre
 %groupadd -g 126 -r -f haldaemon
 %useradd -u 126 -r -d /usr/share/empty -s /bin/false -c "HAL daemon" -g haldaemon haldaemon
+/usr/bin/polkit-auth --user haldaemon --grant org.freedesktop.policykit.read >& /dev/null || :
+
 
 %post
 /sbin/chkconfig --add haldaemon
This page took 0.121228 seconds and 4 git commands to generate.