!139 fix build error for loongarch64
From: @zhangwenlong01 Reviewed-by: @seuzw Signed-off-by: @seuzw
This commit is contained in:
commit
6cf452d410
12
httpd.spec
12
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 <zhangwenlong@loongson.cn> - 2.4.55-2
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
- SUG:restart
|
||||
- DESC:fix build error for loongarch64
|
||||
|
||||
* Wed Feb 1 2023 chengyechun <chengyechun1@huawei.com> - 2.4.55-1
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user