From 76fb08b1bdba213dc8c1107b6fb96725feade6cb Mon Sep 17 00:00:00 2001 From: Ana Cabral Date: Thu, 28 Oct 2021 19:23:29 +0200 Subject: [PATCH] spec file: Update NetworkManager post scriptlet There is a mix of new /usr/lib/systemd/libsystemd-shared-239.so (systemd-libs rpm) and old /usr/bin/udevadm (systemd-udev rpm) on the system at the point NetworkManager's post scriptlet is run, what causes warning messages when updating NetworkManager's version. This commit fixes this. https://bugzilla.redhat.com/show_bug.cgi?id=2012123 --- contrib/fedora/rpm/NetworkManager.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/fedora/rpm/NetworkManager.spec b/contrib/fedora/rpm/NetworkManager.spec index 9a213cac7..cd3420974 100644 --- a/contrib/fedora/rpm/NetworkManager.spec +++ b/contrib/fedora/rpm/NetworkManager.spec @@ -197,6 +197,7 @@ Source6: 70-nm-connectivity.conf #Patch1: 0001-some.patch Requires(post): systemd +Requires(post): systemd-udev Requires(post): /usr/sbin/update-alternatives Requires(preun): systemd Requires(preun): /usr/sbin/update-alternatives