From 7cb93f4dbc38117dea8447a644d4253c7d51ca2a Mon Sep 17 00:00:00 2001 From: caodongxia <315816521@qq.com> Date: Thu, 5 Jan 2023 20:10:32 +0800 Subject: [PATCH] Add buildRequires systemd --- pushgateway.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pushgateway.spec b/pushgateway.spec index 8a9b1ca..d726ece 100644 --- a/pushgateway.spec +++ b/pushgateway.spec @@ -8,7 +8,7 @@ Name: pushgateway Version: 1.4.1 -Release: 2 +Release: 3 Summary: Prometheus pushgateway. License: ASL 2.0 URL: https://github.com/prometheus/%{name} @@ -21,6 +21,7 @@ Patch1: 0001-Log-shutdown-gracefully-428.patch BuildRequires: golang >= 1.13 BuildRequires: promu +BuildRequires: systemd %{?systemd_requires} Requires(pre): shadow-utils @@ -69,6 +70,9 @@ exit 0 %dir %attr(755, prometheus, prometheus)%{_sharedstatedir}/prometheus %changelog +* Thu Jan 5 2023 caodongxia - 1.4.1-3 +- Add buildRequires systemd + * Mon Oct 11 2021 chenchen - 1.4.1-2 - Logr shutdownr gracefully(#428