diff --git a/gn.spec b/gn.spec index 41999d9..d3a81ae 100644 --- a/gn.spec +++ b/gn.spec @@ -142,6 +142,8 @@ install -t '%{buildroot}%{_bindir}' -p out/%{name} install -d '%{buildroot}%{_datadir}/vim/vimfiles' cp -vrp misc/vim/* '%{buildroot}%{_datadir}/vim/vimfiles' +find '%{buildroot}%{_datadir}/vim/vimfiles' \ + -type f -name 'README.*' -print -delete %py_byte_compile %{__python3} '%{buildroot}%{_datadir}/vim/vimfiles/%{name}-format.py' install -d '%{buildroot}%{_emacs_sitestartdir}' @@ -169,7 +171,6 @@ grep -E '^#define[[:blank:]]+LAST_COMMIT_POSITION[[:blank:]]+'\ %{_mandir}/man1/%{name}.1* -%exclude %{_datadir}/vim/vimfiles/README.* %{_datadir}/vim/vimfiles/%{name}-format.py %{_datadir}/vim/vimfiles/autoload/%{name}.vim %{_datadir}/vim/vimfiles/ftdetect/%{name}filetype.vim