From a2457dbfe00c0e14deb1dcb289e5013bc32d5977 Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Thu, 18 May 2023 14:46:14 +0800 Subject: [PATCH] specify boost-libdir for loongarch64 --- thrift.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/thrift.spec b/thrift.spec index e64b2a0..7b642c1 100644 --- a/thrift.spec +++ b/thrift.spec @@ -38,7 +38,7 @@ %global lua_configure --without-lua Name: thrift Version: 0.14.0 -Release: 5 +Release: 6 Summary: Software framework for cross-language services development License: ASL 2.0 and BSD and zlib URL: https://thrift.apache.org/ @@ -203,7 +203,11 @@ sed -i 's|-Dinstall.javadoc.path=$(DESTDIR)$(docdir)/java|-Dinstall.javadoc.path sed -i 's|$(INSTALL) $$p|$(INSTALL) --mode 644 $$p|g' lib/erl/Makefile.am sh ./bootstrap.sh export PYTHON=%{_bindir}/python3 +%ifarch loongarch64 +%configure --disable-dependency-tracking --disable-static --with-boost=/usr --with-boost-libdir=/usr/lib64 \ +%else %configure --disable-dependency-tracking --disable-static --with-boost=/usr \ +%endif --docdir=%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/thrift-%{version}} \ %{java_configure} %{ruby_configure} %{erlang_configure} %{golang_configure} %{php_configure} %{lua_configure} sed -i -e 's/ -shared / -Wl,--as-needed\0/g' libtool @@ -299,6 +303,9 @@ cp libthrift_dir/pom.xml %{buildroot}%{_datadir}/maven-poms/libthrift/libthrift. %endif %changelog +* Thu May 18 2023 Wenlong Zhang - 0.14.0-6 +- specify boost-libdir for loongarch64 + * Mon Aug 22 2022 wangkai - 0.14.0-5 - Rebuild for log4j 2.17.2 fix CVE-2021-44832 -- Gitee