From 28bc3050b68fef270bde24dafcf38a815985b981643c13295dd9bdc0198128b4 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 30 Apr 2015 07:27:47 +0000 Subject: [PATCH] Accepting request 304454 from home:tittiatcoke:branches:multimedia:libs Once vlc switches to Qt5 for Tumbleweed, all packages which have plugins should regenerate the cache. Otherwise we get crashes due to Qt4/Qt5 clashes. OBS-URL: https://build.opensuse.org/request/show/304454 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/vlc?expand=0&rev=127 --- vlc.changes | 6 ++++++ vlc.spec | 11 +++++++++++ 2 files changed, 17 insertions(+) diff --git a/vlc.changes b/vlc.changes index fc3488c..2e3a9f7 100644 --- a/vlc.changes +++ b/vlc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Apr 28 19:30:49 UTC 2015 - tittiatcoke@gmail.com + +- Regenerate the cache for all packages that install plugins. + This otherwise would cause issues during the switch from Qt4-Qt5 + ------------------------------------------------------------------- Fri Apr 24 10:07:55 UTC 2015 - joerg.lorenzen@ki.tng.de diff --git a/vlc.spec b/vlc.spec index 7afc5ba..4ee75a0 100644 --- a/vlc.spec +++ b/vlc.spec @@ -485,6 +485,17 @@ done %post -n libvlccore%{libvlccore} -p /sbin/ldconfig %postun -n libvlccore%{libvlccore} -p /sbin/ldconfig +%post -n %{name}-qt +%{_libdir}/vlc/vlc-cache-gen -f %{_libdir}/vlc/plugins + +%post -n %{name}-gnome +%{_libdir}/vlc/vlc-cache-gen -f %{_libdir}/vlc/plugins + +%if 0%{?BUILD_ORIG} +%post -n %{name}-codecs +%{_libdir}/vlc/vlc-cache-gen -f %{_libdir}/vlc/plugins +%endif + %files %defattr(-,root,root) # The presence of the .desktop file is what gives AppStream the