diff --git a/vim.spec b/vim.spec index c7a014ced01419ac09d8bb772743ff54240a122d..58b7f295085de4d14c89171c522b2d2333d18d3f 100644 --- a/vim.spec +++ b/vim.spec @@ -12,7 +12,7 @@ Name: vim Epoch: 2 Version: 8.2 -Release: 5 +Release: 6 Summary: Vim is a highly configurable text editor for efficiently creating and changing any kind of text. License: Vim and MIT URL: http://www.vim.org @@ -37,7 +37,7 @@ Patch0014: backport-Fix-build-failuers-with-perl-5.32.patch Patch9000: bugfix-rm-modify-info-version.patch -BuildRequires: autoconf python-devel python3-devel ncurses-devel gettext perl-devel perl-generators +BuildRequires: autoconf python3-devel ncurses-devel gettext perl-devel perl-generators BuildRequires: perl(ExtUtils::Embed) perl(ExtUtils::ParseXS) libacl-devel gpm-devel file BuildRequires: desktop-file-utils >= 0.2.93 %if %{_with_selinux__} @@ -79,7 +79,7 @@ The minimal package provides a minimal version of vim editor. It will be install Summary: This is a package containing enhanced vim editor. Requires: vim-common = %{epoch}:%{version}-%{release} which gpm-libs Provides: vim = %{version}-%{release} %{_bindir}/mergetool %{_bindir}/vim -Suggests: python2 python2-libs python3 python3-libs +Suggests: python3 python3-libs Suggests: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Suggests: perl-libs perl-devel %if %{_with_ruby__} @@ -105,7 +105,7 @@ BuildRequires: gtk3-devel libX11-devel libSM-devel libXt-devel libXpm-devel lib Requires: vim-common = %{epoch}:%{version}-%{release} libattr >= 2.4 gtk3 hicolor-icon-theme Requires: libICE libSM libX11 libXt cairo gdk-pixbuf2 pango Provides: gvim = %{version}-%{release} %{_bindir}/mergetool %{_bindir}/gvim -Suggests: python2 python2-libs python3 python3-libs +Suggests: python3 python3-libs Suggests: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Suggests: perl-libs perl-devel %if %{_with_ruby__} @@ -147,7 +147,7 @@ sed -i 's/vimrc/virc/' os_unix.h mv os_unix.h.bak os_unix.h -%configure --with-features=huge --enable-pythoninterp=dynamic --enable-python3interp=dynamic \ +%configure --with-features=huge --enable-python3interp=dynamic \ --enable-perlinterp=dynamic --disable-tclinterp --with-x=yes --enable-xim --enable-multibyte \ --with-tlib=ncurses --enable-gtk3-check --enable-gui=gtk3 \ --enable-cscope --enable-fail-if-missing --with-python3-config-dir=/usr/lib64/python%{python_ver}/config-%{python_ver}-%{_arch}-linux-gnu \ @@ -174,7 +174,7 @@ mv os_unix.h.bak os_unix.h %{_make_cmd__ vim-X11} -%configure --with-features=huge --enable-pythoninterp=dynamic --enable-python3interp=dynamic \ +%configure --with-features=huge --enable-python3interp=dynamic \ --enable-perlinterp=dynamic --disable-tclinterp --with-x=no --enable-gui=no --enable-multibyte \ --enable-cscope --with-tlib=ncurses --with-python3-config-dir=/usr/lib64/python%{python_ver}/config-%{python_ver}-%{_arch}-linux-gnu \ --enable-fail-if-missing \ @@ -422,6 +422,12 @@ popd %{_mandir}/man1/evim.* %changelog +* Mon Nov 2 2020 wangjie -2:8.2-6 +- Type:NA +- ID:NA +- SUG:NA +- DESC:remove python2 + * Wed Oct 14 2020 Jie Yang - 2:8.2-5 - Type:bugfix - ID:NA