Skip to content

Commit

Permalink
PMM-10881 update grafana version (#1460)
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.
13 changes: 8 additions & 5 deletions build/packages/rpm/server/SPECS/grafana.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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}
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit e137902

Please sign in to comment.