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