diff --git a/global-rsync-filter b/global-rsync-filter new file mode 100644 index 0000000..9955549 --- /dev/null +++ b/global-rsync-filter @@ -0,0 +1,5 @@ +- .* +- /CHANGE* +- /CONTRIBUT* +- /LICEN?E* +- /README* diff --git a/vim-plugins.changes b/vim-plugins.changes index bca4a09..abd8874 100644 --- a/vim-plugins.changes +++ b/vim-plugins.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 14 08:16:22 UTC 2023 - Jiri Slaby + +- use rsync for installs + We can exclude files instead of ugly rm -rf + ------------------------------------------------------------------- Mon Mar 13 13:46:02 UTC 2023 - Ludwig Nussel diff --git a/vim-plugins.spec b/vim-plugins.spec index 99ee76b..476dba6 100644 --- a/vim-plugins.spec +++ b/vim-plugins.spec @@ -110,12 +110,14 @@ Source102: neomutt.vim-%{neomutt_version}.tar.xz Source103: salt-vim-%{salt_version}.tar.xz Source104: vim-latex-%{latex_version}.tar.xz Source200: gitrebase.vim +Source300: global-rsync-filter Source1000: https://raw.githubusercontent.com/openSUSE/pack-tools/master/contrib/vim/spec.snippets Source1001: check_for_updates.pl Patch0: salt-syntax-avoid-multiline-lets.patch Patch1: locateopen-1.3-locate-support.patch Patch2: showmarks-signs.patch Patch3: file-line-Fix-other-plugins-loading.patch +BuildRequires: rsync BuildRequires: vim BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -715,51 +717,73 @@ chmod -v 644 taglist-%{taglist_version}/doc/taglist.txt %build %install -pushd editorconfig-vim-%{editorconfig_version} -rm -rf plugin/editorconfig-core-py/ tests/ -rm -f mkzip.sh -popd +# BEGIN EXCLUDES +cat > ale-%{ale_version}/.rsync-filter < editorconfig-vim-%{editorconfig_version}/.rsync-filter < nerdtree-%{NERDtree_version}/.rsync-filter < salt-vim-%{salt_version}/.rsync-filter < tlib_vim-%{tlib_version}/.rsync-filter < vim-airline-%{airline_version}/.rsync-filter < vim-latex-%{latex_version}/.rsync-filter <