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