From 7365bb2448bbf435b89b75cf4fe485275f8b12f25bc5f978ce3cb308b362793f Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 5 Nov 2021 14:04:04 +0000 Subject: [PATCH] Accepting request 929671 from home:dimstar:Factory - If the machine we install onto has shim installed, it is likely an EFI based system. Require fwupd-efi in this case (boo#1192206). - Require libfwupdplugin2 by the -devel package: the -devel package installs the .so symlink, thus we must guarantee the target library to be present. OBS-URL: https://build.opensuse.org/request/show/929671 OBS-URL: https://build.opensuse.org/package/show/Base:System/fwupd?expand=0&rev=108 --- fwupd.changes | 14 ++++++++++++++ fwupd.spec | 6 ++++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/fwupd.changes b/fwupd.changes index eba8a4d..2a16f51 100644 --- a/fwupd.changes +++ b/fwupd.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Fri Nov 5 14:02:26 UTC 2021 - Dominique Leuenberger + +- If the machine we install onto has shim installed, it is likely + an EFI based system. Require fwupd-efi in this case + (boo#1192206). + +------------------------------------------------------------------- +Fri Nov 5 11:27:16 UTC 2021 - Dominique Leuenberger + +- Require libfwupdplugin2 by the -devel package: the -devel package + installs the .so symlink, thus we must guarantee the target + library to be present. + ------------------------------------------------------------------- Fri Oct 15 07:30:24 UTC 2021 - Johannes Segitz diff --git a/fwupd.spec b/fwupd.spec index 4d52d55..d2833ba 100644 --- a/fwupd.spec +++ b/fwupd.spec @@ -51,8 +51,8 @@ Source: %{name}-%{version}.tar.xz Patch1: fwupd-bsc1130056-change-shim-path.patch # PATCH-FIX-OPENSUSE fwupd-jscSLE-11766-close-efidir-leap-gap.patch jsc#SLE-11766 qkzhu@suse.com -- Set SLE and openSUSE esp os dir at runtime Patch2: fwupd-jscSLE-11766-close-efidir-leap-gap.patch -Patch3: harden_fwupd-offline-update.service.patch -Patch4: harden_fwupd-refresh.service.patch +Patch3: harden_fwupd-offline-update.service.patch +Patch4: harden_fwupd-refresh.service.patch BuildRequires: dejavu-fonts %if %{with fish_support} @@ -119,6 +119,7 @@ Provides: dbxtool Requires: shim >= 11 %endif %endif +Requires: (fwupd-efi if shim) %description fwupd is a daemon to allows session software to update device firmware on @@ -179,6 +180,7 @@ A debugging utility for the TPM event log. Summary: Allow session software to update device firmware Group: Development/Languages/C and C++ Requires: libfwupd2 = %{version} +Requires: libfwupdplugin2 = %{version} %description devel fwupd is a daemon to allows session software to update device firmware on