From 6bdff27df87e2bd45a710b04e838f70649a1513a Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:41:19 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- wireshark.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wireshark.spec b/wireshark.spec index 9df6c8a..b59bd67 100644 --- a/wireshark.spec +++ b/wireshark.spec @@ -191,10 +191,10 @@ getent group wireshark >/dev/null || groupadd -r wireshark getent group usbmon >/dev/null || groupadd -r usbmon %post cli -/sbin/ldconfig +%{?ldconfig} /usr/bin/udevadm trigger --subsystem-match=usbmon -%postun cli -p /sbin/ldconfig +%ldconfig_postun cli %files %{_datadir}/appdata/%{name}.appdata.xml