From 9d08f3de702c42866aad6b7b0a4646b5c88c1081 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Wed, 7 Feb 2018 10:49:36 +0100 Subject: [PATCH] Revert "Switch to %ldconfig_scriptlets" This is just broken. This reverts commit d6f6981153e4bc1512c0d45d34ca23b4624e4d90. --- network-manager-applet.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/network-manager-applet.spec b/network-manager-applet.spec index 547c90d..a52afe2 100644 --- a/network-manager-applet.spec +++ b/network-manager-applet.spec @@ -157,8 +157,11 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/nm-connection-edit %check %meson_test -%ldconfig_scriptlets -n libnma -%ldconfig_scriptlets -n libnm-gtk +%post -n libnma -p /sbin/ldconfig +%postun -n libnma -p /sbin/ldconfig + +%post -n libnm-gtk -p /sbin/ldconfig +%postun -n libnm-gtk -p /sbin/ldconfig %files %{_bindir}/nm-applet