commit 1a8f2eea08a062b78a6970da8ea929ee17ef4f4f
Author: Elan Ruusamäe <[email protected]>
Date:   Mon Jan 4 00:07:10 2016 +0200

    add missing ldconfig and config attrs

 mpv.spec | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/mpv.spec b/mpv.spec
index 2ed3294..7af913f 100644
--- 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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mpv.git/commitdiff/1a8f2eea08a062b78a6970da8ea929ee17ef4f4f

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to