From 49ae448c9d176050cfc593fee0f6417d5b556e19 Mon Sep 17 00:00:00 2001 From: jxy_git Date: Fri, 3 Feb 2023 15:59:18 +0800 Subject: [PATCH] Add buildRequires systemd --- alertmanager.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/alertmanager.spec b/alertmanager.spec index bd532e1..cf03212 100644 --- a/alertmanager.spec +++ b/alertmanager.spec @@ -2,18 +2,18 @@ Name: alertmanager Version: 0.21.0 -Release: 4 +Release: 5 Summary: Prometheus Alertmanager. License: ASL 2.0 URL: https://github.com/prometheus/%{name} - Source0: https://github.com/prometheus/%{name}/archive/refs/tags/v%{version}.tar.gz Source1: %{name}.service Source2: %{name}.default Source3: %{name}.yml BuildRequires: golang +BuildRequires: systemd %{?systemd_requires} Requires(pre): shadow-utils @@ -65,6 +65,9 @@ exit 0 %dir %attr(755, prometheus, prometheus)%{_sharedstatedir}/prometheus %changelog +* Fri Feb 03 2023 jiangxinyu - 0.21.0-5 +- Add buildRequires systemd + * Sat Jan 29 2022 yangzhao - 0.21.0-4 - Build from source code -- Gitee