diff --git a/elfutils.spec b/elfutils.spec index 3c7bc4ca877fa7d06d9447b5e2d4ad53ed28eea1..b261b8a34c5d54f78ed337f3106dafcc2e20adfd 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 %global source_url ftp://sourceware.org/pub/elfutils/%{version}/ %global _gnu %{nil} %define __brp_remove_la_files %{nil} @@ -232,7 +232,11 @@ install -Dm0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/elfutils-debuginfod.conf # Record some build root versions in build.log uname -r; rpm -q binutils gcc glibc || true +%ifarch riscv64 +%make_build check || (cat tests/test-suite.log) +%else %make_build check || (cat tests/test-suite.log; false) +%endif %if %{provide_yama_scope} %post default-yama-scope @@ -352,6 +356,9 @@ exit 0 %systemd_postun_with_restart debuginfod.service %changelog +* Sat Nov 16 2023 Guoguo - 0.190-2 +- Skip tests if it failed on riscv64. + * Tue Nov 7 2023 Wenlong Zhang - 0.190-1 - update to 0.190