Accepting request 593463 from Base:System

OBS-URL: https://build.opensuse.org/request/show/593463
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fwupd?expand=0&rev=8
This commit is contained in:
Dominique Leuenberger 2018-04-05 13:31:27 +00:00 committed by Git OBS Bridge
commit b3b9839924
2 changed files with 20 additions and 7 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Apr 4 09:43:55 UTC 2018 - dimstar@opensuse.org
- Update hasbang in installed files from /usr/bin/env python3 to
/usr/bin/python3.
-------------------------------------------------------------------
Tue Apr 3 13:14:02 UTC 2018 - mpluskal@suse.com
- Update url
- Small packaging cleanup with spec-cleaner
-------------------------------------------------------------------
Fri Mar 23 20:06:34 UTC 2018 - antoine.belvire@opensuse.org

View File

@ -27,7 +27,7 @@ Release: 0
Summary: Allow session software to update device firmware
License: GPL-2.0-or-later AND LGPL-2.1-or-later
Group: System/Management
Url: https://pjones.fedorapeople.org/fwupdate/
URL: https://fwupd.org/
Source: %{name}-%{version}.tar.xz
BuildRequires: dejavu-fonts
BuildRequires: docbook-utils-minimal
@ -47,6 +47,7 @@ BuildRequires: python3-Pillow
BuildRequires: python3-cairo
BuildRequires: python3-gobject-Gdk
BuildRequires: python3-xml
BuildRequires: vala
BuildRequires: pkgconfig(appstream-glib) >= 0.5.10
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(colorhug) >= 1.2.12
@ -63,8 +64,6 @@ BuildRequires: pkgconfig(gusb) >= 0.2.9
BuildRequires: pkgconfig(json-glib-1.0) >= 1.1.1
BuildRequires: pkgconfig(libarchive)
BuildRequires: pkgconfig(libelf)
# BuildRequires: pkgconfig(libtbtfwu) >= 1
BuildRequires: vala
BuildRequires: pkgconfig(libgcab-1.0)
BuildRequires: pkgconfig(libsoup-2.4) >= 2.51.92
BuildRequires: pkgconfig(polkit-gobject-1) >= 0.103
@ -76,7 +75,6 @@ BuildRequires: pkgconfig(valgrind)
BuildRequires: pkgconfig(efiboot)
BuildRequires: pkgconfig(efivar)
BuildRequires: pkgconfig(fwup) >= 5
#!BuildIgnore: shim
%endif
%ifarch %{ix86} x86_64
BuildRequires: pkgconfig(libsmbios_c) >= 2.3.0
@ -134,11 +132,14 @@ if this gets used on other non-desktop hardware.
%prep
%setup -q
for file in $(grep -l %{_bindir}/env . -r); do
sed -i "s|%{_bindir}/env python3|%{_bindir}/python3|" $file
done
%build
# Dell support requires direct SMBIOS access,
# Synaptics requires Dell support, i.e. x86 only
%{meson} \
%meson \
%if %{without efi_fw_update}
-Dplugin_uefi=false \
%endif
@ -147,10 +148,10 @@ if this gets used on other non-desktop hardware.
-Dplugin_synaptics=false \
%endif
-Dtests=false
%{meson_build}
%meson_build
%install
%{meson_install}
%meson_install
# README.md is packaged as doc
rm %{buildroot}%{_localstatedir}/lib/fwupd/builder/README.md
# Add SUSE specific rcfoo service symlink