specify libbpf version in BuildRequires and add some Requires

(cherry picked from commit f5afc0570ebbd534a8241fc5654e10417ea7ee83)
This commit is contained in:
Zhen Chen 2023-01-28 21:04:44 +08:00 committed by openeuler-sync-bot
parent c7cd36674d
commit f0e88d131a

View File

@ -5,7 +5,7 @@
Summary: Intelligent ops toolkit for openEuler
Name: gala-gopher
Version: 1.0.1
Release: 2
Release: 3
License: Mulan PSL v2
URL: https://gitee.com/openeuler/gala-gopher
Source: %{name}-%{version}.tar.gz
@ -13,10 +13,11 @@ BuildRoot: %{_builddir}/%{name}-%{version}
BuildRequires: systemd cmake gcc-c++ elfutils-devel libcurl-devel
BuildRequires: clang >= 10.0.1 llvm java-1.8.0-openjdk-devel
BuildRequires: libconfig-devel librdkafka-devel libmicrohttpd-devel
BuildRequires: uthash-devel libbpf libbpf-devel log4cplus-devel
BuildRequires: libbpf-devel >= 2:0.3 uthash-devel log4cplus-devel
Requires: bash glibc elfutils zlib elfutils-devel bpftool
Requires: dmidecode python3-psycopg2 python3-yaml erlang-eflame
Requires: flamegraph-stackcollapse iproute libcurl
Requires: libbpf >= 2:0.3 hostname kmod
Patch1: add-configuration-instructions.patch
Patch2: fix-stackprobe-memory-allocation-and-deallocation-er.patch
@ -74,6 +75,9 @@ popd
/usr/lib/systemd/system/gala-gopher.service
%changelog
* Sun Jan 29 2023 Zhen Chen <chenzhen126@huawei.com> - 1.0.1-3
- specify libbpf version in BuildRequires and add some Requires
* Sat Jan 14 2023 Zhen Chen <chenzhen126@huawei.com> - 1.0.1-2
- fix ksliprobe get invalid args occasionally at startup
- fix error print when starting gala-gopher