Accepting request 156711 from Base:System
- add /etc/polkit-1/rules.d/50-default-privs.rules as ghost so it gets associated with the package - require ibmozjs185-1_0 as polkit won't apply the policy without it (bnc#804376) - set logind inhibit policies to upstream defaults (bnc#804376) - more elaborate --check-override option - add some debugging capabilities in generated code OBS-URL: https://build.opensuse.org/request/show/156711 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit-default-privs?expand=0&rev=81
This commit is contained in:
commit
c64e4f3659
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:42ef86d3bf1292e7bbfac5efb18385a412f179364904044c1079d81a6dc791d8
|
oid sha256:6183422a4433473dafbf7637358b683a78558c5ac312a3e34f069c8bbcbe7025
|
||||||
size 17520
|
size 17727
|
||||||
|
@ -1,3 +1,26 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 27 12:54:05 UTC 2013 - lnussel@suse.de
|
||||||
|
|
||||||
|
- add /etc/polkit-1/rules.d/50-default-privs.rules as ghost so it
|
||||||
|
gets associated with the package
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 27 10:34:24 UTC 2013 - lnussel@suse.de
|
||||||
|
|
||||||
|
- require ibmozjs185-1_0 as polkit won't apply the policy without it
|
||||||
|
(bnc#804376)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 26 16:37:28 UTC 2013 - lnussel@suse.de
|
||||||
|
|
||||||
|
- set logind inhibit policies to upstream defaults (bnc#804376)
|
||||||
|
- more elaborate --check-override option
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 25 15:36:41 UTC 2013 - lnussel@suse.de
|
||||||
|
|
||||||
|
- add some debugging capabilities in generated code
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Feb 23 07:17:06 UTC 2013 - coolo@suse.com
|
Sat Feb 23 07:17:06 UTC 2013 - coolo@suse.com
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@ Group: Productivity/Security
|
|||||||
Source: polkit-default-privs-%version.tar.bz2
|
Source: polkit-default-privs-%version.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: polkit
|
BuildRequires: polkit
|
||||||
|
Requires: libmozjs185-1_0
|
||||||
Requires: polkit
|
Requires: polkit
|
||||||
Supplements: PolicyKit
|
Supplements: PolicyKit
|
||||||
Supplements: libpolkit0, polkit
|
Supplements: libpolkit0, polkit
|
||||||
@ -50,6 +51,7 @@ Authors:
|
|||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
mkdir -p $RPM_BUILD_ROOT/etc/polkit-1/rules.d/
|
mkdir -p $RPM_BUILD_ROOT/etc/polkit-1/rules.d/
|
||||||
|
> $RPM_BUILD_ROOT/etc/polkit-1/rules.d/50-default-privs.rules
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{fillup_only -ns security polkit_default_privs}
|
%{fillup_only -ns security polkit_default_privs}
|
||||||
@ -60,6 +62,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
%ghost %attr(0644,root,root) /etc/polkit-1/rules.d/50-default-privs.rules
|
||||||
%config /etc/polkit-default-privs.standard
|
%config /etc/polkit-default-privs.standard
|
||||||
%config /etc/polkit-default-privs.restrictive
|
%config /etc/polkit-default-privs.restrictive
|
||||||
%config(noreplace) /etc/polkit-default-privs.local
|
%config(noreplace) /etc/polkit-default-privs.local
|
||||||
|
Loading…
Reference in New Issue
Block a user