-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* PMM-7 Update grafana version The version of grafana * PMM-7 remove the empty docs file tree * PMM-10881 add license directive * PMM-10881 new version * PMM-10881 proper version in the logs
- Loading branch information
Alex Tymchuk
authored
Nov 29, 2022
1 parent
404aa71
commit e137902
Showing
1 changed file
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,8 @@ | |
%global commit 33423d34f211ce1ce5ce0a265a38f0709ec44360 | ||
%global shortcommit %(c=%{commit}; echo ${c:0:7}) | ||
%define build_timestamp %(date -u +"%y%m%d%H%M") | ||
%define release 96 | ||
%define grafana_version 8.3.10 | ||
%define release 97 | ||
%define grafana_version 9.2.5 | ||
%define full_pmm_version 2.0.0 | ||
%define full_version v%{grafana_version}-%{full_pmm_version} | ||
%define rpm_release %{release}.%{build_timestamp}.%{shortcommit}%{?dist} | ||
|
@@ -16,7 +16,7 @@ Name: percona-grafana | |
Version: %{grafana_version} | ||
Release: %{rpm_release} | ||
Summary: Grafana is an open source, feature rich metrics dashboard and graph editor | ||
License: ASL 2.0 | ||
License: AGPLv3 | ||
URL: https://github.com/percona-platform/grafana | ||
Source0: https://github.com/percona-platform/grafana/archive/%{commit}.tar.gz | ||
ExclusiveArch: %{ix86} x86_64 %{arm} | ||
|
@@ -30,7 +30,7 @@ Graphite, InfluxDB & OpenTSDB. | |
%prep | ||
%setup -q -n grafana-%{commit} | ||
rm -rf Godeps | ||
sed -i "s/unknown-dev/%{full_version}/" build.go | ||
sed -i "s/unknown-dev/%{grafana_version}/" pkg/build/git.go | ||
|
||
%build | ||
mkdir -p _build/src | ||
|
@@ -68,7 +68,7 @@ install -d -p %{buildroot}%{_sharedstatedir}/grafana | |
%defattr(-, grafana, grafana, -) | ||
%{_datadir}/grafana | ||
%doc *.md | ||
%doc docs | ||
%license LICENSE | ||
%attr(0755, root, root) %{_sbindir}/grafana-server | ||
%attr(0755, root, root) %{_bindir}/grafana-cli | ||
%{_sysconfdir}/grafana/grafana.ini | ||
|
@@ -83,6 +83,9 @@ getent passwd grafana >/dev/null || \ | |
exit 0 | ||
|
||
%changelog | ||
* Tue Nov 29 2022 Alex Tymchuk <[email protected]> - 9.2.5-1 | ||
- PMM-10881 Grafana 9.2.5 | ||
|
||
* Mon May 16 2022 Nikita Beletskii <[email protected]> - 8.3.5-2 | ||
- PMM-10027 remove useless packages | ||
|
||
|