diff --git a/rpmlint-mini.changes b/rpmlint-mini.changes index a7ff7ef..96de520 100644 --- a/rpmlint-mini.changes +++ b/rpmlint-mini.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 5 17:56:38 UTC 2021 - Martin Liška + +- Rely on rpmlint auto-loading support for rpmlintrc files. + ------------------------------------------------------------------- Thu Aug 5 13:11:51 UTC 2021 - Martin Liška diff --git a/rpmlint.wrapper b/rpmlint.wrapper index 21342d8..4ebfc1e 100644 --- a/rpmlint.wrapper +++ b/rpmlint.wrapper @@ -6,10 +6,5 @@ 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="" -if ls /home/abuild/rpmbuild/SOURCES/*rpmlintrc &>/dev/null; then - for rcfile in /home/abuild/rpmbuild/SOURCES/*rpmlintrc; do - args="$args -r $rcfile " - done -fi -exec /opt/testing/bin/rpmlint.real $args --mini-mode $@ +# rely on rpmlint auto-loading support for rpmlintrc files +exec /opt/testing/bin/rpmlint.real --mini-mode $@