Add buildRequires systemd
This commit is contained in:
parent
db1e234473
commit
7cb93f4dbc
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
Name: pushgateway
|
Name: pushgateway
|
||||||
Version: 1.4.1
|
Version: 1.4.1
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Prometheus pushgateway.
|
Summary: Prometheus pushgateway.
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://github.com/prometheus/%{name}
|
URL: https://github.com/prometheus/%{name}
|
||||||
@ -21,6 +21,7 @@ Patch1: 0001-Log-shutdown-gracefully-428.patch
|
|||||||
|
|
||||||
BuildRequires: golang >= 1.13
|
BuildRequires: golang >= 1.13
|
||||||
BuildRequires: promu
|
BuildRequires: promu
|
||||||
|
BuildRequires: systemd
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
Requires(pre): shadow-utils
|
Requires(pre): shadow-utils
|
||||||
|
|
||||||
@ -69,6 +70,9 @@ exit 0
|
|||||||
%dir %attr(755, prometheus, prometheus)%{_sharedstatedir}/prometheus
|
%dir %attr(755, prometheus, prometheus)%{_sharedstatedir}/prometheus
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Oct 11 2021 chenchen <chen_aka_jan@163.com> - 1.4.1-2
|
||||||
- Logr shutdownr gracefully(#428
|
- Logr shutdownr gracefully(#428
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user