diff --git a/community-mysql.spec b/community-mysql.spec index 1daa0eb..89cec01 100644 --- a/community-mysql.spec +++ b/community-mysql.spec @@ -11,7 +11,13 @@ %global check_testsuite 0 # set to 1 to enable +%if 0%{?fedora} > 27 +# Deprecate patch 70, because MariaDB renamed its library to libmariadb.so +%global with_shared_lib_major_hack 0 +%else %global with_shared_lib_major_hack 1 +%endif + # In f20+ use unversioned docdirs, otherwise the old versioned one %global _pkgdocdirname %{pkg_name}%{!?_pkgdocdir:-%{version}} @@ -84,7 +90,7 @@ Name: community-mysql Version: 5.7.20 -Release: 1%{?with_debug:.debug}%{?dist} +Release: 2%{?with_debug:.debug}%{?dist} Summary: MySQL client programs and shared libraries Group: Applications/Databases URL: http://www.mysql.com @@ -968,6 +974,9 @@ fi %endif %changelog +* Tue Nov 28 2017 Michal Schorm - 5.7.20-2 +- In F>27 stick to upstream library version naming + * Wed Oct 25 2017 Michal Schorm - 5.7.20-1 - Fix owner and perms on log file in post script Related: #1497694