From d70e481fb94ffc9f282a5a11e69007cbe77af013 Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Tue, 30 Jan 2018 12:29:31 +0100 Subject: [PATCH] Fix ldconfig scriptlets --- community-mysql.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/community-mysql.spec b/community-mysql.spec index eea06c9..2b8da49 100644 --- a/community-mysql.spec +++ b/community-mysql.spec @@ -723,11 +723,13 @@ popd -c "MySQL Server" -u 27 mysql >/dev/null 2>&1 || : %if %{with clibrary} -%post libs -p /sbin/ldconfig +# Can be dropped on F27 EOL +%ldconfig_post libs %endif %if %{with embedded} -%post embedded -p /sbin/ldconfig +# Can be dropped on F27 EOL +%ldconfig_post embedded %endif %post server @@ -756,11 +758,13 @@ fi %endif %if %{with clibrary} -%postun libs -p /sbin/ldconfig +# Can be dropped on F27 EOL +%ldconfig_postun libs %endif %if %{with embedded} -%postun embedded -p /sbin/ldconfig +# Can be dropped on F27 EOL +%ldconfig_postun embedded %endif %postun server