From 2fba130bfd4aa97abe43d93902452a3154af15fa Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Sat, 30 Oct 2021 23:37:37 +0200 Subject: [PATCH] Apply the OpenSSL 3 patch conditionally This is usefull for Fedora Module builds, where a module build for N Fedora releases is done from a single commit or a branch. In the case of the 'mysql' module (from rpms/mysql repository) we currently reference a single commit. --- community-mysql.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/community-mysql.spec b/community-mysql.spec index 3fc3cb8..6a4ada8 100644 --- a/community-mysql.spec +++ b/community-mysql.spec @@ -392,7 +392,10 @@ the MySQL sources. %patch55 -p1 %patch56 -p1 %patch75 -p1 +# OpenSSL 3.0 has been introduced to F36 +%if 0%{?fedora} >= 36 %patch79 -p1 +%endif %patch80 -p1 # Patch Boost