summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-03-13 15:42:14 +0100
committerRemi Collet <remi@remirepo.net>2020-03-13 15:42:14 +0100
commit81cb671ef1b07c563ed6be2776d5174107e1257e (patch)
tree4e8275a7c0a9e0cb0ea71bacf8d88cba7be1f7f3
parent586230c60248b5ff9a2a612e63f847e0a3017e99 (diff)
fix build with RPM 4.12 (Fedora 21-22 only)
-rw-r--r--config.m44
-rw-r--r--package.xml2
2 files changed, 3 insertions, 3 deletions
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)
diff --git a/package.xml b/package.xml
index 4d38591..24eabd5 100644
--- a/package.xml
+++ b/package.xml
@@ -27,7 +27,7 @@ Available functions:
</stability>
<license>PHP 3.01</license>
<notes>
--
+- fix build with RPM 4.12 (Fedora 21-22 only)
</notes>
<contents>
<dir name="/">