forked from pool/fwupd
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:
commit
b3b9839924
@ -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
|
Fri Mar 23 20:06:34 UTC 2018 - antoine.belvire@opensuse.org
|
||||||
|
|
||||||
|
15
fwupd.spec
15
fwupd.spec
@ -27,7 +27,7 @@ Release: 0
|
|||||||
Summary: Allow session software to update device firmware
|
Summary: Allow session software to update device firmware
|
||||||
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
||||||
Group: System/Management
|
Group: System/Management
|
||||||
Url: https://pjones.fedorapeople.org/fwupdate/
|
URL: https://fwupd.org/
|
||||||
Source: %{name}-%{version}.tar.xz
|
Source: %{name}-%{version}.tar.xz
|
||||||
BuildRequires: dejavu-fonts
|
BuildRequires: dejavu-fonts
|
||||||
BuildRequires: docbook-utils-minimal
|
BuildRequires: docbook-utils-minimal
|
||||||
@ -47,6 +47,7 @@ BuildRequires: python3-Pillow
|
|||||||
BuildRequires: python3-cairo
|
BuildRequires: python3-cairo
|
||||||
BuildRequires: python3-gobject-Gdk
|
BuildRequires: python3-gobject-Gdk
|
||||||
BuildRequires: python3-xml
|
BuildRequires: python3-xml
|
||||||
|
BuildRequires: vala
|
||||||
BuildRequires: pkgconfig(appstream-glib) >= 0.5.10
|
BuildRequires: pkgconfig(appstream-glib) >= 0.5.10
|
||||||
BuildRequires: pkgconfig(cairo)
|
BuildRequires: pkgconfig(cairo)
|
||||||
BuildRequires: pkgconfig(colorhug) >= 1.2.12
|
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(json-glib-1.0) >= 1.1.1
|
||||||
BuildRequires: pkgconfig(libarchive)
|
BuildRequires: pkgconfig(libarchive)
|
||||||
BuildRequires: pkgconfig(libelf)
|
BuildRequires: pkgconfig(libelf)
|
||||||
# BuildRequires: pkgconfig(libtbtfwu) >= 1
|
|
||||||
BuildRequires: vala
|
|
||||||
BuildRequires: pkgconfig(libgcab-1.0)
|
BuildRequires: pkgconfig(libgcab-1.0)
|
||||||
BuildRequires: pkgconfig(libsoup-2.4) >= 2.51.92
|
BuildRequires: pkgconfig(libsoup-2.4) >= 2.51.92
|
||||||
BuildRequires: pkgconfig(polkit-gobject-1) >= 0.103
|
BuildRequires: pkgconfig(polkit-gobject-1) >= 0.103
|
||||||
@ -76,7 +75,6 @@ BuildRequires: pkgconfig(valgrind)
|
|||||||
BuildRequires: pkgconfig(efiboot)
|
BuildRequires: pkgconfig(efiboot)
|
||||||
BuildRequires: pkgconfig(efivar)
|
BuildRequires: pkgconfig(efivar)
|
||||||
BuildRequires: pkgconfig(fwup) >= 5
|
BuildRequires: pkgconfig(fwup) >= 5
|
||||||
#!BuildIgnore: shim
|
|
||||||
%endif
|
%endif
|
||||||
%ifarch %{ix86} x86_64
|
%ifarch %{ix86} x86_64
|
||||||
BuildRequires: pkgconfig(libsmbios_c) >= 2.3.0
|
BuildRequires: pkgconfig(libsmbios_c) >= 2.3.0
|
||||||
@ -134,11 +132,14 @@ if this gets used on other non-desktop hardware.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
for file in $(grep -l %{_bindir}/env . -r); do
|
||||||
|
sed -i "s|%{_bindir}/env python3|%{_bindir}/python3|" $file
|
||||||
|
done
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Dell support requires direct SMBIOS access,
|
# Dell support requires direct SMBIOS access,
|
||||||
# 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_uefi=false \
|
-Dplugin_uefi=false \
|
||||||
%endif
|
%endif
|
||||||
@ -147,10 +148,10 @@ if this gets used on other non-desktop hardware.
|
|||||||
-Dplugin_synaptics=false \
|
-Dplugin_synaptics=false \
|
||||||
%endif
|
%endif
|
||||||
-Dtests=false
|
-Dtests=false
|
||||||
%{meson_build}
|
%meson_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{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
|
||||||
# Add SUSE specific rcfoo service symlink
|
# Add SUSE specific rcfoo service symlink
|
||||||
|
Loading…
x
Reference in New Issue
Block a user