fix review

This commit is contained in:
luzhihao 2020-04-28 20:18:39 +08:00
parent bbf4165823
commit 5eb6cc88fc

View File

@ -11,17 +11,9 @@ Source0: %{url}/releases/download/v%{version}/%{name}-src-with-submodule.
# Arches will be included as upstream support is added and dependencies are # Arches will be included as upstream support is added and dependencies are
# satisfied in the respective arches # satisfied in the respective arches
BuildRequires: bison BuildRequires: bison cmake >= 2.8.7 flex libxml2-devel python3-devel
BuildRequires: cmake >= 2.8.7 BuildRequires: elfutils-libelf-devel llvm-devel clang-devel
BuildRequires: flex BuildRequires: llvm-static ncurses-devel pkgconfig(luajit)
BuildRequires: libxml2-devel
BuildRequires: python3-devel
BuildRequires: elfutils-libelf-devel
BuildRequires: llvm-devel
BuildRequires: clang-devel
BuildRequires: llvm-static
BuildRequires: ncurses-devel
BuildRequires: pkgconfig(luajit)
BuildRequires: libbpf-devel >= 0.0.5-3, libbpf-static >= 0.0.5-3 BuildRequires: libbpf-devel >= 0.0.5-3, libbpf-static >= 0.0.5-3
Requires: %{name}-tools = %{version}-%{release} Requires: %{name}-tools = %{version}-%{release}
@ -93,6 +85,7 @@ Command line tools for BPF Compiler Collection (BCC)
-DREVISION_LAST=%{version} -DREVISION=%{version} -DPYTHON_CMD=python3 \ -DREVISION_LAST=%{version} -DREVISION=%{version} -DPYTHON_CMD=python3 \
-DCMAKE_USE_LIBBPF_PACKAGE:BOOL=TRUE \ -DCMAKE_USE_LIBBPF_PACKAGE:BOOL=TRUE \
%{?with_llvm_shared:-DENABLE_LLVM_SHARED=1} %{?with_llvm_shared:-DENABLE_LLVM_SHARED=1}
%make_build %make_build