Accepting request 576933 from editors

- Split vim-data into vim-data-common package for low-disk usage
  scenarios bsc#1078722 bsc#1078554 bsc#1075541
- Make set mouse= default in suse.vimrc bsc#1079185 bsc#1078564
  bsc#1067890 bsc#1064068 bsc#1062691

OBS-URL: https://build.opensuse.org/request/show/576933
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vim?expand=0&rev=204
This commit is contained in:
Dominique Leuenberger 2018-02-18 10:37:04 +00:00 committed by Git OBS Bridge
commit 48c8d32937
3 changed files with 41 additions and 3 deletions

View File

@ -70,6 +70,9 @@ set nocompatible
" allow backspacing over everything in insert mode " allow backspacing over everything in insert mode
set backspace=indent,eol,start set backspace=indent,eol,start
" Fix cut-n-paste bsc#1079185
set mouse=
" Complete longest common string, then each full match " Complete longest common string, then each full match
" enable this for bash compatible behaviour " enable this for bash compatible behaviour
" set wildmode=longest,full " set wildmode=longest,full

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Feb 14 12:39:39 UTC 2018 - idonmez@suse.com
- Split vim-data into vim-data-common package for low-disk usage
scenarios bsc#1078722 bsc#1078554 bsc#1075541
- Make set mouse= default in suse.vimrc bsc#1079185 bsc#1078564
bsc#1067890 bsc#1064068 bsc#1062691
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 31 10:49:07 UTC 2018 - idonmez@suse.com Wed Jan 31 10:49:07 UTC 2018 - idonmez@suse.com

View File

@ -83,7 +83,7 @@ BuildRequires: pkgconfig(python3)
BuildRequires: pkgconfig(xt) BuildRequires: pkgconfig(xt)
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun): update-alternatives
Requires: vim-data = %{version}-%{release} Requires: vim-data-common = %{version}-%{release}
Conflicts: vim-base < 8.0 Conflicts: vim-base < 8.0
Provides: vi Provides: vi
Provides: vim-base = %{version}-%{release} Provides: vim-base = %{version}-%{release}
@ -103,16 +103,25 @@ new features have been added: multilevel undo, command line history,
file name completion, block operations, and editing of binary data. file name completion, block operations, and editing of binary data.
%package data %package data
Summary: Vi IMproved Summary: Data files needed for extended vim functionality
# Used to be in vim-plugins package # Used to be in vim-plugins package
Group: Productivity/Editors/Vi Group: Productivity/Editors/Vi
Obsoletes: vim-plugin-matchit <= 1.13.2 Obsoletes: vim-plugin-matchit <= 1.13.2
Provides: vim-plugin-matchit = 1.13.2 Provides: vim-plugin-matchit = 1.13.2
Requires: vim-data-common = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description data %description data
This package contains optional runtime & syntax files for vim. This package contains optional runtime & syntax files for vim.
%package data-common
Summary: Common Data files for vim & gvim
Group: Productivity/Editors/Vi
BuildArch: noarch
%description data-common
This package contains common runtime & syntax files for vim and gvim.
%package -n gvim %package -n gvim
Summary: A GUI for Vi Summary: A GUI for Vi
Group: Productivity/Editors/Vi Group: Productivity/Editors/Vi
@ -343,7 +352,6 @@ trap "printf '\e[r'" EXIT
%ifarch ppc ppc64 ppc64le %ifarch ppc ppc64 ppc64le
LC_ALL=en_US.UTF-8 make -j1 test || { echo "Ignore transient errors for PowerPC. boo#1072651"; } LC_ALL=en_US.UTF-8 make -j1 test || { echo "Ignore transient errors for PowerPC. boo#1072651"; }
%else %else
make -j1 test
LC_ALL=en_US.UTF-8 make -j1 test LC_ALL=en_US.UTF-8 make -j1 test
%endif %endif
@ -437,6 +445,15 @@ fi
%dir %{site_runtimepath}/after/syntax/ %dir %{site_runtimepath}/after/syntax/
%files data %files data
# exclude common files
%exclude %{_datadir}/vim/%{VIM_SUBDIR}/autoload/dist/ft.vim
%exclude %{_datadir}/vim/%{VIM_SUBDIR}/syntax/nosyntax.vim
%exclude %{_datadir}/vim/%{VIM_SUBDIR}/syntax/resolv.vim
%exclude %{_datadir}/vim/%{VIM_SUBDIR}/syntax/sh.vim
%exclude %{_datadir}/vim/%{VIM_SUBDIR}/syntax/syncolor.vim
%exclude %{_datadir}/vim/%{VIM_SUBDIR}/syntax/synload.vim
%exclude %{_datadir}/vim/%{VIM_SUBDIR}/syntax/syntax.vim
%exclude %{_datadir}/vim/%{VIM_SUBDIR}/syntax/vim.vim
# data files # data files
%{_datadir}/vim/%{VIM_SUBDIR}/autoload/* %{_datadir}/vim/%{VIM_SUBDIR}/autoload/*
%{_datadir}/vim/%{VIM_SUBDIR}/colors/* %{_datadir}/vim/%{VIM_SUBDIR}/colors/*
@ -455,6 +472,16 @@ fi
%{_datadir}/vim/%{VIM_SUBDIR}/syntax/* %{_datadir}/vim/%{VIM_SUBDIR}/syntax/*
%{_datadir}/vim/%{VIM_SUBDIR}/tools/* %{_datadir}/vim/%{VIM_SUBDIR}/tools/*
%{_datadir}/vim/%{VIM_SUBDIR}/tutor/* %{_datadir}/vim/%{VIM_SUBDIR}/tutor/*
%files data-common
%{_datadir}/vim/%{VIM_SUBDIR}/autoload/dist/ft.vim
%{_datadir}/vim/%{VIM_SUBDIR}/syntax/nosyntax.vim
%{_datadir}/vim/%{VIM_SUBDIR}/syntax/resolv.vim
%{_datadir}/vim/%{VIM_SUBDIR}/syntax/sh.vim
%{_datadir}/vim/%{VIM_SUBDIR}/syntax/syncolor.vim
%{_datadir}/vim/%{VIM_SUBDIR}/syntax/synload.vim
%{_datadir}/vim/%{VIM_SUBDIR}/syntax/syntax.vim
%{_datadir}/vim/%{VIM_SUBDIR}/syntax/vim.vim
%{_datadir}/vim/%{VIM_SUBDIR}/*.vim %{_datadir}/vim/%{VIM_SUBDIR}/*.vim
%{_datadir}/vim/%{VIM_SUBDIR}/rgb.txt %{_datadir}/vim/%{VIM_SUBDIR}/rgb.txt