add systemd to BuildRequires to fix install/uninstall errors
(cherry picked from commit a0c94bfcb8a5db178067981e3764bc417e07ada8)
This commit is contained in:
parent
42b374af38
commit
dc99bac5f8
@ -4,12 +4,12 @@
|
|||||||
Summary: Intelligent ops toolkit for openEuler
|
Summary: Intelligent ops toolkit for openEuler
|
||||||
Name: gala-gopher
|
Name: gala-gopher
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 3
|
Release: 4
|
||||||
License: Mulan PSL v2
|
License: Mulan PSL v2
|
||||||
URL: https://gitee.com/openeuler/gala-gopher
|
URL: https://gitee.com/openeuler/gala-gopher
|
||||||
Source: %{name}-%{version}.tar.gz
|
Source: %{name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_builddir}/%{name}-%{version}
|
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: clang >= 10.0.1 llvm
|
||||||
BuildRequires: libconfig-devel librdkafka-devel libmicrohttpd-devel
|
BuildRequires: libconfig-devel librdkafka-devel libmicrohttpd-devel
|
||||||
BuildRequires: uthash-devel libbpf libbpf-devel log4cplus-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
|
gala-gopher is a low-overhead eBPF-based probes framework
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -n %{name}-%{version} -p1
|
||||||
%patch0 -p1
|
|
||||||
%patch1 -p1
|
|
||||||
%patch2 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
pushd build
|
pushd build
|
||||||
@ -73,6 +70,10 @@ popd
|
|||||||
/usr/lib/systemd/system/gala-gopher.service
|
/usr/lib/systemd/system/gala-gopher.service
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Nov 14 2022 Zhen Chen <chenzhen126@huawei.com> - 1.0.0-3
|
||||||
- fix pgsliprobe
|
- fix pgsliprobe
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user