From 81cb671ef1b07c563ed6be2776d5174107e1257e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 13 Mar 2020 15:42:14 +0100 Subject: fix build with RPM 4.12 (Fedora 21-22 only) --- config.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config.m4') diff --git a/config.m4 b/config.m4 index 650eb05..49f6f1d 100644 --- a/config.m4 +++ b/config.m4 @@ -15,8 +15,8 @@ if test "$PHP_RPMINFO" != "no"; then LIBRPM_LIBDIR=`$PKG_CONFIG rpm --libs` LIBRPM_VERSON=`$PKG_CONFIG rpm --modversion` AC_MSG_RESULT(from pkgconfig: version $LIBRPM_VERSON) - if $PKG_CONFIG rpm --atleast-version 4.12; then - AC_DEFINE(HAVE_WEAKDEP, 1, [ Weak dependencies in RPM 4.12 ]) + if $PKG_CONFIG rpm --atleast-version 4.13; then + AC_DEFINE(HAVE_WEAKDEP, 1, [ Indexes on weak dependency field since RPM 4.13 ]) fi else AC_MSG_ERROR(system librpm is too old: version 4.11.3 required) -- cgit