SHA256
1
0
forked from pool/fwupd

Accepting request 970523 from home:gmbr3:Active

- Update to version 1.7.7:
  * This release adds the following features:
    + Add CCGX trigger code to support future hardware
    + Add signed and unsigned payload metadata to more devices
    + Allow overriding the detected machine type
    + Allow quirking the flashrom flash size
    + Do not allow the DBX update for broken firmware versions
  * This release fixes the following bugs:
    + Do not add the backup BMC device as it shares the same GUIDs
    + Do not hardcode the libexecdir to /usr/libexec
    + Do not leak child processes when canceling
    + Do not throw away the TPM eventlog when uploading reports to
      the LVFS
    + Don't export USB4 host controllers if they do not have unique
      GUIDs
    + Fix build for MacOS
    + Fix the TPM eventlog replay for Intel TXT machines
    + Fix writing large MTD images
    + Never send the DeviceChanged signal with invalid data
    + Return the correct error when there is no GPIO device to open
    + Show the update message and update image in front end tools
    + Support the new PENDING upower device states
  * This release adds support for the following hardware:
    + Logitech M550, M650 and K650
    + More Elan fingerprint readers
    + More Star Labs StarLite laptops
    + More Wacom panels found on Lenovo laptops
- Split bash and fish completions to separate subpackages
- Remove un-needed BRP_PESIGN_FILES
- Set GNU_SOURCE so meson detects F_OFD_SETLK in fnctl.h support

OBS-URL: https://build.opensuse.org/request/show/970523
OBS-URL: https://build.opensuse.org/package/show/Base:System/fwupd?expand=0&rev=117
This commit is contained in:
2022-04-19 12:06:59 +00:00
committed by Git OBS Bridge
parent 76ada3a603
commit 2c5dd2773b
6 changed files with 78 additions and 19 deletions

View File

@@ -15,7 +15,6 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%ifarch %{ix86} x86_64 aarch64
%bcond_without efi_fw_update
%else
@@ -37,7 +36,7 @@
%endif
Name: fwupd
Version: 1.7.6
Version: 1.7.7
Release: 0
Summary: Device firmware updater daemon
License: GPL-2.0-or-later AND LGPL-2.1-or-later
@@ -46,14 +45,12 @@ URL: https://fwupd.org/
# Do not use upstream tarball, we are using source service!
#Source: https://github.com/%%{name}/%%{name}/archive/%%{version}.tar.gz
Source: %{name}-%{version}.tar.xz
# PATCH-FIX-OPENSUSE fwupd-bsc1130056-shim-path.patch bsc#1130056
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
BuildRequires: dejavu-fonts
%if %{with fish_support}
BuildRequires: fish
@@ -185,6 +182,30 @@ Requires: libfwupdplugin5 = %{version}
fwupd is a daemon to allows session software to update device firmware on
the local machine.
%package bash-completion
Summary: Bash completion for fwupd
Group: System/Management
Requires: bash-completion
Requires: %{name}
Supplements: (%{name} and bash-completion)
BuildArch: noarch
%description bash-completion
This package contain the bash completion command for the device firmware updater daemon.
%if %{with fish_support}
%package fish-completion
Summary: Fish completion for fwupd
Group: System/Management
Requires: fish
Requires: %{name}
Supplements: (%{name} and fish)
BuildArch: noarch
%description fish-completion
This package contain the fish completion command for the device firmware updater daemon.
%endif
%lang_package
%prep
@@ -195,6 +216,8 @@ for file in $(grep -l %{_bindir}/env . -r); do
done
%build
# for F_OFD_SETLK detection
export CFLAGS="%{optflags} -D_GNU_SOURCE"
# Dell support requires direct SMBIOS access,
# Synaptics requires Dell support, i.e. x86 only
%meson \
@@ -231,7 +254,6 @@ done
%meson_build
%install
export BRP_PESIGN_FILES='%{_libexecdir}/fwupd/efi/fwupd*.efi'
%meson_install
# README.md is packaged as doc
rm %{buildroot}/usr/share/doc/fwupd/builder/README.md
@@ -272,7 +294,6 @@ rm -fr %{buildroot}%{_datadir}/fish
%service_del_postun %{name}.service fwupd-offline-update.service fwupd-refresh.service
%files
%license COPYING
%doc README.md
%{_unitdir}/fwupd.service
@@ -345,12 +366,6 @@ rm -fr %{buildroot}%{_datadir}/fish
%{_libdir}/fwupd-plugins-5/
%dir %{_datadir}/metainfo
%{_datadir}/metainfo/org.freedesktop.fwupd.metainfo.xml
%{_datadir}/bash-completion/completions/fwupdmgr
%{_datadir}/bash-completion/completions/fwupdtool
%{_datadir}/bash-completion/completions/fwupdagent
%if %{with fish_support}
%{_datadir}/fish/vendor_completions.d/fwupdmgr.fish
%endif
%{_datadir}/icons/hicolor/*
%{_prefix}/lib/systemd/system-shutdown/fwupd.shutdown
%{_prefix}/lib/systemd/system-preset/fwupd-refresh.preset
@@ -385,4 +400,14 @@ rm -fr %{buildroot}%{_datadir}/fish
%{_libdir}/libfwupd.so
%{_libdir}/libfwupdplugin.so
%files bash-completion
%{_datadir}/bash-completion/completions/fwupdmgr
%{_datadir}/bash-completion/completions/fwupdtool
%{_datadir}/bash-completion/completions/fwupdagent
%if %{with fish_support}
%files fish-completion
%{_datadir}/fish/vendor_completions.d/fwupdmgr.fish
%endif
%changelog