SHA256
1
0
forked from pool/fwupd

Accepting request 656781 from home:Andreas_Schwab:Factory

- Use gnu-efi only if %{with efi_fw_update}, always use pkgconfig(efivar)
- Fix file list

OBS-URL: https://build.opensuse.org/request/show/656781
OBS-URL: https://build.opensuse.org/package/show/Base:System/fwupd?expand=0&rev=39
This commit is contained in:
Dirk Mueller 2018-12-11 07:46:37 +00:00 committed by Git OBS Bridge
parent 99dff4c0ac
commit fa9dd33b31
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 10 10:17:50 UTC 2018 - schwab@suse.de
- Use gnu-efi only if %{with efi_fw_update}, always use pkgconfig(efivar)
- Fix file list
-------------------------------------------------------------------
Thu Dec 6 07:22:17 UTC 2018 - Gary Ching-Pang Lin <glin@suse.com>

View File

@ -37,7 +37,6 @@ Source: %{name}-%{version}.tar.xz
BuildRequires: dejavu-fonts
BuildRequires: docbook-utils-minimal
BuildRequires: gcab
BuildRequires: gnu-efi
# for certtool
BuildRequires: gnutls
BuildRequires: gobject-introspection
@ -58,6 +57,7 @@ BuildRequires: pkgconfig(appstream-glib) >= 0.5.10
BuildRequires: pkgconfig(bash-completion)
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(colorhug) >= 1.2.12
BuildRequires: pkgconfig(efivar)
BuildRequires: pkgconfig(gio-2.0) >= 2.25.9
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.45.8
@ -79,8 +79,8 @@ BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(udev)
BuildRequires: pkgconfig(valgrind)
%if %{with efi_fw_update}
BuildRequires: gnu-efi
BuildRequires: pkgconfig(efiboot)
BuildRequires: pkgconfig(efivar)
BuildRequires: pkgconfig(fwup) >= 10
%endif
%ifarch %{ix86} x86_64
@ -247,7 +247,9 @@ fi
%{_libdir}/girepository-1.0/Fwupd-2.0.typelib
%files lang -f %{name}.lang
%if %{with efi_fw_update}
%{_datadir}/locale/*/LC_IMAGES/
%endif
%files devel
%doc %{_datadir}/gtk-doc/html/libfwupd/