Commit 728a2dd1 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmbph: add support for new macros since rpm-build-compat 1.7.25

parent 918825fc
......@@ -37,7 +37,10 @@ if [ "$PKGVENDOR" = "alt" ] ; then
BUILDREQ=
# FIXME: use separate macro list
if grep -q _sharedstatedir $SPECNAME ; then
# FIXME: check for all rpm-build-compat macro list
if grep -q "\(_cupslibdir\|_sudoers\)" $SPECNAME ; then
BUILDREQ="BuildRequires: rpm-build-compat >= 1.7.25"
elif grep -q _sharedstatedir $SPECNAME ; then
BUILDREQ="BuildRequires: rpm-build-compat >= 1.7.24"
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