Accepting request 752826 from home:mgerstner:branches:devel:openSUSE:Factory:rpmlint
- include new rpmlint-security-whitelistings. This will in the future house a whitelist for cron jobs (bsc#1150175), among possible additional future whitelists. OBS-URL: https://build.opensuse.org/request/show/752826 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint-mini?expand=0&rev=107
This commit is contained in:
parent
120155ea8c
commit
787b57dc5a
12
_service
Normal file
12
_service
Normal file
@ -0,0 +1,12 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="versionformat">master</param>
|
||||
<param name="url">https://github.com/openSUSE/rpmlint-security-whitelistings</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="compression">xz</param>
|
||||
<param name="file">*.tar</param>
|
||||
</service>
|
||||
</services>
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 19 12:36:58 UTC 2019 - matthias.gerstner@suse.com
|
||||
|
||||
- include new rpmlint-security-whitelistings. This will in the future house
|
||||
a whitelist for cron jobs (bsc#1150175), among possible additional future
|
||||
whitelists.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 27 06:55:22 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@ -24,11 +24,13 @@ License: GPL-2.0-or-later
|
||||
Group: System/Packages
|
||||
Url: http://rpmlint.zarb.org/
|
||||
Source: desktop-file-utils-0.24.tar.xz
|
||||
Source2: rpmlint-security-whitelistings-master.tar.xz
|
||||
Source100: rpmlint-deps.txt
|
||||
Source101: rpmlint.wrapper
|
||||
Source102: rpmlint-mini.config
|
||||
Source103: polkit-default-privs.config
|
||||
Source104: appdata_checker.config
|
||||
Source105: whitelists.config
|
||||
Source1000: rpmlint-mini.rpmlintrc
|
||||
# need to fetch the file from there
|
||||
BuildRequires: checkbashisms
|
||||
@ -50,6 +52,7 @@ source packages can be checked.
|
||||
%prep
|
||||
%setup -q -n desktop-file-utils-0.24
|
||||
[ -r COPYING ]
|
||||
tar xf %{S:2}
|
||||
|
||||
%build
|
||||
%configure
|
||||
@ -72,7 +75,7 @@ cp -a %{_libdir}/libedit.so.0* %{buildroot}/opt/testing/%{_lib}
|
||||
cp -a %{_datadir}/rpmlint/*.py %{buildroot}/opt/testing/share/rpmlint
|
||||
# install config files
|
||||
install -d -m 755 %{buildroot}/opt/testing/share/rpmlint/mini
|
||||
for i in %{_sysconfdir}/rpmlint/{pie,licenses}.config "%{SOURCE103}" "%{SOURCE104}"; do
|
||||
for i in %{_sysconfdir}/rpmlint/{pie,licenses}.config "%{SOURCE103}" "%{SOURCE104}" "%{SOURCE105}"; do
|
||||
cp $i %{buildroot}/opt/testing/share/rpmlint/mini
|
||||
done
|
||||
install -m 644 -D %{_datadir}/rpmlint/config %{buildroot}/opt/testing/share/rpmlint/config
|
||||
@ -81,6 +84,7 @@ install -m 644 "%{SOURCE102}" %{buildroot}/opt/testing/share/rpmlint
|
||||
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
|
||||
install -m 644 rpmlint-security-whitelistings-master/*.json %{buildroot}/opt/testing/share/rpmlint/data
|
||||
#
|
||||
pushd %{_libdir}/python%{py3_ver}/
|
||||
for f in $(<%{SOURCE100}); do
|
||||
|
3
rpmlint-security-whitelistings-master.tar.xz
Normal file
3
rpmlint-security-whitelistings-master.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e011176dd71e371ba5e402108f1ecc1bbc3b7f0b77e3ebbfeb230c8ce91eb497
|
||||
size 1524
|
2
whitelists.config
Normal file
2
whitelists.config
Normal file
@ -0,0 +1,2 @@
|
||||
# vim: syntax=python
|
||||
setOption("WhitelistDataDir", [ "/opt/testing/share/rpmlint/data" ])
|
Loading…
Reference in New Issue
Block a user