From 00b1b90490dbe697ea55e1535f54e9d979b2b6c8 Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Tue, 30 Jan 2018 11:55:36 +0100 Subject: [PATCH] Update ldconfig scriptlets --- mariadb.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/mariadb.spec b/mariadb.spec index 85431a6..32ad6d6 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -1188,11 +1188,13 @@ export MTR_BUILD_THREAD=%{__isa_bits} -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 %if %{with galera} @@ -1227,11 +1229,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 %if %{with galera}