modify format and delete %dist
This commit is contained in:
parent
dd22490ec4
commit
227a6cda35
@ -1,23 +1,25 @@
|
|||||||
%define debug_package %{nil}
|
%define debug_package %{nil}
|
||||||
|
|
||||||
Name: prometheus2
|
Name: prometheus2
|
||||||
Version: 2.20.0
|
Version: 2.20.0
|
||||||
Release: 1%{?dist}
|
Release: 2
|
||||||
Summary: The Prometheus 2.x monitoring system and time series database.
|
Summary: The Prometheus 2.x monitoring system and time series database.
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://prometheus.io
|
URL: https://prometheus.io
|
||||||
Conflicts: prometheus
|
Conflicts: prometheus
|
||||||
|
|
||||||
%ifarch aarch64
|
%ifarch aarch64
|
||||||
%global hostarch arm64
|
%global hostarch arm64
|
||||||
%endif
|
%endif
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
%global hostarch amd64
|
%global hostarch amd64
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Source0: prometheus-%{version}.linux-%{hostarch}.tar.gz
|
BuildRequires: systemd
|
||||||
Source1: prometheus.service
|
|
||||||
Source2: prometheus.default
|
Source0: prometheus-%{version}.linux-%{hostarch}.tar.gz
|
||||||
|
Source1: prometheus.service
|
||||||
|
Source2: prometheus.default
|
||||||
|
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
Requires(pre): shadow-utils
|
Requires(pre): shadow-utils
|
||||||
@ -76,5 +78,8 @@ exit 0
|
|||||||
%dir %attr(755, prometheus, prometheus)%{_sharedstatedir}/prometheus
|
%dir %attr(755, prometheus, prometheus)%{_sharedstatedir}/prometheus
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 14 2021 konglidong <konglidong@uniontech.com> - 2.20.0-2
|
||||||
|
- modify format and delete %dist
|
||||||
|
|
||||||
* Tue Aug 11 2020 houjian <houjian@kylinos.cn> - 2.20.0-1
|
* Tue Aug 11 2020 houjian <houjian@kylinos.cn> - 2.20.0-1
|
||||||
- Init project prometheus
|
- Init project prometheus
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user