From: Michael Schroeder Date: Wed, 5 Jun 2019 14:35:30 +0000 (+0200) Subject: Do not use the broken RPMLIB_VERSION_LT macro X-Git-Tag: 0.7.5~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab54abba2ba4eac2fcf0f35cf05e61fb070212eb;p=thirdparty%2Flibsolv.git Do not use the broken RPMLIB_VERSION_LT macro --- diff --git a/ext/repo_rpmdb_bdb.h b/ext/repo_rpmdb_bdb.h index c680da6b..ae477f76 100644 --- a/ext/repo_rpmdb_bdb.h +++ b/ext/repo_rpmdb_bdb.h @@ -23,7 +23,7 @@ #ifdef RPM5 # include -# if RPMLIB_VERSION_LT(5,3,_,0,0,_) +# if RPMLIB_VERSION < RPMLIB_VERSION_ENCODE(5,3,_,0,0,_) # define RPM_INDEX_SIZE 8 /* rpmdbid + array index */ # else # define RPM_INDEX_SIZE 4 /* just the rpmdbid */