diff --git a/libvirt.spec b/libvirt.spec index e0596dbb62e3e68aeedc5d025a97264e808cbe8e..40958825783529647c07cb35e2f77640a1e7c014 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -1,4 +1,4 @@ -%define anolis_release 14 +%define anolis_release 15 %define arches_qemu_kvm x86_64 aarch64 loongarch64 sw_64 riscv64 @@ -329,6 +329,9 @@ BuildRequires: pkgconfig(libtirpc) %if %{with_firewalld_zone} BuildRequires: firewalld-filesystem %endif +%ifarch riscv64 +BuildRequires: chrpath +%endif %description Libvirt is a C toolkit to interact with the virtualization capabilities @@ -1222,12 +1225,18 @@ mv $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/libvirt_qemu_probes.stp \ %endif %endif +%ifarch riscv64 +# Remove rpath +chrpath --delete %{buildroot}%{_libdir}/libvirt.so.0.9010.0 \ + %{buildroot}%{_libdir}/libvirt-admin.so.0.9010.0 +%endif + %generate_compatibility_deps %check # Building on slow archs, like emulated s390x in Fedora copr, requires # raising the test timeout -VIR_TEST_DEBUG=1 %meson_test --no-suite syntax-check --timeout-multiplier 10 +VIR_TEST_DEBUG=1 %meson_test --no-suite syntax-check --timeout-multiplier 12 %define libvirt_daemon_schedule_restart() mkdir -p %{_localstatedir}/lib/rpm-state/libvirt || : \ /bin/systemctl is-active %1.service 1>/dev/null 2>&1 && \ @@ -2160,6 +2169,10 @@ exit 0 %changelog +* Thu Oct 23 2025 Yihao Yan - 9.10.0-15 +- fix rpath +- raising the test timeout + * Wed May 28 2025 Yanjing Zhou - 9.10.0-14 - Add new Chengdu CPU model