#1 Move the NetworkManager dispatcher script out of /etc
Merged a month ago by swt2c. Opened a month ago by lkundrak.
rpms/ lkundrak/ddclient lr/nm-dispatcher-dir  into  master

file modified
+9 -3

@@ -4,7 +4,7 @@ 

  Summary:           Client to update dynamic DNS host entries

  Name:              ddclient

  Version:           3.9.0

- Release:           3%{?dist}

+ Release:           4%{?dist}

  License:           GPLv2+

  URL:               http://ddclient.sourceforge.net/

  Source0:           https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz

@@ -26,6 +26,9 @@ 

  Requires:          perl(Digest::SHA1)

  Requires:          perl(IO::Socket::SSL)

  

+ # Old NetworkManager expects the dispatcher scripts in a different place

+ Conflicts:         NetworkManager < 1.20

+ 

  %description

  ddclient is a Perl client used to update dynamic DNS entries for accounts

  on many different dynamic DNS services. Features include: Operating as a

@@ -60,7 +63,7 @@ 

  install -D -p -m 644 %{SOURCE3} \

      $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/%{name}

  install -D -p -m 755 %{SOURCE4} \

-     $RPM_BUILD_ROOT%{_sysconfdir}/NetworkManager/dispatcher.d/50-%{name}

+     $RPM_BUILD_ROOT%{_prefix}/lib/NetworkManager/dispatcher.d/50-%{name}

  install -D -p -m 644 %{SOURCE5} \

      $RPM_BUILD_ROOT%{_tmpfilesdir}/%{name}.conf

  

@@ -105,7 +108,7 @@ 

  %config(noreplace) %{_sysconfdir}/rwtab.d/%{name}

  %config(noreplace) %{_sysconfdir}/sysconfig/%{name}

  %attr(600,%{name},%{name}) %config(noreplace) %{_sysconfdir}/%{name}.conf

- %{_sysconfdir}/NetworkManager/dispatcher.d/50-%{name}

+ %{_prefix}/lib/NetworkManager/dispatcher.d/50-%{name}

  

  # localstatedir

  %attr(0700,%{name},%{name}) %dir %{cachedir}

@@ -114,6 +117,9 @@ 

  

  

  %changelog

+ * Thu Aug 22 2019 Lubomir Rintel <lkundrak@v3.sk> - 3.9.0-4

+ - Move the NetworkManager dispatcher script out of /etc

+ 

  * Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-3

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

  

It's not user configuration and shouldn't ever have been there. Except for that
it used to be the only location NetworkManager looked into. With NetworkManager
1.20 that is no longer the case and the dispatcher scripts can be moved to
/usr/lib.

Pull-Request has been merged by swt2c

a month ago
Metadata