package: support bpftool in tlinux2
In tlinux2, use python2-docutils instead of python3-docutils. Signed-off-by: Haisu Wang <haisuwang@tencent.com>
This commit is contained in:
parent
b68ab35a8d
commit
0a38cbfb23
|
|
@ -71,7 +71,11 @@ BuildRequires: libcap-devel
|
|||
%endif
|
||||
%if %{with_bpftool}
|
||||
BuildRequires: llvm
|
||||
%if 0%{?rhel} == 7
|
||||
BuildRequires: python2-docutils
|
||||
%else
|
||||
BuildRequires: python3-docutils
|
||||
%endif
|
||||
BuildRequires: zlib-devel binutils-devel
|
||||
%endif
|
||||
Requires(pre): linux-firmware >= 20150904-44
|
||||
|
|
|
|||
Loading…
Reference in New Issue