Accepting request 924174 from Base:System

- drop backward compatibility symlink in /etc/polkit-default-privs.standard.
  rpmlint 2.0 is now in Factory and the check there directly uses the profile
  in /usr/etc/polkit-default-privs/profiles/standard.
- drop polkit-whitelisting sub-package. This is now handled in rpmlint 2.0
  internally.

- Update to version 1550+20211008.9751669:
  * whitelist power-profiles-daemon actions (bsc#1189900)
  * cleanup: remove polkit-rules-whitelist.json

OBS-URL: https://build.opensuse.org/request/show/924174
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit-default-privs?expand=0&rev=205
This commit is contained in:
Dominique Leuenberger 2021-10-11 14:48:41 +00:00 committed by Git OBS Bridge
commit 2dbc4b6d48
5 changed files with 21 additions and 15 deletions

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/polkit-default-privs.git</param>
<param name="changesrevision">b0c41fdd805a1d1bfb286cc0fcd78f7e20d109c0</param></service></servicedata>
<param name="changesrevision">8f04b5e25b2404ce118f06d681bb4ef8b744251c</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9ba7cd6f627ac8592d0478e59c18b8771513340945a64b242d7a641a19c75026
size 26520

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:84dba98aa6e4ad0faa6daf43be164d0dbd8858152bfd5ac657085c789b518030
size 25304

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Fri Oct 8 09:28:28 UTC 2021 - Matthias Gerstner <matthias.gerstner@suse.com>
- drop backward compatibility symlink in /etc/polkit-default-privs.standard.
rpmlint 2.0 is now in Factory and the check there directly uses the profile
in /usr/etc/polkit-default-privs/profiles/standard.
- drop polkit-whitelisting sub-package. This is now handled in rpmlint 2.0
internally.
-------------------------------------------------------------------
Fri Oct 08 09:22:37 UTC 2021 - matthias.gerstner@suse.com
- Update to version 1550+20211008.9751669:
* whitelist power-profiles-daemon actions (bsc#1189900)
* cleanup: remove polkit-rules-whitelist.json
-------------------------------------------------------------------
Wed Aug 18 13:07:31 UTC 2021 - matthias.gerstner@suse.com

View File

@ -23,7 +23,7 @@
%endif
Name: polkit-default-privs
Version: 1550+20210818.b0c41fd
Version: 1550+20211008.9751669
Release: 0
Summary: SUSE PolicyKit default permissions
License: GPL-2.0-or-later
@ -66,11 +66,6 @@ valid rule file installations by other packages.
make install DESTDIR=$RPM_BUILD_ROOT fillupdir="%{_fillupdir}"
mkdir -p $RPM_BUILD_ROOT/etc/polkit-1/rules.d/
> $RPM_BUILD_ROOT/etc/polkit-1/rules.d/90-default-privs.rules
# TODO: this is a backward compatibility entry for the rpmlint-mini check for
# polkit priv whitelistings. When rpmlint2 is fully in production we shouldn't
# need this any more (apart from adjusting the rpmlint checker in rpmlint2
# on the opensuse upstream branch).
ln -s /usr/etc/polkit-default-privs/profiles/standard $RPM_BUILD_ROOT/etc/polkit-default-privs.standard
%post
%{fillup_only -ns security polkit_default_privs}
@ -87,14 +82,9 @@ ln -s /usr/etc/polkit-default-privs/profiles/standard $RPM_BUILD_ROOT/etc/polkit
%{profiledir}/standard
%{profiledir}/restrictive
%{basedir}/local.template
%{_sysconfdir}/polkit-default-privs.standard
/sbin/chkstat-polkit
/sbin/set_polkit_default_privs
%_mandir/man*/*
%{_fillupdir}/sysconfig.security-polkit_default_privs
%files -n polkit-whitelisting
%defattr(-,root,root)
/etc/polkit-rules-whitelist.json
%changelog