diff --git a/prometheus2.spec b/prometheus2.spec index 91d7a6fe4c6ff91d4699cc29d23bdcf115a9cf42..0f21ee984752ffa78ff0fbd614486c1996b93ff6 100644 --- a/prometheus2.spec +++ b/prometheus2.spec @@ -1,23 +1,25 @@ -%define debug_package %{nil} - -Name: prometheus2 -Version: 2.20.0 -Release: 1%{?dist} -Summary: The Prometheus 2.x monitoring system and time series database. -License: ASL 2.0 -URL: https://prometheus.io +%define debug_package %{nil} + +Name: prometheus2 +Version: 2.20.0 +Release: 2 +Summary: The Prometheus 2.x monitoring system and time series database. +License: ASL 2.0 +URL: https://prometheus.io Conflicts: prometheus %ifarch aarch64 -%global hostarch arm64 +%global hostarch arm64 %endif %ifarch x86_64 -%global hostarch amd64 +%global hostarch amd64 %endif -Source0: prometheus-%{version}.linux-%{hostarch}.tar.gz -Source1: prometheus.service -Source2: prometheus.default +BuildRequires: systemd + +Source0: prometheus-%{version}.linux-%{hostarch}.tar.gz +Source1: prometheus.service +Source2: prometheus.default %{?systemd_requires} Requires(pre): shadow-utils @@ -76,5 +78,8 @@ exit 0 %dir %attr(755, prometheus, prometheus)%{_sharedstatedir}/prometheus %changelog +* Tue Dec 14 2021 konglidong - 2.20.0-2 +- modify format and delete %dist + * Tue Aug 11 2020 houjian - 2.20.0-1 - Init project prometheus