- 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
14 lines
369 B
Bash
14 lines
369 B
Bash
#!/bin/sh
|
|
|
|
LD_LIBRARY_PATH=/opt/testing/lib
|
|
PATH="/opt/testing/bin:$PATH"
|
|
PYTHONHOME=/opt/testing
|
|
XDG_CONFIG_HOME="/opt/testing/share"
|
|
LC_ALL=en_US.utf-8
|
|
export PYTHONHOME LD_LIBRARY_PATH LC_ALL XDG_CONFIG_HOME
|
|
args=""
|
|
for rcfile in /home/abuild/rpmbuild/SOURCES/*rpmlintrc ; do
|
|
args="$args -r $rcfile "
|
|
done
|
|
exec /opt/testing/bin/rpmlint.real $args --mini-mode $@
|