1744956 - vim does not build with python3.8
This commit is contained in:
parent
fdad298eb1
commit
11df03d51e
11
vim.spec
11
vim.spec
@ -21,7 +21,7 @@ Summary: The VIM editor
|
|||||||
URL: http://www.vim.org/
|
URL: http://www.vim.org/
|
||||||
Name: vim
|
Name: vim
|
||||||
Version: %{baseversion}.%{patchlevel}
|
Version: %{baseversion}.%{patchlevel}
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: Vim and MIT
|
License: Vim and MIT
|
||||||
Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}-%{patchlevel}.tar.bz2
|
Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}-%{patchlevel}.tar.bz2
|
||||||
Source1: vim.sh
|
Source1: vim.sh
|
||||||
@ -264,6 +264,12 @@ mv -f Makefile.tmp Makefile
|
|||||||
export CFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2"
|
export CFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2"
|
||||||
export CXXFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2"
|
export CXXFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2"
|
||||||
|
|
||||||
|
%if 0%{?fedora} > 31
|
||||||
|
export LDFLAGS="%{build_ldflags} $(python3-config --libs --embed)"
|
||||||
|
%else
|
||||||
|
export LDFLAGS="%{build_ldflags} $(python3-config --libs)"
|
||||||
|
%endif
|
||||||
|
|
||||||
cp -f os_unix.h os_unix.h.save
|
cp -f os_unix.h os_unix.h.save
|
||||||
cp -f ex_cmds.c ex_cmds.c.save
|
cp -f ex_cmds.c ex_cmds.c.save
|
||||||
|
|
||||||
@ -784,6 +790,9 @@ touch %{buildroot}/%{_datadir}/%{name}/vimfiles/doc/tags
|
|||||||
%{_datadir}/icons/locolor/*/apps/*
|
%{_datadir}/icons/locolor/*/apps/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 03 2019 Zdenek Dohnal <zdohnal@redhat.com> - 2:8.1.1912-3
|
||||||
|
- 1744956 - vim does not build with python3.8
|
||||||
|
|
||||||
* Mon Aug 26 2019 Zdenek Dohnal <zdohnal@redhat.com> - 2:8.1.1912-2
|
* Mon Aug 26 2019 Zdenek Dohnal <zdohnal@redhat.com> - 2:8.1.1912-2
|
||||||
- remove python2 interpreter - python2 will be retired soon.
|
- remove python2 interpreter - python2 will be retired soon.
|
||||||
- use 'file' with '--mime' option - output is more stable
|
- use 'file' with '--mime' option - output is more stable
|
||||||
|
Loading…
Reference in New Issue
Block a user