Dominique Leuenberger 2015-03-04 11:53:51 +00:00 committed by Git OBS Bridge
parent 4df09026ce
commit 49c438d206
2 changed files with 16 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
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

View File

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