Disable the libsmbios requirement

This commit is contained in:
Richard Hughes 2022-11-29 16:54:08 +00:00
parent 3d1acc8ad8
commit de12c4dc1d

View File

@ -36,11 +36,6 @@
%global have_msr 1 %global have_msr 1
%endif %endif
# libsmbios is only available on x86
%ifarch x86_64
%global have_dell 1
%endif
# Until we actually have seen it outside x86 # Until we actually have seen it outside x86
%ifarch i686 x86_64 %ifarch i686 x86_64
%global have_thunderbolt 1 %global have_thunderbolt 1
@ -54,7 +49,7 @@
Summary: Firmware update daemon Summary: Firmware update daemon
Name: fwupd Name: fwupd
Version: 1.8.7 Version: 1.8.7
Release: 2%{?dist} Release: 3%{?dist}
License: LGPLv2+ License: LGPLv2+
URL: https://github.com/fwupd/fwupd URL: https://github.com/fwupd/fwupd
Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
@ -113,11 +108,6 @@ BuildRequires: google-noto-sans-cjk-ttc-fonts
BuildRequires: tpm2-tss-devel >= 2.2.3 BuildRequires: tpm2-tss-devel >= 2.2.3
%endif %endif
%if 0%{?have_dell}
BuildRequires: efivar-devel >= 33
BuildRequires: libsmbios-devel >= 2.3.0
%endif
Requires(post): systemd Requires(post): systemd
Requires(preun): systemd Requires(preun): systemd
Requires(postun): systemd Requires(postun): systemd
@ -244,11 +234,7 @@ or server machines.
-Dplugin_uefi_pk=disabled \ -Dplugin_uefi_pk=disabled \
-Dplugin_tpm=disabled \ -Dplugin_tpm=disabled \
%endif %endif
%if 0%{?have_dell}
-Dplugin_dell=enabled \
%else
-Dplugin_dell=disabled \ -Dplugin_dell=disabled \
%endif
%if 0%{?have_modem_manager} %if 0%{?have_modem_manager}
-Dplugin_modem_manager=enabled \ -Dplugin_modem_manager=enabled \
%else %else
@ -323,9 +309,6 @@ done
%dir %{_sysconfdir}/fwupd/bios-settings.d %dir %{_sysconfdir}/fwupd/bios-settings.d
%config%(noreplace)%{_sysconfdir}/fwupd/bios-settings.d/README.md %config%(noreplace)%{_sysconfdir}/fwupd/bios-settings.d/README.md
%dir %{_sysconfdir}/fwupd/remotes.d %dir %{_sysconfdir}/fwupd/remotes.d
%if 0%{?have_dell}
%config(noreplace)%{_sysconfdir}/fwupd/remotes.d/dell-esrt.conf
%endif
%config(noreplace)%{_sysconfdir}/fwupd/remotes.d/lvfs.conf %config(noreplace)%{_sysconfdir}/fwupd/remotes.d/lvfs.conf
%config(noreplace)%{_sysconfdir}/fwupd/remotes.d/lvfs-testing.conf %config(noreplace)%{_sysconfdir}/fwupd/remotes.d/lvfs-testing.conf
%config(noreplace)%{_sysconfdir}/fwupd/remotes.d/vendor.conf %config(noreplace)%{_sysconfdir}/fwupd/remotes.d/vendor.conf
@ -342,9 +325,6 @@ done
%{_datadir}/bash-completion/completions/fwupdagent %{_datadir}/bash-completion/completions/fwupdagent
%{_datadir}/fish/vendor_completions.d/fwupdmgr.fish %{_datadir}/fish/vendor_completions.d/fwupdmgr.fish
%{_datadir}/fwupd/metainfo/org.freedesktop.fwupd*.metainfo.xml %{_datadir}/fwupd/metainfo/org.freedesktop.fwupd*.metainfo.xml
%if 0%{?have_dell}
%{_datadir}/fwupd/remotes.d/dell-esrt/metadata.xml
%endif
%{_datadir}/fwupd/remotes.d/vendor/firmware/README.md %{_datadir}/fwupd/remotes.d/vendor/firmware/README.md
%{_datadir}/dbus-1/interfaces/org.freedesktop.fwupd.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.fwupd.xml
%{_datadir}/polkit-1/actions/org.freedesktop.fwupd.policy %{_datadir}/polkit-1/actions/org.freedesktop.fwupd.policy
@ -431,6 +411,9 @@ done
%endif %endif
%changelog %changelog
* Tue Nov 29 2022 Richard Hughes <richard@hughsie.com> 1.8.7-3
- Disable the libsmbios requirement as it is now unmaintained in Fedora.
* Wed Nov 09 2022 Richard Hughes <richard@hughsie.com> 1.8.7-2 * Wed Nov 09 2022 Richard Hughes <richard@hughsie.com> 1.8.7-2
- Fix the lvfs-testing remote - Fix the lvfs-testing remote