Accepting request 907840 from home:StevenK:branches:devel:openSUSE:Factory:rpmlint

- Support multiple rpmlintrc files correctly.

OBS-URL: https://build.opensuse.org/request/show/907840
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint-mini?expand=0&rev=142
This commit is contained in:
Martin Liška 2021-07-23 05:15:31 +00:00 committed by Git OBS Bridge
parent 8f4fe549e6
commit c31324b882
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 23 04:55:34 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
- Support multiple rpmlintrc files correctly.
-------------------------------------------------------------------
Thu Jul 22 15:22:01 UTC 2021 - Martin Liška <mliska@suse.cz>

View File

@ -7,8 +7,7 @@ XDG_CONFIG_HOME="/opt/testing/share"
LC_ALL=en_US.utf-8
export PYTHONHOME LD_LIBRARY_PATH LC_ALL XDG_CONFIG_HOME
args=""
rpmlintrc=$(ls -1 /home/abuild/rpmbuild/SOURCES/*rpmlintrc 2>/dev/null)
if [ -n "$rpmlintrc" ]; then
args="-r $rpmlintrc"
fi
for rcfile in /home/abuild/rpmbuild/SOURCES/*rpmlintrc ; do
args="$args -r $rcfile "
done
exec /opt/testing/bin/rpmlint.real $args --mini-mode $@