remove python2 interpreter - python2 will be retired soon.
This commit is contained in:
parent
386b3931a7
commit
fdad298eb1
7
vim.spec
7
vim.spec
@ -64,7 +64,7 @@ Patch3017: vim-python3-tests.patch
|
||||
# gcc is no longer in buildroot by default
|
||||
BuildRequires: gcc
|
||||
|
||||
BuildRequires: python2-devel python3-devel ncurses-devel gettext perl-devel
|
||||
BuildRequires: python3-devel ncurses-devel gettext perl-devel
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(ExtUtils::Embed) perl(ExtUtils::ParseXS)
|
||||
BuildRequires: libacl-devel gpm-devel autoconf file
|
||||
@ -147,7 +147,6 @@ Provides: %{_bindir}/mergetool
|
||||
Provides: %{_bindir}/vim
|
||||
# suggest python3, python2, lua, ruby and perl packages because of their
|
||||
# embedded functionality in Vim/GVim
|
||||
Suggests: python2 python2-libs
|
||||
Suggests: python3 python3-libs
|
||||
Suggests: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) perl-devel
|
||||
%if "%{withruby}" == "1"
|
||||
@ -196,7 +195,6 @@ BuildRequires: gtk3-devel libSM-devel libXt-devel libXpm-devel libappstream-glib
|
||||
Requires: hicolor-icon-theme
|
||||
# suggest python3, python2, lua, ruby and perl packages because of their
|
||||
# embedded functionality in Vim/GVim
|
||||
Suggests: python2 python2-libs
|
||||
Suggests: python3 python3-libs
|
||||
Suggests: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) perl-devel
|
||||
%if "%{withruby}" == "1"
|
||||
@ -309,7 +307,6 @@ mv -f ex_cmds.c.save ex_cmds.c
|
||||
# --enable-termtruecolor - use terminal with true colors
|
||||
|
||||
%configure --with-features=huge \
|
||||
--enable-pythoninterp=dynamic \
|
||||
--enable-python3interp=dynamic \
|
||||
--enable-perlinterp=dynamic \
|
||||
--disable-tclinterp --with-x=yes \
|
||||
@ -345,7 +342,6 @@ cp vim gvim
|
||||
make clean
|
||||
|
||||
%configure --prefix=%{_prefix} --with-features=huge \
|
||||
--enable-pythoninterp=dynamic \
|
||||
--enable-python3interp=dynamic \
|
||||
--enable-perlinterp=dynamic \
|
||||
--disable-tclinterp \
|
||||
@ -789,6 +785,7 @@ touch %{buildroot}/%{_datadir}/%{name}/vimfiles/doc/tags
|
||||
|
||||
%changelog
|
||||
* Mon Aug 26 2019 Zdenek Dohnal <zdohnal@redhat.com> - 2:8.1.1912-2
|
||||
- remove python2 interpreter - python2 will be retired soon.
|
||||
- use 'file' with '--mime' option - output is more stable
|
||||
|
||||
* Fri Aug 23 2019 Zdenek Dohnal <zdohnal@redhat.com> - 2:8.1.1912-1
|
||||
|
Loading…
Reference in New Issue
Block a user