mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-16 07:25:43 +00:00
trivial: Build the ModemManager plugin on F30+
This commit is contained in:
parent
3cdd558fe4
commit
224a9036ae
@ -26,6 +26,11 @@
|
|||||||
%global have_dell 1
|
%global have_dell 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# only available recently
|
||||||
|
%if 0%{?fedora} >= 30
|
||||||
|
%global have_modem_manager 1
|
||||||
|
%endif
|
||||||
|
|
||||||
Summary: Firmware update daemon
|
Summary: Firmware update daemon
|
||||||
Name: fwupd
|
Name: fwupd
|
||||||
Version: #VERSION#
|
Version: #VERSION#
|
||||||
@ -61,7 +66,11 @@ BuildRequires: help2man
|
|||||||
BuildRequires: json-glib-devel >= %{json_glib_version}
|
BuildRequires: json-glib-devel >= %{json_glib_version}
|
||||||
BuildRequires: vala
|
BuildRequires: vala
|
||||||
BuildRequires: bash-completion
|
BuildRequires: bash-completion
|
||||||
#BuildRequires: ModemManager-glib-devel >= 1.9.1
|
|
||||||
|
%if 0%{?have_modem_manager}
|
||||||
|
BuildRequires: ModemManager-glib-devel >= 1.10.0
|
||||||
|
BuildRequires: libqmi-devel >= 1.22.0
|
||||||
|
%endif
|
||||||
|
|
||||||
%if 0%{?have_redfish}
|
%if 0%{?have_redfish}
|
||||||
BuildRequires: efivar-devel >= 33
|
BuildRequires: efivar-devel >= 33
|
||||||
@ -161,6 +170,11 @@ Data files for installed tests.
|
|||||||
%else
|
%else
|
||||||
-Dplugin_dell=false \
|
-Dplugin_dell=false \
|
||||||
-Dplugin_synaptics=false \
|
-Dplugin_synaptics=false \
|
||||||
|
%endif
|
||||||
|
%if 0%{?have_modem_manager}
|
||||||
|
-Dplugin_modem_manager=true \
|
||||||
|
%else
|
||||||
|
-Dplugin_modem_manager=false \
|
||||||
%endif
|
%endif
|
||||||
-Dman=true
|
-Dman=true
|
||||||
|
|
||||||
@ -273,7 +287,9 @@ mkdir -p --mode=0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/fwupd/gnupg
|
|||||||
%{_libdir}/fwupd-plugins-3/libfu_plugin_ebitdo.so
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_ebitdo.so
|
||||||
%{_libdir}/fwupd-plugins-3/libfu_plugin_fastboot.so
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_fastboot.so
|
||||||
%{_libdir}/fwupd-plugins-3/libfu_plugin_flashrom.so
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_flashrom.so
|
||||||
#%{_libdir}/fwupd-plugins-3/libfu_plugin_modem_manager.so
|
%if 0%{?have_modem_manager}
|
||||||
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_modem_manager.so
|
||||||
|
%endif
|
||||||
%{_libdir}/fwupd-plugins-3/libfu_plugin_nitrokey.so
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_nitrokey.so
|
||||||
%if 0%{?have_uefi}
|
%if 0%{?have_uefi}
|
||||||
%{_libdir}/fwupd-plugins-3/libfu_plugin_nvme.so
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_nvme.so
|
||||||
|
Loading…
Reference in New Issue
Block a user