forked from pool/fwupd
Accepting request 657350 from home:gary_lin:branches:Base:System
- Add pesign-obs-integration to BuildRequires and add fwupd*.efi to BRP_PESIGN_FILES to get it signed - Add LC_IMAGES and use efivar only if %{with efi_fw_update} + Also update the version requirement of efivar - Disable Redfish and NVME plugins if %{without efi_fw_update} since those two plugins require efivar - Remove fwup from BuildRequires since fwupdate is already merged into fwupd. OBS-URL: https://build.opensuse.org/request/show/657350 OBS-URL: https://build.opensuse.org/package/show/Base:System/fwupd?expand=0&rev=41
This commit is contained in:
parent
fa9dd33b31
commit
abfdf870fe
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 11 04:25:11 UTC 2018 - Gary Ching-Pang Lin <glin@suse.com>
|
||||||
|
|
||||||
|
- Add pesign-obs-integration to BuildRequires and add fwupd*.efi to
|
||||||
|
BRP_PESIGN_FILES to get it signed
|
||||||
|
- Add LC_IMAGES and use efivar only if %{with efi_fw_update}
|
||||||
|
+ Also update the version requirement of efivar
|
||||||
|
- Disable Redfish and NVME plugins if %{without efi_fw_update}
|
||||||
|
since those two plugins require efivar
|
||||||
|
- Remove fwup from BuildRequires since fwupdate is already merged
|
||||||
|
into fwupd.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 10 10:17:50 UTC 2018 - schwab@suse.de
|
Mon Dec 10 10:17:50 UTC 2018 - schwab@suse.de
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
# needssslcertforbuild
|
||||||
|
|
||||||
|
|
||||||
%ifarch %{ix86} x86_64 aarch64
|
%ifarch %{ix86} x86_64 aarch64
|
||||||
@ -57,7 +58,6 @@ BuildRequires: pkgconfig(appstream-glib) >= 0.5.10
|
|||||||
BuildRequires: pkgconfig(bash-completion)
|
BuildRequires: pkgconfig(bash-completion)
|
||||||
BuildRequires: pkgconfig(cairo)
|
BuildRequires: pkgconfig(cairo)
|
||||||
BuildRequires: pkgconfig(colorhug) >= 1.2.12
|
BuildRequires: pkgconfig(colorhug) >= 1.2.12
|
||||||
BuildRequires: pkgconfig(efivar)
|
|
||||||
BuildRequires: pkgconfig(gio-2.0) >= 2.25.9
|
BuildRequires: pkgconfig(gio-2.0) >= 2.25.9
|
||||||
BuildRequires: pkgconfig(gio-unix-2.0)
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
||||||
BuildRequires: pkgconfig(glib-2.0) >= 2.45.8
|
BuildRequires: pkgconfig(glib-2.0) >= 2.45.8
|
||||||
@ -80,8 +80,9 @@ BuildRequires: pkgconfig(udev)
|
|||||||
BuildRequires: pkgconfig(valgrind)
|
BuildRequires: pkgconfig(valgrind)
|
||||||
%if %{with efi_fw_update}
|
%if %{with efi_fw_update}
|
||||||
BuildRequires: gnu-efi
|
BuildRequires: gnu-efi
|
||||||
|
BuildRequires: pesign-obs-integration
|
||||||
BuildRequires: pkgconfig(efiboot)
|
BuildRequires: pkgconfig(efiboot)
|
||||||
BuildRequires: pkgconfig(fwup) >= 10
|
BuildRequires: pkgconfig(efivar) >= 33
|
||||||
%endif
|
%endif
|
||||||
%ifarch %{ix86} x86_64
|
%ifarch %{ix86} x86_64
|
||||||
BuildRequires: pkgconfig(libsmbios_c) >= 2.3.0
|
BuildRequires: pkgconfig(libsmbios_c) >= 2.3.0
|
||||||
@ -146,6 +147,8 @@ done
|
|||||||
# Synaptics requires Dell support, i.e. x86 only
|
# Synaptics requires Dell support, i.e. x86 only
|
||||||
%meson \
|
%meson \
|
||||||
%if %{without efi_fw_update}
|
%if %{without efi_fw_update}
|
||||||
|
-Dplugin_nvme=false \
|
||||||
|
-Dplugin_redfish=false \
|
||||||
-Dplugin_uefi=false \
|
-Dplugin_uefi=false \
|
||||||
%endif
|
%endif
|
||||||
%ifnarch %{ix86} x86_64
|
%ifnarch %{ix86} x86_64
|
||||||
@ -156,6 +159,7 @@ done
|
|||||||
%meson_build
|
%meson_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
export BRP_PESIGN_FILES='%{_libexecdir}/fwupd/efi/fwupd*.efi'
|
||||||
%meson_install
|
%meson_install
|
||||||
# README.md is packaged as doc
|
# README.md is packaged as doc
|
||||||
rm %{buildroot}%{_localstatedir}/lib/fwupd/builder/README.md
|
rm %{buildroot}%{_localstatedir}/lib/fwupd/builder/README.md
|
||||||
|
Loading…
Reference in New Issue
Block a user