diff --git a/mpv.spec b/mpv.spec index b076c50..1b750a1 100644 --- a/mpv.spec +++ b/mpv.spec @@ -277,8 +277,8 @@ sed -i -e '1d' %{buildroot}%{_datadir}/bash-completion/completions/mpv %postun -n %{lname} -p /sbin/ldconfig %files -%defattr(-,root,root) -%doc Copyright LICENSE README.md RELEASE_NOTES +%license LICENSE +%doc Copyright README.md RELEASE_NOTES %doc %{_defaultdocdir}/%{name}/input.conf %doc %{_defaultdocdir}/%{name}/mplayer-input.conf %doc %{_defaultdocdir}/%{name}/mpv.conf @@ -294,20 +294,17 @@ sed -i -e '1d' %{buildroot}%{_datadir}/bash-completion/completions/mpv %{_mandir}/man?/%{name}.?%{?ext_man} %files zsh-completion -%defattr(-,root,root) %{_datadir}/zsh/site-functions/_mpv %files bash-completion -%defattr(-,root,root) -%doc mpv-bash-completion-%{_mbc_ver}/LICENSE mpv-bash-completion-%{_mbc_ver}/README.mkd +%license mpv-bash-completion-%{_mbc_ver}/LICENSE +%doc mpv-bash-completion-%{_mbc_ver}/README.mkd %{_datadir}/bash-completion/completions/mpv %files -n %{lname} -%defattr(-,root,root) %{_libdir}/*.so.* %files devel -%defattr(-,root,root) %{_includedir}/%{name}/ %{_libdir}/*.so %{_libdir}/pkgconfig/%{name}.pc