Skip to content
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 b149f083323912e93d25fef812f73361426e26ab
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%define build_timestamp %(date -u +"%y%m%d%H%M")
%define release 115
%define grafana_version 12.4.3
%define release 116
%define grafana_version 12.4.4
%define full_pmm_version 3.0.0
%define full_version v%{grafana_version}-%{full_pmm_version}
%define rpm_release %{release}.%{build_timestamp}.%{shortcommit}%{?dist}
Expand Down Expand Up @@ -49,10 +49,10 @@ cp -rpav public %{buildroot}%{_datadir}/grafana
cp -rpav tools %{buildroot}%{_datadir}/grafana

install -d -p %{buildroot}%{_sbindir}
cp bin/linux-amd64/grafana-server %{buildroot}%{_sbindir}/
cp bin/linux-amd64/grafana %{buildroot}%{_sbindir}/
cp bin/linux/amd64/grafana-server %{buildroot}%{_sbindir}/
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

has the release path changed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cp bin/linux/amd64/grafana %{buildroot}%{_sbindir}/
install -d -p %{buildroot}%{_bindir}
cp bin/linux-amd64/grafana-cli %{buildroot}%{_bindir}/
cp bin/linux/amd64/grafana-cli %{buildroot}%{_bindir}/

install -d -p %{buildroot}%{_sysconfdir}/grafana
cp conf/sample.ini %{buildroot}%{_sysconfdir}/grafana/grafana.ini
Expand All @@ -77,6 +77,9 @@ getent passwd pmm >/dev/null || echo "User pmm does not exist. Please create it
exit 0

%changelog
* Tue Jun 02 2026 Matej Kubinec <matej.kubinec@ext.percona.com> - 12.4.4-1
- PMM-14213 Upgrade Grafana to v12.4.4

* Thu May 14 2026 Fábio Silva <ffjs1993@gmail.com> - 12.4.3
- PMM-14213 Upgrade Grafana to v12.4.2

Expand Down
Loading