]> git.pld-linux.org Git - packages/mpv.git/commitdiff
add missing ldconfig and config attrs auto/th/mpv-0.14.0-2
authorElan Ruusamäe <glen@delfi.ee>
Sun, 3 Jan 2016 22:07:10 +0000 (00:07 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 3 Jan 2016 22:07:10 +0000 (00:07 +0200)
mpv.spec

index 2ed32949ea4fad5124c33062e777c7f4c92ebdad..7af913fa1a840d0e50093b926742995141ec77b1 100644 (file)
--- a/mpv.spec
+++ b/mpv.spec
@@ -1,7 +1,7 @@
 Summary:       Movie player based on MPlayer and mplayer2
 Name:          mpv
 Version:       0.14.0
-Release:       1
+Release:       2
 License:       GPL v2+
 Group:         Applications/Multimedia
 Source0:       http://github.com/mpv-player/mpv/archive/v%{version}.tar.gz?/%{name}-%{version}.tar.gz
@@ -176,11 +176,14 @@ cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/mpv
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post  client-libs -p /sbin/ldconfig
+%postun        client-libs -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %doc README.md RELEASE_NOTES etc/example.conf etc/input.conf etc/mplayer-input.conf etc/restore-old-bindings.conf
 %dir %{_sysconfdir}/mpv
-%{_sysconfdir}/mpv/encoding-profiles.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mpv/encoding-profiles.conf
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mpv/mpv.conf
 %attr(755,root,root) %{_bindir}/%{name}
 %{_desktopdir}/mpv.desktop
This page took 0.11691 seconds and 4 git commands to generate.