!18 Fix wrong path passed to --with-python3-config-dir
From: @frankyj915 Reviewed-by: @xiezhipeng1 Signed-off-by: @xiezhipeng1
This commit is contained in:
commit
64048f471f
14
vim.spec
14
vim.spec
@ -12,7 +12,7 @@
|
|||||||
Name: vim
|
Name: vim
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
Version: 8.2
|
Version: 8.2
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: Vim is a highly configurable text editor for efficiently creating and changing any kind of text.
|
Summary: Vim is a highly configurable text editor for efficiently creating and changing any kind of text.
|
||||||
License: Vim and MIT
|
License: Vim and MIT
|
||||||
URL: http://www.vim.org
|
URL: http://www.vim.org
|
||||||
@ -136,7 +136,7 @@ sed -i 's/vimrc/virc/' os_unix.h
|
|||||||
%configure --with-features=small --with-x=no --enable-multibyte --disable-netbeans \
|
%configure --with-features=small --with-x=no --enable-multibyte --disable-netbeans \
|
||||||
--disable-pythoninterp --disable-perlinterp --disable-tclinterp --with-tlib=ncurses \
|
--disable-pythoninterp --disable-perlinterp --disable-tclinterp --with-tlib=ncurses \
|
||||||
--enable-gui=no --disable-gpm --exec-prefix=/ \
|
--enable-gui=no --disable-gpm --exec-prefix=/ \
|
||||||
--enable-fail-if-missing --with-python3-config-dir=/usr/lib/python%{python_ver}/config \
|
--enable-fail-if-missing --with-python3-config-dir=/usr/lib64/python%{python_ver}/config-%{python_ver}-%{_arch}-linux-gnu \
|
||||||
%if %{_with_selinux__}
|
%if %{_with_selinux__}
|
||||||
--enable-selinux \
|
--enable-selinux \
|
||||||
%else
|
%else
|
||||||
@ -150,7 +150,7 @@ mv os_unix.h.bak os_unix.h
|
|||||||
%configure --with-features=huge --enable-pythoninterp=dynamic --enable-python3interp=dynamic \
|
%configure --with-features=huge --enable-pythoninterp=dynamic --enable-python3interp=dynamic \
|
||||||
--enable-perlinterp=dynamic --disable-tclinterp --with-x=yes --enable-xim --enable-multibyte \
|
--enable-perlinterp=dynamic --disable-tclinterp --with-x=yes --enable-xim --enable-multibyte \
|
||||||
--with-tlib=ncurses --enable-gtk3-check --enable-gui=gtk3 \
|
--with-tlib=ncurses --enable-gtk3-check --enable-gui=gtk3 \
|
||||||
--enable-cscope --enable-fail-if-missing --with-python3-config-dir=/usr/lib/python%{python_ver}/config \
|
--enable-cscope --enable-fail-if-missing --with-python3-config-dir=/usr/lib64/python%{python_ver}/config-%{python_ver}-%{_arch}-linux-gnu \
|
||||||
%if %{_with_netbeans__}
|
%if %{_with_netbeans__}
|
||||||
--enable-netbeans \
|
--enable-netbeans \
|
||||||
%else
|
%else
|
||||||
@ -176,7 +176,7 @@ mv os_unix.h.bak os_unix.h
|
|||||||
|
|
||||||
%configure --with-features=huge --enable-pythoninterp=dynamic --enable-python3interp=dynamic \
|
%configure --with-features=huge --enable-pythoninterp=dynamic --enable-python3interp=dynamic \
|
||||||
--enable-perlinterp=dynamic --disable-tclinterp --with-x=no --enable-gui=no --enable-multibyte \
|
--enable-perlinterp=dynamic --disable-tclinterp --with-x=no --enable-gui=no --enable-multibyte \
|
||||||
--enable-cscope --with-tlib=ncurses --with-python3-config-dir=/usr/lib/python%{python_ver}/config \
|
--enable-cscope --with-tlib=ncurses --with-python3-config-dir=/usr/lib64/python%{python_ver}/config-%{python_ver}-%{_arch}-linux-gnu \
|
||||||
--enable-fail-if-missing \
|
--enable-fail-if-missing \
|
||||||
%if %{_with_netbeans__}
|
%if %{_with_netbeans__}
|
||||||
--enable-netbeans \
|
--enable-netbeans \
|
||||||
@ -422,6 +422,12 @@ popd
|
|||||||
%{_mandir}/man1/evim.*
|
%{_mandir}/man1/evim.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 14 2020 Jie Yang<yangjieyj.yang@huawei.com> - 2:8.2-5
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:Fix wrong path passed to --with-python3-config-dir.
|
||||||
|
|
||||||
* Sat Aug 15 2020 shixuantong<shixuantong@huawei.com> - 2:8.2-4
|
* Sat Aug 15 2020 shixuantong<shixuantong@huawei.com> - 2:8.2-4
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user