Commit 4aaa58df authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmgs: add watch file support (via rpm-uscan)

parent b990b9d4
......@@ -405,6 +405,19 @@ fi
test -z "$LISTNAMES" && print_error
if $EPMCMD assure gear-rules-verify perl-Gear-Rules ; then
docmd gear-rules-verify
gear-rules-verify 2>&1 | grep -q "gear-rules-verify should be run in clean repository" && fatal
if gear-rules-verify | grep "Ready for tarball update" ; then
[ -n "$GSSETVERSION" ] && warning "we will ignore version and update to the latest version from watch file"
$EPMCMD assure rpm-uscan
$EPMCMD assure gear-uupdate
docmd rpm-uscan --force-action gear-uupdate
#docmd gammit
exit 0
fi
fi
[ -z "$GSSETRELEASE" ] || GSSKIPADDCHANGELOG=1
for spec in $LISTNAMES
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment