From 79c9bf8596faadc8917b05b252a0845e42d2a646 Mon Sep 17 00:00:00 2001 From: Marek Blaha Date: Wed, 13 Feb 2019 09:27:43 +0100 Subject: [PATCH] Conditionalize %ldconfig_scriptlets for plain RHEL Signed-off-by: Igor Gnatenko --- libsolv.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libsolv.spec b/libsolv.spec index d59b994..23b2744 100644 --- a/libsolv.spec +++ b/libsolv.spec @@ -208,7 +208,12 @@ Python 3 version. %check %ninja_test -C "%{_vpath_builddir}" +%if %{undefined ldconfig_scriptlets} +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig +%else %ldconfig_scriptlets +%endif %files %license LICENSE*