From ca80a8a17ee179808471f0c61064d2c013f0825a Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Jan 30 2018 11:31:32 +0000 Subject: Fix ldconfig scriptlets --- diff --git a/community-mysql.spec b/community-mysql.spec index 1daa0eb..c034f7b 100644 --- a/community-mysql.spec +++ b/community-mysql.spec @@ -706,11 +706,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 @@ -739,11 +741,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