Commit 70367779 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmbph: add rpm-build-compat to backported ALT if used _sharedstatedir

parent 495f1b9d
......@@ -36,6 +36,12 @@ if [ "$PKGVENDOR" = "alt" ] ; then
# FIXME: needed for some backport level...
#BUILDREQ="BuildRequires: rpm-build-compat >= 0.95"
BUILDREQ=
# FIXME: use separate macro list
if grep -q _sharedstatedir $SPECNAME ; then
BUILDREQ="BuildRequires: rpm-build-compat >= 1.7.24"
fi
# Change release according to alt policy with extensions
# General rule: alwars alt(N-1).MM.(N)
docmd set_release $SPECNAME $(get_txtrelease $SPECNAME)$(decrement_release $BASERELEASE).$MDISTR.$BASERELEASE
......
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