From aa3acf3a1c63566c652970e35162772b6e693ef4 Mon Sep 17 00:00:00 2001 From: yangchenguang Date: Sun, 23 Apr 2023 13:43:20 +0800 Subject: [PATCH] fix loongarch64 build failed Signed-off-by: yangchenguang --- httpd.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/httpd.spec b/httpd.spec index 4fde15b..545de7f 100644 --- a/httpd.spec +++ b/httpd.spec @@ -8,7 +8,7 @@ Name: httpd Summary: Apache HTTP Server Version: 2.4.51 -Release: 16 +Release: 17 License: ASL 2.0 URL: https://httpd.apache.org/ Source0: https://archive.apache.org/dist/httpd/httpd-%{version}.tar.bz2 @@ -220,6 +220,10 @@ sed 's/@MPM@/%{mpm}/' < $RPM_SOURCE_DIR/httpd.service.xml \ xmlto man ./httpd.service.xml %build +%ifarch loongarch64 +%_update_config_guess +%_update_config_sub +%endif rm -rf srclib/{apr,apr-util,pcre} autoheader && autoconf || exit 1 @@ -536,6 +540,9 @@ exit $rv %{_rpmconfigdir}/macros.d/macros.httpd %changelog +* Sun Apr 23 2023 yangchenguang - 2.4.51-17 +- fix loongarch64 build failed + * Thu Apr 13 2023 chengyechun - 2.4.51-16 - Type:bugfix - ID: -- Gitee