Author: kwizart
Update of /cvs/free/rpms/vlc/F-20
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv5686
Modified Files:
vlc.spec
Log Message:
fix post and ghost cache plugin
Index: vlc.spec
===================================================================
RCS file: /cvs/free/rpms/vlc/F-20/vlc.spec,v
retrieving revision 1.199
retrieving revision 1.200
diff -u -r1.199 -r1.200
--- vlc.spec 3 Apr 2015 15:36:17 -0000 1.199
+++ vlc.spec 13 May 2015 16:45:57 -0000 1.200
@@ -317,6 +317,9 @@
#Fix unowned directories
rm -rf $RPM_BUILD_ROOT%{_docdir}/vlc
+#Ghost the plugins cache
+touch $RPM_BUILD_ROOT%{_libdir}/vlc/plugins.dat
+
%find_lang %{name}
@@ -326,6 +329,7 @@
%post
+%{_libdir}/vlc/vlc-cache-gen -f %{_libdir}/vlc &>/dev/null
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
@@ -335,6 +339,7 @@
%post core -p /sbin/ldconfig
%postun
+%{_libdir}/vlc/vlc-cache-gen -f %{_libdir}/vlc &>/dev/null
%{_bindir}/update-desktop-database %{_datadir}/applications &>/dev/null
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
@@ -454,6 +459,7 @@
}
%exclude %{_libdir}/vlc/plugins/audio_output/libjack_plugin.so
%exclude %{_libdir}/vlc/plugins/audio_output/libpulse_plugin.so
+%ghost %{_libdir}/vlc/plugins.dat
%{_libdir}/vlc/
%{_mandir}/man1/vlc*.1*
@@ -491,6 +497,10 @@
%changelog
+* Wed May 13 2015 Nicolas Chauvet <kwizart(a)gmail.com> - 2.1.6-2
+- Recreate the plugins cache on post for main - rfbz#3639
+- %%ghost the cache plugins
+
* Fri Apr 03 2015 Nicolas Chauvet <kwizart(a)gmail.com> - 2.1.6-1
- Update to 2.1.6
Show replies by date