From 5216e20d443c3fcb4a909219da61be6b33b4d803237f74a5728f307fdb7ce0ac Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 5 Jul 2023 13:35:14 +0000 Subject: [PATCH] Accepting request 1096917 from home:Andreas_Schwab:Factory - Enable efi_fw_update on riscv64 - fwupdagent and dfu-tool are only built %{with efi_fw_update} OBS-URL: https://build.opensuse.org/request/show/1096917 OBS-URL: https://build.opensuse.org/package/show/Base:System/fwupd?expand=0&rev=140 --- fwupd.changes | 6 ++++++ fwupd.spec | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/fwupd.changes b/fwupd.changes index eb5d4e4..c8c145d 100644 --- a/fwupd.changes +++ b/fwupd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jul 5 07:58:59 UTC 2023 - Andreas Schwab + +- Enable efi_fw_update on riscv64 +- fwupdagent and dfu-tool are only built %{with efi_fw_update} + ------------------------------------------------------------------- Tue Jun 13 18:24:25 UTC 2023 - Bjørn Lie diff --git a/fwupd.spec b/fwupd.spec index c300239..d13f3d0 100644 --- a/fwupd.spec +++ b/fwupd.spec @@ -16,7 +16,7 @@ # -%ifarch %{ix86} x86_64 aarch64 +%ifarch %{ix86} x86_64 aarch64 riscv64 %bcond_without efi_fw_update %else %bcond_with efi_fw_update @@ -316,10 +316,10 @@ rm -fr %{buildroot}%{_datadir}/fish %{_unitdir}/fwupd-refresh.service %{_unitdir}/fwupd-refresh.timer %{_libexecdir}/fwupd -%{_bindir}/fwupdagent %{_bindir}/fwupdmgr %{_bindir}/fwupdtool %if %{with efi_fw_update} +%{_bindir}/fwupdagent %{_bindir}/fwupdate %{_bindir}/dbxtool %endif @@ -392,11 +392,13 @@ rm -fr %{buildroot}%{_datadir}/fish %{_libdir}/fwupd-%{version}/libfwupdutil.so %{_datadir}/%{name}/quirks.d/builtin.quirk.gz +%if %{with efi_fw_update} %files -n dfu-tool %{_bindir}/dfu-tool %if 0%{?docs} %{_mandir}/man1/dfu-tool.1%{?ext_man} %endif +%endif %files -n libfwupd%{shlib_sover} %{_libdir}/libfwupd.so.*