1
0

- Change Requires: polkit to Requires(pre): we need to be sure

polkit is instaled first, as we could otherwise end up with wrong
  permissions on /etc/polkit-1/rules.d.

OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit-default-privs?expand=0&rev=439
This commit is contained in:
Dominique Leuenberger 2021-11-19 13:59:26 +00:00 committed by Git OBS Bridge
parent f8e4bbce3b
commit de7b3c6ea4
2 changed files with 9 additions and 10 deletions

View File

@ -1,16 +1,15 @@
-------------------------------------------------------------------
Fri Nov 19 13:57:09 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Change Requires: polkit to Requires(pre): we need to be sure
polkit is instaled first, as we could otherwise end up with wrong
permissions on /etc/polkit-1/rules.d.
-------------------------------------------------------------------
Fri Nov 19 09:43:34 UTC 2021 - Matthias Gerstner <matthias.gerstner@suse.com>
- remove traces of old polkit-whitelisting sub-package
-------------------------------------------------------------------
Fri Nov 19 07:23:40 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Do not BuildRequire and Require polkit: technically, this is not
required at all. In plus, it helps us a great deal in bootstrap
scenarios, as polkit-default-privs is used by rpmlint, and thus
pulled into every single buildroot.
-------------------------------------------------------------------
Fri Oct 8 09:28:28 UTC 2021 - Matthias Gerstner <matthias.gerstner@suse.com>

View File

@ -32,6 +32,8 @@ Source: polkit-default-privs-%version.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Supplements: PolicyKit
Supplements: libpolkit0
BuildRequires: polkit
Requires(pre): polkit
Supplements: polkit
BuildArch: noarch
# please open bugreports at bugzilla.suse.com
@ -62,8 +64,6 @@ mkdir -p $RPM_BUILD_ROOT/etc/polkit-1/rules.d/
%define profiledir %{basedir}/profiles
%define confdir /etc/polkit-1
%doc README.md
%dir %{confdir}
%dir %{confdir}/rules.d
%ghost %attr(0644,root,root) %{confdir}/rules.d/90-default-privs.rules
%dir %{basedir}
%dir %{profiledir}