From e223577faccee6a4e4bdd061f05055eb7e505b06 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Mon, 27 Jul 2015 15:50:04 +0100 Subject: [PATCH] trivial: Update spec file from downstream --- contrib/fwupd.spec.in | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/contrib/fwupd.spec.in b/contrib/fwupd.spec.in index a87f02504..7b7a211a7 100644 --- a/contrib/fwupd.spec.in +++ b/contrib/fwupd.spec.in @@ -19,21 +19,18 @@ BuildRequires: libgcab1-devel BuildRequires: sqlite-devel BuildRequires: gpgme-devel BuildRequires: systemd -BuildRequires: fwupdate-devel BuildRequires: libsoup-devel BuildRequires: gobject-introspection-devel +BuildRequires: libappstream-glib-devel >= 0.3.6 + +%ifarch x86_64 %{ix86} aarch64 +BuildRequires: fwupdate-devel >= 0.4 +%endif Requires(post): systemd Requires(preun): systemd Requires(postun): systemd -# this really needs to be >= 0.3.6 (git master) to get the self-tests to pass -# and will be added for the next upstream release of appstream-glib -BuildRequires: libappstream-glib-devel - -# we'll fix this when Peter has the latest code in a Fedora package -# BuildRequires: fwupdate-devel >= 0.1 - %description fwupd is a daemon to allow session software to update device firmware. @@ -61,6 +58,9 @@ You probably don't need this package unless you're implementing a LVFS clone. %configure \ --enable-fwsignd \ --disable-static \ +%ifnarch x86_64 %{ix86} aarch64 + --disable-uefi \ +%endif --disable-rpath \ --disable-silent-rules \ --disable-dependency-tracking @@ -73,7 +73,7 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %find_lang %{name} -%pre +%pre sign getent group fwsignd >/dev/null || groupadd -r fwsignd getent passwd fwsignd >/dev/null || \ useradd -r -g fwsignd -d /var/lib/fwsignd -s /sbin/nologin \