diff --git a/thrift.spec b/thrift.spec index e64b2a0307306a1f2206d292499dd626bd4d42bf..7b642c1c5d991a1993addaa107189564807dc593 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