]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Do not use the broken RPMLIB_VERSION_LT macro
authorMichael Schroeder <mls@suse.de>
Wed, 5 Jun 2019 14:35:30 +0000 (16:35 +0200)
committerMichael Schroeder <mls@suse.de>
Wed, 5 Jun 2019 14:35:30 +0000 (16:35 +0200)
ext/repo_rpmdb_bdb.h

index c680da6bf9b7984577ba632e10e99479a4300657..ae477f766e69255c06223327e261d8c993bfea5c 100644 (file)
@@ -23,7 +23,7 @@
 
 #ifdef RPM5
 # include <rpm/rpmversion.h>
-# 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 */