Author: kwizart
Update of /cvs/free/rpms/vlc/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv25358
Modified Files:
vlc.spec
Log Message:
fix rfbz#3639
Index: vlc.spec
===================================================================
RCS file: /cvs/free/rpms/vlc/devel/vlc.spec,v
retrieving revision 1.219
retrieving revision 1.220
diff -u -r1.219 -r1.220
--- vlc.spec 28 Apr 2015 22:00:06 -0000 1.219
+++ vlc.spec 9 May 2015 07:44:38 -0000 1.220
@@ -32,7 +32,7 @@
Summary: The cross-platform open-source multimedia framework, player and server
Name: vlc
Version: 2.2.1
-Release: 3%{?dist}
+Release: 4%{?dist}
License: GPLv2+
Group: Applications/Multimedia
URL:
http://www.videolan.org
@@ -318,11 +318,15 @@
#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}
%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
@@ -332,6 +336,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
@@ -446,6 +451,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*
@@ -480,6 +486,10 @@
%changelog
+* Sat May 09 2015 Nicolas Chauvet <kwizart(a)gmail.com> - 2.2.1-4
+- Recreate the plugins cache on post for main - rfbz#3639
+- %%ghost the cache plugins
+
* Sun Apr 26 2015 Nicolas Chauvet <kwizart(a)gmail.com> - 2.2.1-3
- Fix build with freerdp for f22
- Disable optimizations