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