diff --git a/thrift.spec b/thrift.spec index 871d516d1f971a047e4a17ecd4c3da7918246c0a..6b37c25d91099ceee649407b0921c9e36144d377 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 + * Fri Dec 30 2022 Cao Jingbo - 0.14.0-5 - Use version macro relpace version number text.