summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2021-04-28 15:49:28 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2021-04-30 17:00:50 +0200
commitaaed69e5d760ef359ac32d535828863513d1269c (patch)
tree54af87fd0102475743d57078ed3261874c30fb39
parent299a6af3eedb928b50d7ad8edb311726d0ab3bbf (diff)
downloadNetworkManager-aaed69e5d760ef359ac32d535828863513d1269c.tar.gz
contrib/rpm: install D-Bus service files to /usr in RHEL8bg/dbus-path
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').
-rw-r--r--contrib/fedora/rpm/NetworkManager.spec2
1 files changed, 1 insertions, 1 deletions
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