summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2021-05-11 14:11:22 +0200
committerThomas Haller <thaller@redhat.com>2021-05-12 13:36:19 +0200
commitaf40a14556de25d412e233c98689597af0ff8258 (patch)
tree5828fa809e117acbba77517791015304688c10f5
parent40c78fe6991033129c8ae2f73dda376989fbcd44 (diff)
downloadNetworkManager-af40a14556de25d412e233c98689597af0ff8258.tar.gz
contrib/rpm: %ghost "/etc/NetworkManager/VPN"
"/etc/NetworkManager/VPN" was historically the place for .name files for VPN plugins. In the meantime, those should be under "/usr/lib/NetworkManager/VPN". Still, NetworkManager honors (and possibly watches) the directory in /etc. Mark the directory as %ghost. The exact effect of this is not clear to me. It seems however right to do, and works for my testing.
-rw-r--r--contrib/fedora/rpm/NetworkManager.spec1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/fedora/rpm/NetworkManager.spec b/contrib/fedora/rpm/NetworkManager.spec
index be096e6293..ba4a14e9a8 100644
--- a/contrib/fedora/rpm/NetworkManager.spec
+++ b/contrib/fedora/rpm/NetworkManager.spec
@@ -977,6 +977,7 @@ fi
%dir %{_sysconfdir}/%{name}/dnsmasq-shared.d
%dir %{_sysconfdir}/%{name}/system-connections
%config(noreplace) %{_sysconfdir}/%{name}/NetworkManager.conf
+%ghost %{_sysconfdir}/%{name}/VPN
%{_bindir}/nm-online
%{_libexecdir}/nm-ifup
%ghost %attr(755, root, root) %{_sbindir}/ifup