From ab54abba2ba4eac2fcf0f35cf05e61fb070212eb Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Wed, 5 Jun 2019 16:35:30 +0200 Subject: [PATCH] Do not use the broken RPMLIB_VERSION_LT macro --- ext/repo_rpmdb_bdb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.47.3