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
This commit is contained in:
Dominique Leuenberger 2015-04-30 07:27:47 +00:00 committed by Git OBS Bridge
parent aae354f0f2
commit 28bc3050b6
2 changed files with 17 additions and 0 deletions

View File

@ -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

View File

@ -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