!13 [sync] PR-8: add systemd to BuildRequires to fix install/uninstall errors

From: @openeuler-sync-bot 
Reviewed-by: @MrRlu 
Signed-off-by: @MrRlu
This commit is contained in:
openeuler-ci-bot 2022-11-18 01:37:28 +00:00 committed by Gitee
commit 8bf690d4a6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -4,12 +4,12 @@
Summary: Intelligent ops toolkit for openEuler
Name: gala-gopher
Version: 1.0.0
Release: 3
Release: 4
License: Mulan PSL v2
URL: https://gitee.com/openeuler/gala-gopher
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_builddir}/%{name}-%{version}
BuildRequires: cmake gcc-c++ yum elfutils-devel
BuildRequires: systemd cmake gcc-c++ yum elfutils-devel
BuildRequires: clang >= 10.0.1 llvm
BuildRequires: libconfig-devel librdkafka-devel libmicrohttpd-devel
BuildRequires: uthash-devel libbpf libbpf-devel log4cplus-devel
@ -29,10 +29,7 @@ patch2: fix-pgsliprobe.patch
gala-gopher is a low-overhead eBPF-based probes framework
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%autosetup -n %{name}-%{version} -p1
%build
pushd build
@ -73,6 +70,10 @@ popd
/usr/lib/systemd/system/gala-gopher.service
%changelog
* Tue Nov 15 2022 Zhen Chen <chenzhen126@huawei.com> - 1.0.0-4
- add systemd to BuildRequires to fix install/uninstall errors
simplify patch application in %prep
* Mon Nov 14 2022 Zhen Chen <chenzhen126@huawei.com> - 1.0.0-3
- fix pgsliprobe