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.*