From ba432eb69bb13160ff84efd657aa633853a173ab Mon Sep 17 00:00:00 2001 From: Honza Horak Date: Tue, 8 Aug 2017 12:23:51 +0200 Subject: [PATCH] Unlink the non-versioned library symlinks when the library itself is not delivered --- mariadb.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mariadb.spec b/mariadb.spec index cecb3b2..630a72f 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -931,6 +931,8 @@ rm -r %{buildroot}%{_sysconfdir}/ld.so.conf.d unlink %{buildroot}%{_libdir}/mysql/libmariadb.so rm %{buildroot}%{_libdir}/mysql/libmariadb*.so.* rm %{buildroot}%{_sysconfdir}/my.cnf.d/client.cnf +unlink %{buildroot}%{_libdir}/mysql/libmysqlclient.so +unlink %{buildroot}%{_libdir}/mysql/libmysqlclient_r.so %endif %if %{without embedded}