From 4ec1ea59488368fcbb88d9f3113a54419bc03f5b Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 6 Sep 2023 15:47:13 +0800 Subject: [PATCH] fix sw_64 build error --- haproxy.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/haproxy.spec b/haproxy.spec index 32983ab..6e57eff 100644 --- a/haproxy.spec +++ b/haproxy.spec @@ -5,7 +5,7 @@ Name: haproxy Version: 2.6.6 -Release: 4 +Release: 5 Summary: The Reliable, High Performance TCP/HTTP Load Balancer License: GPLv2+ @@ -22,6 +22,9 @@ Patch2: CVE-2023-25950.patch Patch3: CVE-2023-40225.patch BuildRequires: gcc lua-devel pcre2-devel openssl-devel systemd-devel systemd libatomic +%ifarch sw_64 +#!BuildIgnore: gcc_secure +%endif Requires(pre): shadow-utils %{?systemd_requires} @@ -121,6 +124,9 @@ exit 0 %{_mandir}/man1/* %changelog +* Fri Aug 25 2023 panchenbo - 2.6.6-5 +- fix sw_64 build error + * Mon Aug 21 2023 wangkai - 2.6.6-4 - Fix CVE-2023-40225 -- Gitee