!7 Add buildRequires systemd

From: @caodongxia 
Reviewed-by: @jxy_git 
Signed-off-by: @jxy_git
This commit is contained in:
openeuler-ci-bot 2023-01-06 01:29:30 +00:00 committed by Gitee
commit ebce19f35f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <caodongxia@h-partners.com> - 1.4.1-3
- Add buildRequires systemd
* Mon Oct 11 2021 chenchen <chen_aka_jan@163.com> - 1.4.1-2
- Logr shutdownr gracefully(#428