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
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 <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
Related: #1548331