fix libmysqlclient.so.18 compatibility symlink missing after upgrade obsoleting libmysqlclient [release 10.4.13-4mamba;Thu Jun 11 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 06:57:48 +01:00
parent 01c465421f
commit 592790ee5f

View File

@ -6,7 +6,7 @@
Name: mariadb Name: mariadb
Version: 10.4.13 Version: 10.4.13
Release: 3mamba Release: 4mamba
Summary: A SQL database engine designed as a drop-in replacement of MySQL(R) Summary: A SQL database engine designed as a drop-in replacement of MySQL(R)
Group: Applications/Databases Group: Applications/Databases
Vendor: openmamba Vendor: openmamba
@ -331,6 +331,12 @@ fi
%post -n lib%{name} -p /sbin/ldconfig %post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig
%posttran -n lib%{name}
if [ $1 -ge 1 ]; then
[ -e %{_libdir}/libmysqlclient.so.18 ] || ln -s libmariadb.so.3 %{_libdir}/libmysqlclient.so.18
fi
:
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/mariadbd %{_bindir}/mariadbd
@ -596,10 +602,8 @@ fi
%{_libdir}/libmysqlclient.so.18 %{_libdir}/libmysqlclient.so.18
/%{_lib}/security/pam_user_map.so /%{_lib}/security/pam_user_map.so
%{_libdir}/mysql/plugin/auth_pam_tool_dir/auth_pam_tool %{_libdir}/mysql/plugin/auth_pam_tool_dir/auth_pam_tool
%ifnarch arm
%{_libdir}/mysql/plugin/JdbcInterface.jar %{_libdir}/mysql/plugin/JdbcInterface.jar
%{_libdir}/mysql/plugin/JavaWrappers.jar %{_libdir}/mysql/plugin/JavaWrappers.jar
%endif
%{_libdir}/mysql%{?MAJversion}/plugin/*.so %{_libdir}/mysql%{?MAJversion}/plugin/*.so
%{_libdir}/mysql/plugin/daemon_example.ini %{_libdir}/mysql/plugin/daemon_example.ini
@ -627,6 +631,9 @@ fi
%{_mandir}/man1/mysql_config.1* %{_mandir}/man1/mysql_config.1*
%changelog %changelog
* Thu Jun 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 10.4.13-4mamba
- fix libmysqlclient.so.18 compatibility symlink missing after upgrade obsoleting libmysqlclient
* Sat May 30 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 10.4.13-3mamba * Sat May 30 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 10.4.13-3mamba
- remove %lang() to language directories to support all languages from e.g. phpmyadmin - remove %lang() to language directories to support all languages from e.g. phpmyadmin