From 88296d38183bc3cf6b20f40b00a81ea87025f95d Mon Sep 17 00:00:00 2001 From: Devrim Gunduz Date: Wed, 26 Nov 2025 23:15:11 +0300 Subject: [PATCH] HAProxy: Build against OpenSSL3 on SLES 15.X --- rpm/redhat/main/extras/haproxy/main/haproxy.spec | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/rpm/redhat/main/extras/haproxy/main/haproxy.spec b/rpm/redhat/main/extras/haproxy/main/haproxy.spec index a259c9b0d..5f576af81 100644 --- a/rpm/redhat/main/extras/haproxy/main/haproxy.spec +++ b/rpm/redhat/main/extras/haproxy/main/haproxy.spec @@ -25,15 +25,11 @@ Source7: %{name}-tmpfiles.d BuildRequires: gcc lua-devel pcre2-devel make BuildRequires: systemd-devel systemd -%if 0%{?suse_version} == 1500 -Requires: libopenssl1_1 -BuildRequires: libopenssl-1_1-devel -%endif -%if 0%{?suse_version} == 1600 +%if 0%{?suse_version} >= 1500 Requires: libopenssl3 BuildRequires: libopenssl-3-devel %endif -%if 0%{?fedora} >= 41 || 0%{?rhel} >= 8 +%if 0%{?fedora} >= 42 || 0%{?rhel} >= 8 Requires: openssl-libs >= 1.1.1k BuildRequires: openssl-devel %endif -- 2.39.5