From 49c438d2066f34fc4a183e0a40eb2a4f4850b82aadfdb93e042d09a3da8be4ed Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 4 Mar 2015 11:53:51 +0000 Subject: [PATCH] fixup OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/vlc?expand=0&rev=111 --- vlc.changes | 7 ++++++- vlc.spec | 13 ++++++++++--- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/vlc.changes b/vlc.changes index b8f5478..3ccd693 100644 --- a/vlc.changes +++ b/vlc.changes @@ -1,7 +1,12 @@ +------------------------------------------------------------------- +Wed Mar 4 11:09:14 UTC 2015 - dimstar@opensuse.org + +- Reintroduce calling {_libdir}/vlc/vlc-cache-gen during post. + ------------------------------------------------------------------- Tue Mar 3 15:00:18 UTC 2015 - aloisio@gmx.com -- made fludsynth optional again out of caution +- made fludsynth optional again out of caution - added vlc-2.2.0-fix_deinterlace_mmx.patch to make SLE11/i586 build without a recent enough gcc - fixed SLE11 to build without automake >= 1.11 diff --git a/vlc.spec b/vlc.spec index ba911da..c4f88de 100644 --- a/vlc.spec +++ b/vlc.spec @@ -461,10 +461,16 @@ for lang in ach an cgg co ff tet; do done %find_lang vlc -%post -n %{name}-noX -p /sbin/ldconfig +%post -n %{name}-noX +/sbin/ldconfig +%{_libdir}/vlc/vlc-cache-gen -f %{_libdir}/vlc/plugins + %postun -n %{name}-noX -p /sbin/ldconfig -%post -n libvlc%{libvlc} -p /sbin/ldconfig +%post -n libvlc%{libvlc} +/sbin/ldconfig +%{_libdir}/vlc/vlc-cache-gen -f %{_libdir}/vlc/plugins + %postun -n libvlc%{libvlc} -p /sbin/ldconfig %post -n libvlccore%{libvlccore} -p /sbin/ldconfig @@ -473,7 +479,6 @@ done %files %defattr(-,root,root) %{_bindir}/svlc -%{_datadir}/applications/vlc.desktop %{_datadir}/pixmaps/vlc.png %{_datadir}/icons/hicolor/*/apps/vlc* %dir %{_datadir}/kde4 @@ -517,6 +522,8 @@ done %defattr(-,root,root) %doc %{_datadir}/doc/vlc/ %doc NEWS AUTHORS COPYING THANKS README +# The .desktop file does not imply a dependeny on X; so let's keep it here +%{_datadir}/applications/vlc.desktop %{_bindir}/cvlc %if 0%{?suse_version} >= 1320 %{_bindir}/nvlc