From e523319df669a4025349201e8be7db15f2890eac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20Membr=C3=A9?= Date: Tue, 3 Dec 2024 12:06:41 +0100 Subject: [PATCH] Fixes #26001: Embed curl for rhel9 --- rudder-agent/SPECS/rudder-agent.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rudder-agent/SPECS/rudder-agent.spec b/rudder-agent/SPECS/rudder-agent.spec index 3e1672405..4fc6cf310 100644 --- a/rudder-agent/SPECS/rudder-agent.spec +++ b/rudder-agent/SPECS/rudder-agent.spec @@ -66,9 +66,13 @@ %if 0%{?rhel} && 0%{?rhel} < 8 # no jq before RHEL8 %define with_jq true -%define with_libcurl true %define with_openssl true %endif +%if 0%{?rhel} && 0%{?rhel} < 9 +# need updated curl for RHEL 9 +%define with_libcurl true +%endif + # 3 - SUSE # Reference for suse_version : https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto