commit b2dbd2ee77e4af51f9a964f321c5e9b984bac521
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Mar 23 17:03:06 2018 +0100
Add ldconfig_scriptlets
vlc.spec | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/vlc.spec b/vlc.spec
index 3c24cd1..7be66a6 100644
--- a/vlc.spec
+++ b/vlc.spec
@@ -370,6 +370,10 @@ rm -rf %{buildroot}/%{_datadir}/macosx
%find_lang %{name}
+%ldconfig_scriptlets
+%ldconfig_scriptlets core
+%ldconfig_scriptlets extras
+
%post
if [ $1 == 1 ] ; then
%{_libdir}/vlc/vlc-cache-gen %{_libdir}/vlc/plugins &>/dev/null
@@ -381,8 +385,6 @@ if [ -x %{_bindir}/gtk-update-icon-cache ]; then
fi
%{_bindir}/update-desktop-database %{_datadir}/applications &>/dev/null || :
-%post core -p /sbin/ldconfig
-
%postun
%{_libdir}/vlc/vlc-cache-gen %{_libdir}/vlc/plugins &>/dev/null
%{_bindir}/update-desktop-database %{_datadir}/applications &>/dev/null
@@ -391,8 +393,6 @@ if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
fi || :
-%postun core -p /sbin/ldconfig
-
%posttrans core
%{_libdir}/vlc/vlc-cache-gen %{_libdir}/vlc/plugins &>/dev/null || :
Show replies by date