Commit 28b2ffe9 authored by Vitaly Lipatov's avatar Vitaly Lipatov

uni_buildreq: run with full patch to spec

parent b50ac39a
......@@ -65,14 +65,15 @@ uni_rpmbuild()
uni_buildreq()
{
local RET=0
local SPECNAME=$1
local SPECNAME=$(realpath "$1")
shift
local SPECDIR=`dirname $SPECNAME`
local GEARBUILDREQ=gear-buildreq
if is_gear $SPECDIR ; then
$NICE $GEARBUILDREQ --commit -- $@ || RET=$?
$NICE $GEARBUILDREQ --commit -- "$SPECNAME" $@ || RET=$?
else
$NICE buildreq $@ || RET=$?
$NICE buildreq "$SPECNAME" $@ || RET=$?
fi
return $RET
}
......
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