# # spec file for package vim # # Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define pkg_version 8.2 %define patchlevel 0701 %define patchlevel_compact %{patchlevel} %define VIM_SUBDIR vim82 %define site_runtimepath %{_datadir}/vim/site %define make make VIMRCLOC=%{_sysconfdir} VIMRUNTIMEDIR=%{_datadir}/vim/current MAKE="make -e" %{?_smp_mflags} %bcond_without python2 Name: vim Version: %{pkg_version}.%{patchlevel_compact} Release: 6.1 Summary: Vi IMproved License: Vim Group: Productivity/Text/Editors URL: http://www.vim.org/ Source: https://github.com/vim/vim/archive/v%{pkg_version}.%{patchlevel}.tar.gz#/vim-%{pkg_version}.%{patchlevel}.tar.gz Source3: suse.vimrc Source4: vimrc_example1 Source5: vimrc_example2 Source8: suse.gvimrc Source10: README.Japanese-XIM Source13: vitmp.c Source14: vitmp.1 Source15: vim132 Source19: gvim.desktop Source20: spec.skeleton Source21: spec.vim Source23: apparmor.vim Source24: gvim.svg Source25: gvim_24.png Source26: gvim_32.png Source27: gvim_48.png Source28: gvim_64.png Source29: gvim_96.png Source98: vim-changelog.sh Source99: %{name}-7.4-rpmlintrc Patch3: %{name}-7.4-disable_lang_no.patch Patch4: %{name}-7.3-gvimrc_fontset.patch Patch5: %{name}-7.4-highlight_fstab.patch Patch6: %{name}-7.3-sh_is_bash.patch Patch7: %{name}-7.3-filetype_ftl.patch Patch8: %{name}-7.3-help_tags.patch Patch9: %{name}-7.3-use_awk.patch Patch10: %{name}-7.3-name_vimrc.patch Patch11: %{name}-7.3-mktemp_tutor.patch Patch15: %{name}-7.4-filetype_apparmor.patch Patch18: %{name}-7.3-filetype_spec.patch Patch21: %{name}-7.3-filetype_changes.patch Patch22: %{name}-7.4-filetype_mine.patch Patch23: vim-8.0-ttytype-test.patch Patch24: disable-unreliable-tests.patch Patch100: vim73-no-static-libpython.patch Patch101: vim-8.0.1568-defaults.patch # https://github.com/vim/vim/issues/3348 - problem more probadly in buildenv than in test Patch102: vim-8.1.0297-dump3.patch Patch103: no-common.patch BuildRequires: autoconf BuildRequires: db-devel BuildRequires: fdupes BuildRequires: gettext-devel BuildRequires: gpm-devel BuildRequires: libacl-devel BuildRequires: libtool BuildRequires: ncurses-devel BuildRequires: perl BuildRequires: pkgconfig BuildRequires: ruby-devel BuildRequires: update-desktop-files BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(krb5) BuildRequires: pkgconfig(lua) BuildRequires: pkgconfig(python3) BuildRequires: pkgconfig(xt) Requires: vim-data-common = %{version}-%{release} Requires(post): update-alternatives Requires(postun): update-alternatives Recommends: vim-data = %{version}-%{release} Conflicts: vim-base < 8.2 Provides: vi Provides: vim-base = %{version}-%{release} Provides: vim-enhanced = %{version}-%{release} Provides: vim-python = %{version}-%{release} Obsoletes: vim-base < %{version}-%{release} Obsoletes: vim-enhanced < %{version}-%{release} Obsoletes: vim-python < %{version}-%{release} Provides: vim_client %{?libperl_requires} %if %{with python2} BuildRequires: python2-devel %endif %description Vim (Vi IMproved) is an almost compatible version of the UNIX editor vi. Almost every possible command can be performed using only ASCII characters. Only the 'Q' command is missing (you do not need it). Many new features have been added: multilevel undo, command line history, file name completion, block operations, and editing of binary data. %package data Summary: Data files needed for extended vim functionality # Used to be in vim-plugins package Group: Productivity/Text/Editors Requires: vim-data-common = %{version}-%{release} Obsoletes: vim-plugin-matchit <= 1.13.2 Provides: vim-plugin-matchit = 1.13.2 BuildArch: noarch %description data This package contains optional runtime & syntax files for vim. %package data-common Summary: Common Data files for vim & gvim Group: Productivity/Text/Editors BuildArch: noarch %description data-common This package contains basic runtime & syntax files for vim %package -n gvim Summary: A GUI for Vi Group: Productivity/Text/Editors Requires: gvim_client Requires: vim-data = %{version}-%{release} Requires(post): update-alternatives Requires(postun): update-alternatives Conflicts: gvim < 8.2 Provides: gvim-base = %{version}-%{release} Provides: gvim-enhanced = %{version}-%{release} Obsoletes: gvim-base < %{version}-%{release} Obsoletes: gvim-enhanced < %{version}-%{release} Provides: gvim_client Provides: vi Provides: vim_client %description -n gvim Package gvim contains the largest set of features of vim, which is graphical windows and language interpreter, like python, ruby, or perl. You need package vim for the help and other documentation too. If you want less features, you might want to install vim instead. %package small Summary: Vim with reduced features Group: Productivity/Text/Editors Requires(post): update-alternatives Requires(postun): update-alternatives Provides: vi Provides: vim_client Requires: vim-data-common = %{version}-%{release} %description small Vim compiled with reduced feature set such as no script interpreters built in %prep %setup -q -n %{name}-%{pkg_version}.%{patchlevel} %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p1 cp %{SOURCE23} runtime/syntax/apparmor.vim %patch15 -p1 %patch18 -p1 %patch21 -p1 %patch22 -p1 %patch23 -p1 %patch24 -p1 %patch100 -p1 %patch101 -p1 %patch102 -p1 %patch103 -p1 cp %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE8} %{SOURCE10} . # Unreliable tests # See also disable-unreliable-tests.patch rm src/testdir/test_arglist.* rm src/testdir/test_command_count.* rm src/testdir/test_cmdline.* rm src/testdir/test_channel.* rm src/testdir/test_diffmode.* rm src/testdir/test_mksession.* rm src/testdir/gen_opt_test.* rm src/testdir/test_options.* rm src/testdir/test_popupwin.* rm src/testdir/test_startup.* rm src/testdir/test_terminal* rm src/testdir/test_textprop.* rm src/testdir/test_window_cmd.* rm src/testdir/test_writefile.* %build export CFLAGS="%{optflags} -Wall -pipe -fno-strict-aliasing" export CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=2/-D_FORTIFY_SOURCE=1} export COMMON_OPTIONS="\ --with-vim-name=vim \ --with-ex-name=ex \ --with-view-name=view \ --enable-cscope \ --enable-multibyte \ --with-tlib=tinfo \ --with-global-runtime=%{site_runtimepath} \ " # yeah kind of weird to call this small when we then use the # "normal" set. Calling the package vim-normal is weird though as # huge is our default. export SMALL_OPTIONS="\ $COMMON_OPTIONS \ --with-features=small \ --enable-luainterp=no \ --enable-pythoninterp=no \ --enable-perlinterp=no \ --enable-python3interp=no \ --enable-rubyinterp=no" export HUGE_OPTIONS="\ $COMMON_OPTIONS \ --with-features=huge \ --enable-luainterp=dynamic \ --enable-perlinterp=dynamic \ --enable-python3interp=dynamic \ --enable-rubyinterp=dynamic --enable-pythoninterp=%{?with_python2:yes}%{!?with_python2:no}" export GUI_OPTIONS="\ --disable-icon-cache-update \ --enable-xim \ --enable-fontset \ --enable-gui=gtk3" export NOGUI_OPTIONS="\ --disable-gui \ --disable-gpm \ --with-x=no \ " pushd src autoconf popd # build smaller vim %configure ${SMALL_OPTIONS} ${NOGUI_OPTIONS} sed -i -e 's|define HAVE_DATE_TIME 1|undef HAVE_DATE_TIME|' src/auto/config.h make %{?_smp_mflags} cp src/vim vim-small # build normal vim make -j1 distclean %configure ${HUGE_OPTIONS} ${NOGUI_OPTIONS} sed -i -e 's|define HAVE_DATE_TIME 1|undef HAVE_DATE_TIME|' src/auto/config.h make %{?_smp_mflags} cp src/vim vim-nox11 # build gvim make -j1 distclean %configure ${HUGE_OPTIONS} ${GUI_OPTIONS} sed -i -e 's|define HAVE_DATE_TIME 1|undef HAVE_DATE_TIME|' src/auto/config.h make %{?_smp_mflags} # # build vitmp gcc %{optflags} %{SOURCE13} -o vitmp %install %make_install STRIP=: # create icon directories and install the icons into it for SIZE in 24 32 48 64 96; do install -d -m 0755 %{buildroot}%{_datadir}/icons/hicolor/${SIZE}x${SIZE}/apps install -m 0644 %{_sourcedir}/gvim_${SIZE}.png %{buildroot}%{_datadir}/icons/hicolor/${SIZE}x${SIZE}/apps/gvim.png done install -d -m 0755 %{buildroot}%{_datadir}/icons/hicolor/scalable/apps install -m 0644 %{SOURCE24} %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/gvim.svg # the last installed binary is gvim. preserve it and # fix its symlinks. e* was added here as it doesnt make much sense in # console mv %{buildroot}%{_bindir}/vim %{buildroot}%{_bindir}/gvim for f in egvim egview eview evim gex gvi gview gvimdiff rgview rgvim ; do ln -s -vf gvim %{buildroot}%{_bindir}/$f done # install vim install -D -m 0755 vim-small %{buildroot}%{_bindir}/vim-small install -D -m 0755 vim-nox11 %{buildroot}%{_bindir}/vim-nox11 mkdir -p %{buildroot}%{_sysconfdir}/alternatives ln -s -f %{_sysconfdir}/alternatives/vim %{buildroot}%{_bindir}/vim # compat symlinks mkdir %{buildroot}/bin ln -s -f %{_bindir}/vim %{buildroot}/bin/vi ln -s -f %{_bindir}/vim %{buildroot}/bin/vim ln -s -f vim %{buildroot}%{_bindir}/vi ln -s -f vim %{buildroot}%{_bindir}/edit ln -s -f %{_bindir}/vim %{buildroot}/bin/ex # man pages ln -s -f vim.1.gz %{buildroot}%{_mandir}/man1/vi.1.gz ln -s -f vim.1.gz %{buildroot}%{_mandir}/man1/ex.1.gz # vitmp install -m 0755 vitmp %{buildroot}%{_bindir}/vitmp install -m 0644 %{SOURCE14} %{buildroot}%{_mandir}/man1/vitmp.1 install -m 0755 %{SOURCE15} %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/tools/vim132 # make the vim settings more generic ln -s -f %{VIM_SUBDIR} %{buildroot}%{_datadir}/vim/current # additional files install -D -m 0644 %{SOURCE3} %{buildroot}%{_datadir}/vim/current/suse.vimrc #install -D -m 0644 /dev/null %{buildroot}%{_sysconfdir}/vimrc install -D -m 0644 %{SOURCE8} %{buildroot}%{_sysconfdir}/gvimrc # create site wide runtime directory mkdir -p -m 0755 %{buildroot}%{site_runtimepath}/after mkdir -m 0755 %{buildroot}%{site_runtimepath}/autoload mkdir -m 0755 %{buildroot}%{site_runtimepath}/colors mkdir -m 0755 %{buildroot}%{site_runtimepath}/doc mkdir -m 0755 %{buildroot}%{site_runtimepath}/plugin mkdir -m 0755 %{buildroot}%{site_runtimepath}/syntax mkdir -m 0755 %{buildroot}%{site_runtimepath}/ftdetect mkdir -m 0755 %{buildroot}%{site_runtimepath}/after/syntax mkdir -m 0755 %{buildroot}%{_datadir}/vim/current/skeletons mkdir -m 0755 %{buildroot}%{_sysconfdir}/skel # install spec helper install -m 0644 %{SOURCE20} %{buildroot}%{_datadir}/vim/current/skeletons/skeleton.spec install -m 0644 %{SOURCE21} %{buildroot}%{_datadir}/vim/current/plugin/spec.vim # desktop file for gvim install -D -m 0644 %{SOURCE19} %{buildroot}%{_datadir}/applications/gvim.desktop #%suse_update_desktop_file gvim Utility TextEditor # # documentation install -d -m 0755 %{buildroot}%{_docdir}/{,g}vim/ install -D -m 0644 \ vimrc_example1 vimrc_example2 suse.vimrc \ README.txt READMEdir/README_src.txt READMEdir/README_unix.txt \ %{buildroot}%{_docdir}/vim/ # gvim install -D -m 0644 \ README.Japanese-XIM runtime/gvimrc_example.vim suse.gvimrc \ %{buildroot}%{_docdir}/gvim/ # remove unecessary duplicate manpages rm -rf %{buildroot}%{_mandir}/fr.ISO8859-1/ rm -rf %{buildroot}%{_mandir}/fr.UTF-8/ rm -rf %{buildroot}%{_mandir}/pl.ISO8859-2/ rm -rf %{buildroot}%{_mandir}/pl.UTF-8/ rm -rf %{buildroot}%{_mandir}/ru.KOI8-R/ rm -rf %{buildroot}%{_mandir}/it.ISO8859-1/ rm -rf %{buildroot}%{_mandir}/it.UTF-8/ rm -rf %{buildroot}%{_mandir}/da.UTF-8/ rm -rf %{buildroot}%{_mandir}/de.UTF-8/ rm -rf %{buildroot}%{_mandir}/da.ISO8859-1/ rm -rf %{buildroot}%{_mandir}/de.ISO8859-1/ # remove unnecessary files rm -rf %{buildroot}%{_datadir}/applications/vim.desktop rm -rf %{buildroot}%{_datadir}/icons/locolor # and move russian manpages to a place where they can be found mv %{buildroot}%{_mandir}/ru.UTF-8 %{buildroot}%{_mandir}/ru # remove some c source files rm -f %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/tools/*.c rm -f %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/macros/maze/*.c # Remove sample server to avoid python dependency rm %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/tools/demoserver.py # Create ghost files (see vim.conf) mkdir -p %{buildroot}%{_localstatedir}/run/vi.recover %fdupes -s %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/lang %fdupes -s %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/tutor %fdupes -s %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/ftplugin sed -i "s@%{_bindir}/env perl@%{_bindir}/perl@" %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/tools/*.pl sed -i "s@%{_bindir}/env perl@%{_bindir}/perl@" %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/doc/vim2html.pl %check # vim does quite an extensive test relying on a full fledged terminal # inside OBS, stdio is redirected to a serial console (where the build log # is being recorded/extracted. Systemd set non-local tty by default to vt220 # in upcoming versions export TERM=linux # Reset the terminal scrolling region left behind by the testsuite trap "printf '\e[r'" EXIT # Look for "TEST FAILURE" in the build log %ifarch ppc ppc64 ppc64le LC_ALL=en_US.UTF-8 make -j1 test || { echo "Ignore transient errors for PowerPC. boo#1072651"; } %else LC_ALL=en_US.UTF-8 make -j1 test %endif %post %{_sbindir}/update-alternatives --install %{_bindir}/vim vim %{_bindir}/vim-nox11 20 %postun if [ ! -e %{_bindir}/vim-nox11 ] ; then %{_sbindir}/update-alternatives --remove vim %{_bindir}/vim-nox11 fi %post -n gvim %{_sbindir}/update-alternatives --install %{_bindir}/vim vim %{_bindir}/gvim 30 %icon_theme_cache_post %postun -n gvim if [ ! -e %{_bindir}/gvim ] ; then %{_sbindir}/update-alternatives --remove vim %{_bindir}/gvim fi %icon_theme_cache_postun %post small %{_sbindir}/update-alternatives --install %{_bindir}/vim vim %{_bindir}/vim-small 19 %postun small %{_sbindir}/update-alternatives --remove vim %{_bindir}/vim-small %files %ghost %{_sysconfdir}/alternatives/vim %{_bindir}/vim-nox11 %{_bindir}/vim # symlinks /bin/vi /bin/vim /bin/ex %{_bindir}/edit %{_bindir}/ex %{_bindir}/rview %{_bindir}/rvim %{_bindir}/vi %{_bindir}/view %{_bindir}/vimdiff # additional binaries %{_bindir}/vitmp %{_bindir}/vimtutor #%{_bindir}/gvimtutor %{_bindir}/xxd # man pages %{_mandir}/man1/* %dir %{_mandir}/da %dir %{_mandir}/da/man1/ %{_mandir}/da/man1/* %dir %{_mandir}/de %dir %{_mandir}/de/man1/ %{_mandir}/de/man1/* %dir %{_mandir}/fr %dir %{_mandir}/fr/man1/ %{_mandir}/fr/man1/* %dir %{_mandir}/it %dir %{_mandir}/it/man1/ %{_mandir}/it/man1/* %dir %{_mandir}/ru %dir %{_mandir}/ru/man1/ %{_mandir}/ru/man1/* %dir %{_mandir}/pl %dir %{_mandir}/pl/man1/ %{_mandir}/pl/man1/* %dir %{_mandir}/ja %dir %{_mandir}/ja/man1/ %{_mandir}/ja/man1/* # docs and data file %license LICENSE %doc %{_docdir}/vim # %dir %{_datadir}/vim/%{VIM_SUBDIR}/colors/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/compiler/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/doc/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/ftplugin/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/indent/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/keymap/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/lang/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/macros/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/pack/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/plugin/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/print/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/spell/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/syntax/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/tools/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/tutor/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/skeletons/ %dir %{site_runtimepath} %dir %{site_runtimepath}/autoload/ %dir %{site_runtimepath}/colors/ %dir %{site_runtimepath}/doc/ %dir %{site_runtimepath}/plugin/ %dir %{site_runtimepath}/syntax/ %dir %{site_runtimepath}/ftdetect/ %dir %{site_runtimepath}/after/ %dir %{site_runtimepath}/after/syntax/ %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 %{_datadir}/vim/%{VIM_SUBDIR}/autoload/* %{_datadir}/vim/%{VIM_SUBDIR}/colors/* %{_datadir}/vim/%{VIM_SUBDIR}/compiler/* %{_datadir}/vim/%{VIM_SUBDIR}/doc/* %{_datadir}/vim/%{VIM_SUBDIR}/ftplugin/* %{_datadir}/vim/%{VIM_SUBDIR}/indent/* %{_datadir}/vim/%{VIM_SUBDIR}/keymap/* %{_datadir}/vim/%{VIM_SUBDIR}/lang/* %{_datadir}/vim/%{VIM_SUBDIR}/macros/* %{_datadir}/vim/%{VIM_SUBDIR}/pack/* %{_datadir}/vim/%{VIM_SUBDIR}/plugin/* %{_datadir}/vim/%{VIM_SUBDIR}/print/* %{_datadir}/vim/%{VIM_SUBDIR}/skeletons/* %{_datadir}/vim/%{VIM_SUBDIR}/spell/* %{_datadir}/vim/%{VIM_SUBDIR}/syntax/* %{_datadir}/vim/%{VIM_SUBDIR}/tools/* %{_datadir}/vim/%{VIM_SUBDIR}/tutor/* %files data-common # we can't currently own /etc/vimrc. If we keep owning it, an # existing, unmodified vimrc would not be removed. That results in a # duplicated definition of SKEL_spec(). # see also https://github.com/rpm-software-management/rpm/issues/1296 #%ghost %config(noreplace) %{_sysconfdir}/vimrc %{_datadir}/vim/current %dir %{_datadir}/vim/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/autoload/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/autoload/dist/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/syntax/ %{_datadir}/vim/%{VIM_SUBDIR}/suse.vimrc %{_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}/rgb.txt %files -n gvim #%doc runtime/doc/gui_x11.txt %ghost %config(missingok) %{_sysconfdir}/gvimrc %ghost %{_sysconfdir}/alternatives/vim #%{_bindir}/vim %{_bindir}/egview %{_bindir}/egvim %{_bindir}/eview %{_bindir}/evim %{_bindir}/gex %{_bindir}/gvi %{_bindir}/gview %{_bindir}/gvim %{_bindir}/gvimdiff %{_bindir}/rgview %{_bindir}/rgvim # menu icon %{_datadir}/applications/gvim.desktop %{_datadir}/icons/hicolor/*/apps/gvim.* %doc %{_docdir}/gvim %files small #%license LICENSE %ghost %{_sysconfdir}/alternatives/vim %{_bindir}/vim %{_bindir}/vim-small %changelog * Tue Jun 30 2020 Ludwig Nussel - stop owning /etc/vimrc so the old, distro provided config actually gets removed. Leaving it around leads to a duplicated autocmd for * .spec, leading to spec file template inserted twice. * Mon Jun 22 2020 Ludwig Nussel - own some dirs in vim-data-common so installation of vim-small doesn't leave not owned directories (boo#1173256) * Thu May 28 2020 Ludwig Nussel - remove duplicated settings in defaults.vim from SUSE vimrc - move SUSE vim settings to /usr in data-common package so leave /etc/vimrc to the admin. - require data-common in vim-small so it gets the settings - install spec file template as plugin as vim-small doesn't support it * Thu May 21 2020 Christian Boltz - apparmor.vim: update from latest AppArmor 2.13 branch: - allow alias rules with leading whitespace - allow 'include if exists' rules * Thu May 14 2020 Ludwig Nussel - introduce vim-small package with reduced requirements for small installations. - BuildRequire pkg-config(krb5) instead of krb5-mini to be able to build against Tumbleweed repo * Wed May 6 2020 Paolo Stivanin - Update to version 8.2.0701 (no changelog) - Rebase no-common.patch - Rebase disable-unreliable-tests.patch * Sat Apr 25 2020 Andreas Stieger - update spec.skeleton to current header generated by spec-cleaner * Thu Apr 9 2020 Ondřej Súkup - Updated to version 8.2.0530, fixes the following problems * Vim9: not all code tested. * Vim9: constant expression not well tested. * Vim9: expression tests don't use recognized constants. * Terminal in popup test is still a bit flaky. * Vim9: while loop not tested. * Python 3.9 does not define _Py_DEC_REFTOTAL. (Zdenek Dohnal) * Vim9: str_val is confusing, it's a number * Cannot delete a text property matching both id and type. (Axel Forsman) * Insufficient testing for indent.c. * popup_atcursor() may hang. (Yasuhiro Matsumoto) * Yaml files are only recognized by the file extension. * Internal error when using "0" for a callback. * Some Normal mode commands not tested. * Printf test failing on Haiku. * Tag kind can't be a multi-byte character. (Marcin Szamotulski) * Hardcopy command not tested enough. * Can use :pedit in a popup window. * Vim9: import that redefines local variable does not fail. * Various Normal mode commands not fully tested. * The typebuf_was_filled flag is sometimes not reset, which may cause a hang. * Crash with combination of terminal popup and autocmd. * Prop_find() may not find text property at start of the line. * Type of term_sendkeys() is unknown. * Using wrong printf directive for jump location. * Coverity warning for not using return value. * Nasty callback test fails on some systems. * No CI test for a big-endian system. * prop_find() does not find all props. * Gcc warns for ambiguous else. * Tiny popup when creating a terminal popup without minwidth. * Using freed memory with :lvimgrep and autocommand. (extracted from POC by Dominique Pelle) * Some tests fail when run under valgrind. * Wrong feature check causes test not to be run. * Menu functionality insufficiently tested. * Part from unfinished patch got included. * Error for possible NULL argument to qsort(). * Printmbcharset option not tested. * Delayed redraw when shifting text from Insert mode. * Terminal postponed scrollback test is flaky. * CI test coverage dropped. * Coverity warns for using array index out of range. * Coverity warns for not using return value. * Coverity complains about using NULL pointer. * Build fails with FEAT_EVAL but without FEAT_MENU. * Cmdexpand.c insufficiently tested. * Delayed screen update when using undo from Insert mode. * Profile test fails when two functions take same time. * Various memory leaks. * Not all tests using a terminal are in the list of flaky tests. * Not enough test coverage for evalvars.c. * Setting local instead of global flag. * When 'buftype' is "nofile" there is no overwrite check. * Writefile() error does not give a hint. * FileReadCmd event not well tested. * No early check if :find and :sfind have an argument. * Delete() commented out for testing. * Search test leaves file behind. * Channel test fails too often on slow Mac. * Buffer menu does not handle special buffers properly. * Channel connect_waittime() test is flaky. * Bsdl filetype is not detected. * Code in eval.c not sufficiently covered by tests. * Various memory leaks in Vim9 script code. * Vim9: cannot interrupt a loop with CTRL-C. * Interrupting with CTRL-C does not always work. * Crash when passing popup window to win_splitmove(). (john Devin) * In some environments a few tests are expected to fail. * Checking for wrong return value. (Tom) * Code for modeless selection not sufficiently tested. * Some errors were not tested for. * It is not possible to check for a typo in a feature name. * Buffer name may leak. * No warning when test checks for option that never exists. * Window creation failure not properly tested. * Some compilers don't support using \e for Esc. (Yegappan Lakshmanan) * A few tests fail in a huge terminal. * INT signal not properly tested. * Channel contents might be freed twice. * No warnings for incorrect printf arguments. * :disassemble has minor flaws. * Channel contents might be used after being freed. * Clipboard code is spread out. * Swap file test fails on some systems. * Listener with undo of deleting all lines not tested. * Terminal scroll tests fails on some systems. * Various functions not properly tested. * Vim9: crash if return type is invalid. (Yegappan Lakshmanan) * Not enough testing for restricted mode and function calls. * Win32: double-width character displayed incorrectly. * channel_parse_messages() fails when called recursively. * Trailing space in job_start() command causes empty argument. * Some tests fail when the system is slow. * Cannot set the highlight group for a specific terminal. * Test_confirm_cmd is flaky. * Test_quotestar() often fails when run under valgrind. * Missing feature check in test function. * Cannot check if a function name is correct. * Build failure because of wrong feature name. * Confirm test fails on amd64 system. (Alimar Riesebieter) * Previewwindow test fails on some systems. (James McCoy) * Build error without float and channel feature. (John Marriott) * Typos and other small problems. * Vim9: dead code and wrong return type. * Not parsing messages recursively breaks the govim plugin. * Vim9: some errors are not tested * GUI: pixel dust with some fonts and characters. * Vim9: no error for missing ] after list. * Test_confirm_cmd_cancel() can fail on a slow system. * Missing change to compile_list(). * Terminal highlight name is set twice, leaking memory. * Variables declared in an outer scope. * Cannot use :write when using a plugin with BufWriteCmd. * Channel out_cb test still fails sometimes on Mac. * Terminal nasty callback test fails sometimes. * Vim9: error messages not tested. * New buffers are not added to the Buffers menu. * Unloading shared libraries on exit has no purpose. * Vim9: some code is not tested. * Travis is still using trusty. * Channel and sandbox code not sufficiently tested. * Vim9: "let x = x + 1" does not give an error. * Vim9: some error messages not tested. * Vim9 script test fails. * Vim9: some code and error messages not tested. * Vim9: compiling not sufficiently tested. * Vim9: Compiling can break when using a lambda inside :def. * Vim9: memory leaks. * Win32: VTP doesn't respect 'restorescreen'. * Cannot recognize a