In F>27 stick to upstream library version naming

This commit is contained in:
Norvald H. Ryeng 2017-10-16 13:11:32 +02:00 committed by Michal Schorm
parent 51a726ceaa
commit 5c70dc0fd9

View File

@ -11,7 +11,13 @@
%global check_testsuite 0 %global check_testsuite 0
# set to 1 to enable # 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 %global with_shared_lib_major_hack 1
%endif
# In f20+ use unversioned docdirs, otherwise the old versioned one # In f20+ use unversioned docdirs, otherwise the old versioned one
%global _pkgdocdirname %{pkg_name}%{!?_pkgdocdir:-%{version}} %global _pkgdocdirname %{pkg_name}%{!?_pkgdocdir:-%{version}}
@ -84,7 +90,7 @@
Name: community-mysql Name: community-mysql
Version: 5.7.20 Version: 5.7.20
Release: 1%{?with_debug:.debug}%{?dist} Release: 2%{?with_debug:.debug}%{?dist}
Summary: MySQL client programs and shared libraries Summary: MySQL client programs and shared libraries
Group: Applications/Databases Group: Applications/Databases
URL: http://www.mysql.com URL: http://www.mysql.com
@ -968,6 +974,9 @@ fi
%endif %endif
%changelog %changelog
* Tue Nov 28 2017 Michal Schorm <mschorm@redhat.com> - 5.7.20-2
- In F>27 stick to upstream library version naming
* Wed Oct 25 2017 Michal Schorm <mschorm@redhat.com> - 5.7.20-1 * Wed Oct 25 2017 Michal Schorm <mschorm@redhat.com> - 5.7.20-1
- Fix owner and perms on log file in post script - Fix owner and perms on log file in post script
Related: #1497694 Related: #1497694