fix sw_64 build error

(cherry picked from commit 4ec1ea59488368fcbb88d9f3113a54419bc03f5b)
This commit is contained in:
Your Name 2023-09-06 15:47:13 +08:00 committed by openeuler-sync-bot
parent 71f647bc46
commit 0d2b9b3735

View File

@ -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 <panchenbo@kylinsec.com.cn> - 2.6.6-5
- fix sw_64 build error
* Mon Aug 21 2023 wangkai <wang_kai001@hoperun.com> - 2.6.6-4
- Fix CVE-2023-40225