1
0

Accepting request 932545 from Base:System

- 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.

- remove traces of old polkit-whitelisting sub-package

OBS-URL: https://build.opensuse.org/request/show/932545
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit-default-privs?expand=0&rev=206
This commit is contained in:
Dominique Leuenberger 2021-11-22 22:03:48 +00:00 committed by Git OBS Bridge
commit 05844386e9
2 changed files with 16 additions and 15 deletions

View File

@ -1,3 +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 Oct 8 09:28:28 UTC 2021 - Matthias Gerstner <matthias.gerstner@suse.com> Fri Oct 8 09:28:28 UTC 2021 - Matthias Gerstner <matthias.gerstner@suse.com>

View File

@ -30,10 +30,10 @@ License: GPL-2.0-or-later
Group: Productivity/Security Group: Productivity/Security
Source: polkit-default-privs-%version.tar.xz Source: polkit-default-privs-%version.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: polkit
Requires: polkit
Supplements: PolicyKit Supplements: PolicyKit
Supplements: libpolkit0 Supplements: libpolkit0
BuildRequires: polkit
Requires(pre): polkit
Supplements: polkit Supplements: polkit
BuildArch: noarch BuildArch: noarch
# please open bugreports at bugzilla.suse.com # please open bugreports at bugzilla.suse.com
@ -45,18 +45,6 @@ Predefined polkit profiles for different usage scenarios like desktop and
server. These profiles define the kind of authentication required for various server. These profiles define the kind of authentication required for various
polkit actions used across applications. polkit actions used across applications.
# use a separate package for the static whitelist (i.e. the one that isn't
# part of the different profiles selectable during runtime). This whitelist is
# of no use for users and only needed during rpmlint time.
%package -n polkit-whitelisting
Summary: Static polkit whitelists for processing by rpmlint-checks
Group: Productivity/Security
%description -n polkit-whitelisting
This package contains static polkit whitelistings for polkit Java Script rule
files. The whitelistings will be processed by rpmlint-checks to determine
valid rule file installations by other packages.
%prep %prep
%setup -q %setup -q
@ -74,8 +62,9 @@ mkdir -p $RPM_BUILD_ROOT/etc/polkit-1/rules.d/
%files %files
%define basedir %{_distconfdir}/polkit-default-privs %define basedir %{_distconfdir}/polkit-default-privs
%define profiledir %{basedir}/profiles %define profiledir %{basedir}/profiles
%define confdir /etc/polkit-1
%doc README.md %doc README.md
%ghost %attr(0644,root,root) /etc/polkit-1/rules.d/90-default-privs.rules %ghost %attr(0644,root,root) %{confdir}/rules.d/90-default-privs.rules
%dir %{basedir} %dir %{basedir}
%dir %{profiledir} %dir %{profiledir}
%{profiledir}/easy %{profiledir}/easy