Commit 1f212778 authored by Vitaly Lipatov's avatar Vitaly Lipatov

build: fix rpmbb -r on gear repo with multispec

parent ddbdb98a
...@@ -91,7 +91,10 @@ uni_buildreq() ...@@ -91,7 +91,10 @@ uni_buildreq()
local GEARBUILDREQ=gear-buildreq local GEARBUILDREQ=gear-buildreq
if is_gear $SPECDIR ; then if is_gear $SPECDIR ; then
docmd $NICE $GEARBUILDREQ $BUILDREQPARAM --commit -- "$SPECNAME" "$@" || RET=$? # FIXME: use spec name as project name
GEARRULES=$(get_gear_rules "$SPECNAME")
docmd $NICE $GEARBUILDREQ $BUILDREQPARAM $GEARRULES --commit -- "$SPECNAME" "$@" || RET=$?
else else
docmd $NICE buildreq $BUILDREQPARAM "$SPECNAME" "$@" || RET=$? docmd $NICE buildreq $BUILDREQPARAM "$SPECNAME" "$@" || RET=$?
fi fi
......
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