diff --git a/autoport b/autoport index e1c58d2..45b7474 100755 --- a/autoport +++ b/autoport @@ -4,7 +4,7 @@ # # Released under the terms of the GNU GPL release 3 license # -VERSION=0.9.21 +VERSION=0.9.22 BASE_ARCH=i586 BASE_REPOSITORY=devel @@ -601,10 +601,11 @@ for TARGET_ARCH in ${TARGET_ARCHS}; do echo "(FAILED) [can't get repository information for this package]" continue } + src_release_num=`echo $src_release | sed "s|\([0-9.]*\).*|\1|"` [ "$VERBOSE_MODE" ] && echo " -%% COMMAND: LANG=C LC_ALL=C autospec -u ${JOB_CURRENT} -a4 --rebuild --changelog \"$REBUILD_MILESTONE milestone rebuild\"" +%% COMMAND: LANG=C LC_ALL=C autospec -u ${JOB_CURRENT} -a4 --changelog \"$REBUILD_MILESTONE milestone rebuild\" $src_version $src_release_num${REBUILD_MILESTONE}" # FIXME: should be implemented in autodist - LANG=C LC_ALL=C autospec -u ${JOB_CURRENT} -a4 --rebuild --changelog "$REBUILD_MILESTONE milestone rebuild" &>$tmpfile + LANG=C LC_ALL=C autospec -u ${JOB_CURRENT} -a4 --changelog "$REBUILD_MILESTONE milestone rebuild" $src_version $src_release_num${REBUILD_MILESTONE} &>$tmpfile [ $? -gt 0 ] && { if [ "$VERBOSE_MODE" ]; then echo