diff options
author | Remi Collet <remi@remirepo.net> | 2020-03-13 10:40:39 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-03-13 10:40:39 +0100 |
commit | fb2975ff9c356cdf279a59857d52dc339e2e2a47 (patch) | |
tree | bfb7e453878db07b4fb8da35d69f3200c88e9175 /rpminfo.c | |
parent | c61d69885ee01c881479f9afcdbe79af8af14545 (diff) |
Fix build with RPM 4.11 (EL-7)
Diffstat (limited to 'rpminfo.c')
-rw-r--r-- | rpminfo.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -326,13 +326,15 @@ static int haveIndex(zend_long tag) { tag == RPMDBI_INSTALLTID || tag == RPMDBI_SIGMD5 || tag == RPMDBI_SHA1HEADER || - tag == RPMDBI_INSTFILENAMES || +#ifdef HAVE_WEAKDEP tag == RPMDBI_FILETRIGGERNAME || tag == RPMDBI_TRANSFILETRIGGERNAME || tag == RPMDBI_RECOMMENDNAME || tag == RPMDBI_SUGGESTNAME || tag == RPMDBI_SUPPLEMENTNAME || - tag == RPMDBI_ENHANCENAME) { + tag == RPMDBI_ENHANCENAME || +#endif + tag == RPMDBI_INSTFILENAMES) { return 1; } return 0; |