Use systemd-sysusers instead of %sysusers_create_compat
Resolves: rhbz#2193250
This commit is contained in:
parent
7cc45ba3da
commit
441f5c7c09
@ -33,7 +33,7 @@ end}
|
|||||||
|
|
||||||
Name: grafana
|
Name: grafana
|
||||||
Version: 9.2.10
|
Version: 9.2.10
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Metrics dashboard and graph editor
|
Summary: Metrics dashboard and graph editor
|
||||||
License: AGPLv3
|
License: AGPLv3
|
||||||
URL: https://grafana.org
|
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
|
install -p -m 644 -D %{SOURCE3} %{buildroot}%{_sysusersdir}/%{name}.conf
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%sysusers_create_compat %{SOURCE3}
|
systemd-sysusers %{SOURCE3}
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%systemd_preun grafana-server.service
|
%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
|
%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 <scox@redhat.com> 9.2.10-1
|
* Thu May 04 2023 Stan Cox <scox@redhat.com> 9.2.10-1
|
||||||
- Update to 9.2.10
|
- Update to 9.2.10
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user