From e8f86d7b5c27fb107d5cf29d3472f89018643602 Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Feb 26 2018 15:38:39 +0000 Subject: Revert "Fix ldconfig scriptlets" This reverts commit d70e481fb94ffc9f282a5a11e69007cbe77af013. This change is not applicable for packages shipping config files for ld.so.conf.d --- diff --git a/community-mysql.spec b/community-mysql.spec index 8f9b6a8..c88f831 100644 --- a/community-mysql.spec +++ b/community-mysql.spec @@ -90,7 +90,7 @@ Name: community-mysql Version: 5.7.21 -Release: 4%{?with_debug:.debug}%{?dist} +Release: 5%{?with_debug:.debug}%{?dist} Summary: MySQL client programs and shared libraries URL: http://www.mysql.com @@ -726,13 +726,11 @@ popd -c "MySQL Server" -u 27 mysql >/dev/null 2>&1 || : %if %{with clibrary} -# Can be dropped on F27 EOL -%ldconfig_post libs +%post libs -p /sbin/ldconfig %endif %if %{with embedded} -# Can be dropped on F27 EOL -%ldconfig_post embedded +%post embedded -p /sbin/ldconfig %endif %post server @@ -761,13 +759,11 @@ fi %endif %if %{with clibrary} -# Can be dropped on F27 EOL -%ldconfig_postun libs +%postun libs -p /sbin/ldconfig %endif %if %{with embedded} -# Can be dropped on F27 EOL -%ldconfig_postun embedded +%postun embedded -p /sbin/ldconfig %endif %postun server @@ -992,7 +988,7 @@ fi %endif %changelog -* Sun Feb 25 2018 Michal Schorm - 5.7.21-4 +* Sun Feb 25 2018 Michal Schorm - 5.7.21-5 - Rebuilt for ldconfig_post and ldconfig_postun bug Related: #1548331