From 67fc5aa7565f8695eda11f3ba88f8edb2d6483f9 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Wed, 20 Nov 2024 16:45:35 +0000 Subject: [PATCH] Disable Requires on kexec-tools for riscv64 kexec is supported for riscv64 on the kernel side, but the tooling side is not yet upstreamed. Status is unknown. See recent failed kexec-tools builds on riscv64 here: http://fedora.riscv.rocks/koji/packageinfo?packageID=17577 Signed-off-by: David Abdurachmanov Signed-off-by: Richard W.M. Jones --- abrt.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/abrt.spec b/abrt.spec index 6d83b4d..783d3c4 100644 --- a/abrt.spec +++ b/abrt.spec @@ -57,7 +57,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.17.6 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -249,7 +249,11 @@ log. Summary: %{name}'s vmcore addon Requires: %{name} = %{version}-%{release} Requires: abrt-addon-kerneloops +# On riscv64, kexec-tools does not compile: +# "configure: error: unsupported architecture riscv64" +%ifnarch riscv64 Requires: kexec-tools +%endif %if %{with python3} Requires: python3-abrt Requires: python3-augeas @@ -982,6 +986,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Wed Nov 20 2024 David Abdurachmanov - 2.17.6-3 +- Disable Requires for kexec-tools on riscv64 (not supported) + * Wed Sep 11 2024 Neal Gompa - 2.17.6-2 - Drop container handler (rhbz#2295150)