modify format and delete %dist

This commit is contained in:
konglidong 2021-12-14 16:05:54 +08:00
parent dd22490ec4
commit 227a6cda35

View File

@ -2,7 +2,7 @@
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
@ -15,6 +15,8 @@ Conflicts: prometheus
%global hostarch amd64 %global hostarch amd64
%endif %endif
BuildRequires: systemd
Source0: prometheus-%{version}.linux-%{hostarch}.tar.gz Source0: prometheus-%{version}.linux-%{hostarch}.tar.gz
Source1: prometheus.service Source1: prometheus.service
Source2: prometheus.default Source2: prometheus.default
@ -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