contrib/rpm: install D-Bus service files to /usr in RHEL8

When supported by the D-Bus daemon, it's better to have service files
in /usr rather than in /etc. Change the path for RHEL 8.

See also commit ef8c292881 ('contrib/rpm: install D-Bus service
files to /usr if we can').
This commit is contained in:
Beniamino Galvani
2021-04-28 15:49:28 +02:00
parent 299a6af3ee
commit aaed69e5d7

View File

@@ -113,7 +113,7 @@
############################################################################### ###############################################################################
%if 0%{?fedora} %if 0%{?fedora} || 0%{?rhel} > 7
%global dbus_version 1.9.18 %global dbus_version 1.9.18
%global dbus_sys_dir %{_datadir}/dbus-1/system.d %global dbus_sys_dir %{_datadir}/dbus-1/system.d
%else %else