mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-16 03:00:23 +01:00
rpm: disable CLAT on i686
There is no bpftool compiled for i686.
This commit is contained in:
parent
912026b269
commit
044c2d9260
1 changed files with 16 additions and 1 deletions
|
|
@ -112,7 +112,12 @@
|
|||
%else
|
||||
%bcond_with polkit_noauth_group
|
||||
%endif
|
||||
|
||||
%ifarch %{ix86}
|
||||
# there is no bpftool in i686
|
||||
%bcond_with clat
|
||||
%else
|
||||
%bcond_without clat
|
||||
%endif
|
||||
###############################################################################
|
||||
|
||||
%global dbus_version 1.9.18
|
||||
|
|
@ -198,7 +203,10 @@ Requires(postun): systemd
|
|||
Requires: dbus >= %{dbus_version}
|
||||
Requires: glib2 >= %{glib2_version}
|
||||
Requires: %{name}-libnm%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
|
||||
%if %{with clat}
|
||||
Requires: libbpf
|
||||
%endif
|
||||
|
||||
%if 0%{?rhel} == 8
|
||||
# Older libndp versions use select() (rh#1933041). On well known distros,
|
||||
|
|
@ -302,8 +310,10 @@ BuildRequires: firewalld-filesystem
|
|||
BuildRequires: iproute
|
||||
BuildRequires: iproute-tc
|
||||
BuildRequires: libnvme-devel >= 1.5
|
||||
%if %{with clat}
|
||||
BuildRequires: libbpf-devel
|
||||
BuildRequires: bpftool
|
||||
%endif
|
||||
|
||||
Provides: %{name}-dispatcher%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
|
||||
|
|
@ -632,6 +642,11 @@ Preferably use nmcli instead.
|
|||
%else
|
||||
-Diwd=false \
|
||||
%endif
|
||||
%if %{with clat}
|
||||
-Dclat=true \
|
||||
%else
|
||||
-Dclat=false \
|
||||
%endif
|
||||
%if %{with bluetooth}
|
||||
-Dbluez5_dun=true \
|
||||
%else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue