Commit e83d9ca5 authored by Vitaly Lipatov's avatar Vitaly Lipatov

use prev release as base when backporting

parent 40a3c97d
......@@ -28,8 +28,9 @@ BASERELEASE=$(get_release_number $SPECNAME)
if [ "$VENDOR" = "alt" ] ; then
BUILDREQ="BuildRequires: rpm-build-compat >= 0.95"
[ -z "$BUILDCOMMAND" ] && BUILDCOMMAND=rpmbsh
# Change release according to alt policy
set_release $SPECNAME alt0.$MDISTR.$BASERELEASE
# Change release according to alt policy with extensions
# General rule: alwars alt(N-1).MM.(N)
set_release $SPECNAME alt$(($BASERELEASE - 1)).$MDISTR.$BASERELEASE
ADDDEF=""
CLEANTEXT=""
else
......
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