From f8d21e7337250a5f2656f5b937a6f258f843753f Mon Sep 17 00:00:00 2001 From: Nianqing Yao Date: Wed, 5 Jun 2024 10:45:08 +0800 Subject: [PATCH] Fix build on rv64 --- libreoffice.spec | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libreoffice.spec b/libreoffice.spec index ec23fb1..36578c3 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -1122,6 +1122,14 @@ sed -i -e /CppunitTest_vcl_png_test/d vcl/Module_vcl.mk # https://bugs.documentfoundation.org/show_bug.cgi?id=159211 sed -i -e /CppunitTest_sd_png_export_tests/d sd/Module_sd.mk %endif +%ifarch riscv64 +# Failed test on RV64 +# confimed on 2024-06-01, version 24.2.3.2 +sed -i -e s/CustomTarget_uno_test// testtools/Module_testtools.mk +sed -i -e s/CppunitTest_sw_macros_test// sw/Module_sw.mk +# https://bugs.documentfoundation.org/show_bug.cgi?id=152943 +sed -i -e s/CppunitTest_sc_ucalc_formula2// sc/Module_sc.mk +%endif #see rhbz#2072615 rm -f vcl/qa/cppunit/graphicfilter/data/tiff/fail/CVE-2017-9936-1.tiff @@ -1587,6 +1595,7 @@ make unitcheck slowcheck # we don't need this anymore rm -f %{buildroot}%{baseinstdir}/program/classes/smoketest.jar + %files %files filters