!6 update prometheus2.spec:modify format and delete %dist

Merge pull request !6 from konglidong/master
This commit is contained in:
openeuler-ci-bot 2021-12-31 08:05:42 +00:00 committed by Gitee
commit 96a71ce850

View File

@ -2,7 +2,7 @@
Name: prometheus2
Version: 2.20.0
Release: 1%{?dist}
Release: 2
Summary: The Prometheus 2.x monitoring system and time series database.
License: ASL 2.0
URL: https://prometheus.io
@ -15,6 +15,8 @@ Conflicts: prometheus
%global hostarch amd64
%endif
BuildRequires: systemd
Source0: prometheus-%{version}.linux-%{hostarch}.tar.gz
Source1: prometheus.service
Source2: prometheus.default
@ -76,5 +78,8 @@ exit 0
%dir %attr(755, prometheus, prometheus)%{_sharedstatedir}/prometheus
%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
- Init project prometheus