Commit 80fc35e2 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmbph: add KORINFTARGETRELEASE support

parent 4cb5811f
...@@ -18,6 +18,7 @@ DISTRVERSION=`distr_vendor -v` ...@@ -18,6 +18,7 @@ DISTRVERSION=`distr_vendor -v`
alt_tolocal() alt_tolocal()
{ {
local TXTRELEASE
local SPECNAME local SPECNAME
SPECNAME=$1 SPECNAME=$1
...@@ -40,7 +41,9 @@ else ...@@ -40,7 +41,9 @@ else
# Need our compat package and disable strong patch checking # Need our compat package and disable strong patch checking
BUILDREQ="BuildRequires: rpm-build-altlinux-compat >= 0.95 make gcc\n$FIXPATCHFUZZ" BUILDREQ="BuildRequires: rpm-build-altlinux-compat >= 0.95 make gcc\n$FIXPATCHFUZZ"
[ -z "$BUILDCOMMAND" ] && BUILDCOMMAND=$ETERBUILDBIN/rpmbb [ -z "$BUILDCOMMAND" ] && BUILDCOMMAND=$ETERBUILDBIN/rpmbb
set_release $SPECNAME $(get_txtrelease $SPECNAME)$BASERELEASE$VENDOR TXTRELEASE=$(get_txtrelease $SPECNAME)
[ -z "$KORINFTARGETRELEASE" ] || TXTRELEASE=$KORINFTARGETRELEASE
set_release $SPECNAME $TXTRELEASE$BASERELEASE$VENDOR
ADDDEF="%defattr(-, root, root)" ADDDEF="%defattr(-, root, root)"
CLEANTEXT="" CLEANTEXT=""
fi fi
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# Author: Vitaly Lipatov <lav@etersoft.ru> # Author: Vitaly Lipatov <lav@etersoft.ru>
# Public domain # Public domain
ETERBUILDVERSION=166 ETERBUILDVERSION=167
# SUDO # SUDO
SUDO="sudo" SUDO="sudo"
......
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