Accepting request 69720 from home:vuntz:branches:Base:System
Use %set_permissions instead of deprecated %run_permissions OBS-URL: https://build.opensuse.org/request/show/69720 OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=44
This commit is contained in:
parent
0156b5aba7
commit
71ceb8900f
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 5 19:35:05 CEST 2011 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Use %set_permissions instead of deprecated %run_permissions in
|
||||||
|
%post.
|
||||||
|
- Add permissions PreReq, which was missing before.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 26 21:19:32 CEST 2011 - kay.sievers@novell.com
|
Tue Apr 26 21:19:32 CEST 2011 - kay.sievers@novell.com
|
||||||
|
|
||||||
|
@ -33,6 +33,7 @@ BuildRequires: gtk-doc
|
|||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: libexpat-devel
|
BuildRequires: libexpat-devel
|
||||||
BuildRequires: pam-devel
|
BuildRequires: pam-devel
|
||||||
|
PreReq: permissions
|
||||||
Requires: ConsoleKit
|
Requires: ConsoleKit
|
||||||
Requires: dbus-1
|
Requires: dbus-1
|
||||||
Requires: libpolkit0 = %{version}-%{release}
|
Requires: libpolkit0 = %{version}-%{release}
|
||||||
@ -119,7 +120,9 @@ chmod 0755 $RPM_BUILD_ROOT%{_localstatedir}/lib/polkit-1
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%run_permissions
|
%set_permissions %{_bindir}/pkexec
|
||||||
|
%set_permissions %{_prefix}/lib/polkit-1/polkit-agent-helper-1
|
||||||
|
|
||||||
%verifyscript
|
%verifyscript
|
||||||
%verify_permissions -e %{_bindir}/pkexec
|
%verify_permissions -e %{_bindir}/pkexec
|
||||||
%verify_permissions -e %{_prefix}/lib/polkit-1/polkit-agent-helper-1
|
%verify_permissions -e %{_prefix}/lib/polkit-1/polkit-agent-helper-1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user