Fix deps on i686
This commit is contained in:
parent
a7cfb2b768
commit
23fc3e2fc6
26
fwupd.spec
26
fwupd.spec
@ -8,19 +8,20 @@
|
|||||||
%global enable_tests 1
|
%global enable_tests 1
|
||||||
%global enable_dummy 1
|
%global enable_dummy 1
|
||||||
|
|
||||||
%ifarch x86_64 %{ix86}
|
# fwupdate is only available on these arches
|
||||||
%global have_smbios 1
|
%ifarch x86_64 aarch64
|
||||||
|
%global have_uefi 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# FIXME: should also be aarch64, but efivar not present there yet
|
# libsmbios is only available on x86, and fwupdate is available on just x86_64
|
||||||
%ifarch x86_64 %{ix86}
|
%ifarch x86_64
|
||||||
%global have_uefi 1
|
%global have_dell 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Summary: Firmware update daemon
|
Summary: Firmware update daemon
|
||||||
Name: fwupd
|
Name: fwupd
|
||||||
Version: 0.9.6
|
Version: 0.9.6
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://github.com/hughsie/fwupd
|
URL: https://github.com/hughsie/fwupd
|
||||||
Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
|
Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
|
||||||
@ -57,7 +58,8 @@ BuildRequires: dejavu-sans-fonts
|
|||||||
BuildRequires: adobe-source-han-sans-cn-fonts
|
BuildRequires: adobe-source-han-sans-cn-fonts
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?have_smbios}
|
%if 0%{?have_dell}
|
||||||
|
BuildRequires: efivar-devel
|
||||||
BuildRequires: libsmbios-devel >= 2.3.0
|
BuildRequires: libsmbios-devel >= 2.3.0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -145,7 +147,7 @@ Data files for installed tests.
|
|||||||
-Denable-uefi=false \
|
-Denable-uefi=false \
|
||||||
-Denable-uefi-labels=false \
|
-Denable-uefi-labels=false \
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?have_smbios}
|
%if 0%{?have_dell}
|
||||||
-Denable-dell=true \
|
-Denable-dell=true \
|
||||||
-Denable-synaptics=true \
|
-Denable-synaptics=true \
|
||||||
%else
|
%else
|
||||||
@ -217,14 +219,14 @@ mkdir -p --mode=0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/fwupd/gnupg
|
|||||||
%{_libdir}/fwupd-plugins-2/libfu_plugin_altos.so
|
%{_libdir}/fwupd-plugins-2/libfu_plugin_altos.so
|
||||||
%{_libdir}/fwupd-plugins-2/libfu_plugin_amt.so
|
%{_libdir}/fwupd-plugins-2/libfu_plugin_amt.so
|
||||||
%{_libdir}/fwupd-plugins-2/libfu_plugin_colorhug.so
|
%{_libdir}/fwupd-plugins-2/libfu_plugin_colorhug.so
|
||||||
%if 0%{?have_smbios}
|
%if 0%{?have_dell}
|
||||||
%{_libdir}/fwupd-plugins-2/libfu_plugin_dell.so
|
%{_libdir}/fwupd-plugins-2/libfu_plugin_dell.so
|
||||||
%endif
|
%endif
|
||||||
%{_libdir}/fwupd-plugins-2/libfu_plugin_dfu.so
|
%{_libdir}/fwupd-plugins-2/libfu_plugin_dfu.so
|
||||||
%{_libdir}/fwupd-plugins-2/libfu_plugin_ebitdo.so
|
%{_libdir}/fwupd-plugins-2/libfu_plugin_ebitdo.so
|
||||||
%{_libdir}/fwupd-plugins-2/libfu_plugin_raspberrypi.so
|
%{_libdir}/fwupd-plugins-2/libfu_plugin_raspberrypi.so
|
||||||
%{_libdir}/fwupd-plugins-2/libfu_plugin_steelseries.so
|
%{_libdir}/fwupd-plugins-2/libfu_plugin_steelseries.so
|
||||||
%if 0%{?have_smbios}
|
%if 0%{?have_dell}
|
||||||
%{_libdir}/fwupd-plugins-2/libfu_plugin_synapticsmst.so
|
%{_libdir}/fwupd-plugins-2/libfu_plugin_synapticsmst.so
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?enable_dummy}
|
%if 0%{?enable_dummy}
|
||||||
@ -276,6 +278,10 @@ mkdir -p --mode=0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/fwupd/gnupg
|
|||||||
%{_datadir}/installed-tests/fwupd/*.py*
|
%{_datadir}/installed-tests/fwupd/*.py*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 01 2017 Kalev Lember <klember@redhat.com> 0.9.6-2
|
||||||
|
- Disable i686 UEFI support now that fwupdate is no longer available there
|
||||||
|
- Enable aarch64 UEFI support now that all the deps are available there
|
||||||
|
|
||||||
* Thu Aug 03 2017 Richard Hughes <richard@hughsie.com> 0.9.6-1
|
* Thu Aug 03 2017 Richard Hughes <richard@hughsie.com> 0.9.6-1
|
||||||
- New upstream release
|
- New upstream release
|
||||||
- Add --version option to fwupdmgr
|
- Add --version option to fwupdmgr
|
||||||
|
Loading…
Reference in New Issue
Block a user