From aaed69e5d760ef359ac32d535828863513d1269c Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Wed, 28 Apr 2021 15:49:28 +0200 Subject: [PATCH] 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 ef8c29288149 ('contrib/rpm: install D-Bus service files to /usr if we can'). --- contrib/fedora/rpm/NetworkManager.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/fedora/rpm/NetworkManager.spec b/contrib/fedora/rpm/NetworkManager.spec index 20496c17f7..e75f26001b 100644 --- a/contrib/fedora/rpm/NetworkManager.spec +++ b/contrib/fedora/rpm/NetworkManager.spec @@ -113,7 +113,7 @@ ############################################################################### -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?rhel} > 7 %global dbus_version 1.9.18 %global dbus_sys_dir %{_datadir}/dbus-1/system.d %else