From b8aab143f8ec3601bcabbdc046a77af9c4060147 Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Sat, 4 Mar 2023 15:06:32 +0800 Subject: [PATCH] fix build error for loongarch64 Signed-off-by: Wenlong Zhang --- httpd.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/httpd.spec b/httpd.spec index f7ea8ff..9bda056 100644 --- a/httpd.spec +++ b/httpd.spec @@ -8,7 +8,7 @@ Name: httpd Summary: Apache HTTP Server Version: 2.4.55 -Release: 1 +Release: 2 License: ASL 2.0 URL: https://httpd.apache.org/ Source0: https://archive.apache.org/dist/httpd/httpd-%{version}.tar.bz2 @@ -185,6 +185,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 @@ -501,6 +505,12 @@ exit $rv %{_rpmconfigdir}/macros.d/macros.httpd %changelog +* Sat Mar 4 2023 Wenlong Zhang - 2.4.55-2 +- Type:bugfix +- ID:NA +- SUG:restart +- DESC:fix build error for loongarch64 + * Wed Feb 1 2023 chengyechun - 2.4.55-1 - Type:enhancement - ID:NA