!16 fix build error for loongarch64

From: @zhangwenlong01 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
This commit is contained in:
openeuler-ci-bot 2023-01-31 07:41:58 +00:00 committed by Gitee
commit c466384c6e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: libepoxy Name: libepoxy
Version: 1.5.9 Version: 1.5.9
Release: 2 Release: 3
Summary: library work with epoxy runtime Summary: library work with epoxy runtime
License: MIT License: MIT
URL: https://github.com/anholt/%{name} URL: https://github.com/anholt/%{name}
@ -34,8 +34,12 @@ applications that want to make use of %{name}.
%meson_install %meson_install
%check %check
%ifarch loongarch64
%meson_test
%else
xvfb-run -d -s "-screen 0 640x480x24" ninja -C %{_vpath_builddir} test || \ xvfb-run -d -s "-screen 0 640x480x24" ninja -C %{_vpath_builddir} test || \
(cat %{_vpath_builddir}/meson-logs/testlog.txt ; exit 1) (cat %{_vpath_builddir}/meson-logs/testlog.txt ; exit 1)
%endif
%files %files
%defattr(-,root,root) %defattr(-,root,root)
@ -53,6 +57,9 @@ xvfb-run -d -s "-screen 0 640x480x24" ninja -C %{_vpath_builddir} test || \
%doc README.md %doc README.md
%changelog %changelog
* Mon Jan 30 2023 Wenlong Zhang <zhangwenlong@loongson.cn> - 1.5.9-3
- fix build error for loongarch64
* Wed Oct 26 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1.5.9-2 * Wed Oct 26 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1.5.9-2
- Rebuild for next release - Rebuild for next release