Commit 7aba8b51 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmgp: fix src.rpm build

parent 5598114d
......@@ -263,6 +263,8 @@ if [ -n "$UPDATECACHE" ] ; then
exit 0
fi
detect_target_env
PKGNAME=$(estrlist strip_spaces $LISTRPMARGS $LISTNAMES)
if [ -z "$ALLSYSTEM$UPDATECACHE" ] ; then
......@@ -381,7 +383,6 @@ fi
# lists packages for build
if [ -n "$LISTREQS" ] ; then
detect_target_env
print_target_buildreq "$PKGNAME"
exit $?
fi
......
......@@ -9,6 +9,7 @@ load_mod gear
# other parameters
uni_rpmbuildsrpm()
{
assert_var PKGVENDOR
local RET=0
local COMMIT=""
......
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