From de7b3c6ea409e332eb2f8eaca719cf4b695cf67727847d3c7683b917155a232c Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 19 Nov 2021 13:59:26 +0000 Subject: [PATCH] - 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 --- polkit-default-privs.changes | 15 +++++++-------- polkit-default-privs.spec | 4 ++-- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/polkit-default-privs.changes b/polkit-default-privs.changes index 42c6199..2e3a194 100644 --- a/polkit-default-privs.changes +++ b/polkit-default-privs.changes @@ -1,16 +1,15 @@ +------------------------------------------------------------------- +Fri Nov 19 13:57:09 UTC 2021 - Dominique Leuenberger + +- 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 - remove traces of old polkit-whitelisting sub-package -------------------------------------------------------------------- -Fri Nov 19 07:23:40 UTC 2021 - Dominique Leuenberger - -- 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 diff --git a/polkit-default-privs.spec b/polkit-default-privs.spec index 192e3b3..3721faa 100644 --- a/polkit-default-privs.spec +++ b/polkit-default-privs.spec @@ -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}