diff --git a/extra/buildbot.helper b/extra/buildbot.helper new file mode 100755 index 0000000000..0c41c89f6b --- /dev/null +++ b/extra/buildbot.helper @@ -0,0 +1,10 @@ +#!/bin/bash + +if [ x$1 = xinstall ]; then + mock --configdir=$PWD --root=mock --resultdir=./mock -v --install ./mock/*.rpm +elif [ x$1 = xlint ]; then + rpmlint -i -f rpmlintrc ./mock/*.rpm +else + echo "Unknown sub-command: $1" + exit 1 +fi