Revert "Fix ldconfig scriptlets"

This reverts commit d70e481fb9.

This change is not applicable for packages shipping config files for ld.so.conf.d
This commit is contained in:
Michal Schorm 2018-02-26 16:36:24 +01:00
parent 88d32992e1
commit e8f86d7b5c

View File

@ -90,7 +90,7 @@
Name: community-mysql Name: community-mysql
Version: 5.7.21 Version: 5.7.21
Release: 4%{?with_debug:.debug}%{?dist} Release: 5%{?with_debug:.debug}%{?dist}
Summary: MySQL client programs and shared libraries Summary: MySQL client programs and shared libraries
URL: http://www.mysql.com URL: http://www.mysql.com
@ -726,13 +726,11 @@ popd
-c "MySQL Server" -u 27 mysql >/dev/null 2>&1 || : -c "MySQL Server" -u 27 mysql >/dev/null 2>&1 || :
%if %{with clibrary} %if %{with clibrary}
# Can be dropped on F27 EOL %post libs -p /sbin/ldconfig
%ldconfig_post libs
%endif %endif
%if %{with embedded} %if %{with embedded}
# Can be dropped on F27 EOL %post embedded -p /sbin/ldconfig
%ldconfig_post embedded
%endif %endif
%post server %post server
@ -761,13 +759,11 @@ fi
%endif %endif
%if %{with clibrary} %if %{with clibrary}
# Can be dropped on F27 EOL %postun libs -p /sbin/ldconfig
%ldconfig_postun libs
%endif %endif
%if %{with embedded} %if %{with embedded}
# Can be dropped on F27 EOL %postun embedded -p /sbin/ldconfig
%ldconfig_postun embedded
%endif %endif
%postun server %postun server
@ -992,7 +988,7 @@ fi
%endif %endif
%changelog %changelog
* Sun Feb 25 2018 Michal Schorm <mschorm@redhat.com> - 5.7.21-4 * Sun Feb 25 2018 Michal Schorm <mschorm@redhat.com> - 5.7.21-5
- Rebuilt for ldconfig_post and ldconfig_postun bug - Rebuilt for ldconfig_post and ldconfig_postun bug
Related: #1548331 Related: #1548331