Commit da0fa230 authored by Vitaly Lipatov's avatar Vitaly Lipatov

functions/spec: user --target for rpmbuild

parent d2a53362
......@@ -39,7 +39,7 @@ eval_spec()
# Hack: just print spec if -bE failed
if is_alt ; then
# on ALT we have to done without errors
$USEARCH $RPMBUILD -bE --target $SYSARCH $RPMBUILDARG $SPEC | iconv -f utf8 -r || fatal "Check spec's fields"
$USEARCH $RPMBUILD -bE --with=test --target $SYSARCH $RPMBUILDARG $SPEC | iconv -f utf8 -r || fatal "Check spec's fields"
else
( $USEARCH $RPMBUILD -bE --target $SYSARCH $RPMBUILDARG $SPEC 2>/dev/null || cat $SPEC ) | iconv -f utf8
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