Add F>=27 condition for openssl 1.1 patch

This commit is contained in:
Michal Schorm 2018-02-27 03:19:05 +01:00
parent 757c2dd82c
commit 5289356ae1

View File

@ -132,7 +132,9 @@ Patch7: %{pkgnamepatch}-md5_fips.patch
Patch51: %{pkgnamepatch}-chain-certs.patch Patch51: %{pkgnamepatch}-chain-certs.patch
Patch52: %{pkgnamepatch}-sharedir.patch Patch52: %{pkgnamepatch}-sharedir.patch
Patch70: %{pkgnamepatch}-5.7.9-major.patch Patch70: %{pkgnamepatch}-5.7.9-major.patch
%if 0%{?fedora} >= 27 || 0%{?rhel} > 7
Patch71: %{pkgnamepatch}-openssl11.patch Patch71: %{pkgnamepatch}-openssl11.patch
%endif
Patch72: %{pkgnamepatch}-tirpc.patch Patch72: %{pkgnamepatch}-tirpc.patch
%if 0%{?fedora} >= 28 || 0%{?rhel} > 7 %if 0%{?fedora} >= 28 || 0%{?rhel} > 7
Patch73: %{pkgnamepatch}-libxcrypt.patch Patch73: %{pkgnamepatch}-libxcrypt.patch
@ -410,7 +412,9 @@ the MySQL sources.
%if %{with_shared_lib_major_hack} %if %{with_shared_lib_major_hack}
%patch70 -p1 %patch70 -p1
%endif %endif
%if 0%{?fedora} >= 27 || 0%{?rhel} > 7
%patch71 -p1 %patch71 -p1
%endif
%patch72 -p1 %patch72 -p1
%if 0%{?fedora} >= 28 || 0%{?rhel} > 7 %if 0%{?fedora} >= 28 || 0%{?rhel} > 7
%patch73 -p1 %patch73 -p1