From 15cd0573a76f02fe9b42fadb3689e3fac4dfe5b5 Mon Sep 17 00:00:00 2001 From: jiaxiya Date: Mon, 9 Dec 2019 15:00:29 +0800 Subject: [PATCH] replace ldconfig_scriptlets --- redland.spec | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/redland.spec b/redland.spec index 150e493..3c3e29d 100644 --- a/redland.spec +++ b/redland.spec @@ -60,10 +60,17 @@ CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" CXXFLAGS="$RPM_OPT_FLAGS -fno-stric make check -%ldconfig_scriptlets -%ldconfig_scriptlets libs -%ldconfig_scriptlets mysql -%ldconfig_scriptlets pgsql +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%post -p /sbin/ldconfig libs +%postun -p /sbin/ldconfig libs + +%post -p /sbin/ldconfig mysql +%postun -p /sbin/ldconfig mysql + +%post -p /sbin/ldconfig pgsql +%postun -p /sbin/ldconfig pgsql %files %doc AUTHORS NEWS README NOTICE TODO