From 92bc0a32e84e1a40930a7257776241b1bb0a4ba7 Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: May 21 2019 08:08:58 +0000 Subject: Remove scriplet; no longer needed It fixed an issue in F26 and F27. We gave the users enough time to update --- diff --git a/mariadb-connector-c.spec b/mariadb-connector-c.spec index 373b30f..74fd5b4 100644 --- a/mariadb-connector-c.spec +++ b/mariadb-connector-c.spec @@ -130,21 +130,6 @@ popd -# https://fedoraproject.org/wiki/Packaging:Directory_Replacement -%pretrans -p -path = "%{_libdir}/mariadb" -st = posix.stat(path) -if st and st.type == "link" then - os.remove(path) -end -path = "%{_libdir}/mysql" -st = posix.stat(path) -if st and st.type == "link" then - os.remove(path) -end - - - %files %{_libdir}/libmariadb.so.* @@ -191,6 +176,7 @@ end %changelog * Wed May 15 2019 Michal Schorm - 3.0.10-1 - Rebase to 3.0.10 +- Remove scriplet; no longer needed * Fri Mar 29 2019 Michal Schorm - 3.0.9-3 - Add "zlib-devel" requirement in "-devel" subpackage. MariaDB requires