Accepting request 678931 from home:mgerstner:branches:devel:openSUSE:Factory:rpmlint
- Add dependency to new polkit-whitelisting subpackage of polkit-default-privs and embed the JSON file for polkit rules.d whitelistings. This is necessary for the upcoming implementation of a new rpmlint-check to cover files in /etc/polkit-1/rules.d and /usr/share/polkit-1/rules.d (bsc#1125314). - For this we will also need the json python module, since the new whitelist will be in the JSON format. OBS-URL: https://build.opensuse.org/request/show/678931 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint-mini?expand=0&rev=100
This commit is contained in:
parent
620b6804c9
commit
0829bedc66
@ -1,2 +1,3 @@
|
||||
# vim: syntax=python
|
||||
setOption("PolkitPrivsFiles", [ "/opt/testing/share/rpmlint/data/polkit-default-privs.standard" ])
|
||||
setOption("PolkitRulesWhitelist", [ "/opt/testing/share/rpmlint/data/polkit-rules-whitelist.json" ])
|
||||
|
@ -51,6 +51,11 @@ importlib/__init__.py
|
||||
importlib/machinery.py
|
||||
importlib/util.py
|
||||
io.py
|
||||
json/decoder.py
|
||||
json/scanner.py
|
||||
json/encoder.py
|
||||
json/__init__.py
|
||||
json/tool.py
|
||||
keyword.py
|
||||
lib-dynload/array.cpython-3?m-*-linux-gnu*.so
|
||||
lib-dynload/_asyncio.cpython-3?m-*-linux-gnu*.so
|
||||
|
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 25 13:58:53 UTC 2019 - matthias.gerstner@suse.com
|
||||
|
||||
- Add dependency to new polkit-whitelisting subpackage of polkit-default-privs
|
||||
and embed the JSON file for polkit rules.d whitelistings. This is necessary
|
||||
for the upcoming implementation of a new rpmlint-check to cover files in
|
||||
/etc/polkit-1/rules.d and /usr/share/polkit-1/rules.d (bsc#1125314).
|
||||
- For this we will also need the json python module, since the new whitelist
|
||||
will be in the JSON format.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 26 13:35:59 UTC 2018 - matwey.kornilov@gmail.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package rpmlint-mini
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -38,6 +38,7 @@ BuildRequires: glib2-devel-static
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: polkit-default-privs
|
||||
BuildRequires: polkit-whitelisting
|
||||
BuildRequires: rpmlint
|
||||
#!BuildIgnore: rpmlint-mini
|
||||
Requires: cpio
|
||||
@ -79,6 +80,7 @@ install -m 644 "%{SOURCE102}" %{buildroot}/opt/testing/share/rpmlint
|
||||
# extra data
|
||||
install -m 755 -d %{buildroot}/opt/testing/share/rpmlint/data
|
||||
install -m 644 %{_sysconfdir}/polkit-default-privs.standard %{buildroot}/opt/testing/share/rpmlint/data
|
||||
install -m 644 %{_sysconfdir}/polkit-rules-whitelist.json %{buildroot}/opt/testing/share/rpmlint/data
|
||||
#
|
||||
pushd %{_libdir}/python%{py3_ver}/
|
||||
for f in $(<%{SOURCE100}); do
|
||||
|
Loading…
Reference in New Issue
Block a user