From 5cf21671c578b0136fe8ba7131b5f84a9cd53fab 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 731536b..7fb41c7 100644 --- a/community-mysql.spec +++ b/community-mysql.spec @@ -716,11 +716,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 @@ -749,11 +751,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