diff --git a/grafana.spec b/grafana.spec index d7506d8..a687d01 100644 --- a/grafana.spec +++ b/grafana.spec @@ -33,7 +33,7 @@ end} Name: grafana Version: 9.2.10 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Metrics dashboard and graph editor License: AGPLv3 URL: https://grafana.org @@ -828,7 +828,7 @@ echo "d %{_rundir}/%{name} 0755 %{GRAFANA_USER} %{GRAFANA_GROUP} -" \ install -p -m 644 -D %{SOURCE3} %{buildroot}%{_sysusersdir}/%{name}.conf %pre -%sysusers_create_compat %{SOURCE3} +systemd-sysusers %{SOURCE3} %preun %systemd_preun grafana-server.service @@ -932,6 +932,9 @@ OPENSSL_FORCE_FIPS_MODE=1 GOLANG_FIPS=1 go test -v ./pkg/util -run TestEncryptio %changelog +* Tue May 23 2023 Jan Kurik +- Use systemd-sysusers instead of %sysusers_create_compat, which is not available in RHEL-8 + * Thu May 04 2023 Stan Cox 9.2.10-1 - Update to 9.2.10