From 4c0252c9bfa5be53c6444c971f063c0277f81db7 Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Tue, 31 Jan 2023 11:20:00 +0800 Subject: [PATCH] fix build error for loongarch64 (cherry picked from commit 4daa78a06df4a723c751975010da4362881b8d9f) --- libepoxy.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libepoxy.spec b/libepoxy.spec index d75a318..6e53935 100644 --- a/libepoxy.spec +++ b/libepoxy.spec @@ -1,6 +1,6 @@ Name: libepoxy Version: 1.5.9 -Release: 2 +Release: 3 Summary: library work with epoxy runtime License: MIT URL: https://github.com/anholt/%{name} @@ -34,8 +34,12 @@ applications that want to make use of %{name}. %meson_install %check +%ifarch loongarch64 +%meson_test +%else xvfb-run -d -s "-screen 0 640x480x24" ninja -C %{_vpath_builddir} test || \ (cat %{_vpath_builddir}/meson-logs/testlog.txt ; exit 1) +%endif %files %defattr(-,root,root) @@ -53,6 +57,9 @@ xvfb-run -d -s "-screen 0 640x480x24" ninja -C %{_vpath_builddir} test || \ %doc README.md %changelog +* Mon Jan 30 2023 Wenlong Zhang - 1.5.9-3 +- fix build error for loongarch64 + * Wed Oct 26 2022 zhouwenpei - 1.5.9-2 - Rebuild for next release -- Gitee