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