fix building with latest libtcl; added debug package [release 8.2.2840-2mamba;Fri May 07 2021]
This commit is contained in:
parent
079a49fa64
commit
f9821852f2
42
vim.spec
42
vim.spec
@ -6,8 +6,8 @@
|
|||||||
%define with_gvim 0
|
%define with_gvim 0
|
||||||
|
|
||||||
Name: vim
|
Name: vim
|
||||||
Version: 8.2.2827
|
Version: 8.2.2840
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: VIsual editor iMproved
|
Summary: VIsual editor iMproved
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -25,7 +25,8 @@ BuildRequires: libncurses-devel
|
|||||||
BuildRequires: libperl
|
BuildRequires: libperl
|
||||||
BuildRequires: libruby-devel
|
BuildRequires: libruby-devel
|
||||||
BuildRequires: libselinux-devel
|
BuildRequires: libselinux-devel
|
||||||
BuildRequires: libtcl
|
BuildRequires: libtcl-devel
|
||||||
|
BuildRequires: perl-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: gettext-devel
|
BuildRequires: gettext-devel
|
||||||
|
|
||||||
@ -59,21 +60,12 @@ VIM improves on vi by adding new features: multiple windows, multi-level undo, b
|
|||||||
If you install this package, you can run VIM as an X application with a full GUI interface and mouse support.
|
If you install this package, you can run VIM as an X application with a full GUI interface and mouse support.
|
||||||
This package provides tutorial files.
|
This package provides tutorial files.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
# Avoid an unwanted /bin/csh requirement
|
||||||
%define _use_internal_dependency_generator 0
|
%define __requires_exclude_from ^%{_datadir}/.*$
|
||||||
|
|
||||||
# Find requires modified
|
|
||||||
%define __find_requires %{_builddir}/%{name}-%{version}/find_requires.sh
|
|
||||||
|
|
||||||
# Find requires will ignore datadir files to avoid a wrong /bin/csh requirement
|
|
||||||
cat > find_requires.sh << _EOF
|
|
||||||
#! /bin/sh
|
|
||||||
grep -v %{_datadir} | %{_prefix}/lib/rpm/find-requires %{buildroot} %{_target_cpu}
|
|
||||||
_EOF
|
|
||||||
|
|
||||||
chmod +x find_requires.sh
|
|
||||||
|
|
||||||
sed -i '
|
sed -i '
|
||||||
s,SYS_VIMRC_FILE "\$VIM/vimrc",SYS_VIMRC_FILE "%{_sysconfdir}/vim/vimrc",
|
s,SYS_VIMRC_FILE "\$VIM/vimrc",SYS_VIMRC_FILE "%{_sysconfdir}/vim/vimrc",
|
||||||
@ -129,6 +121,7 @@ mv src/vim src/gvim
|
|||||||
--enable-pythoninterp \
|
--enable-pythoninterp \
|
||||||
--enable-tclinterp \
|
--enable-tclinterp \
|
||||||
--enable-rubyinterp \
|
--enable-rubyinterp \
|
||||||
|
--with-tclsh=%{_bindir}/tclsh \
|
||||||
--enable-cscope \
|
--enable-cscope \
|
||||||
--disable-acl \
|
--disable-acl \
|
||||||
--enable-multibyte
|
--enable-multibyte
|
||||||
@ -142,7 +135,7 @@ mv src/vim src/gvim
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall
|
%makeinstall STRIP=/bin/true
|
||||||
|
|
||||||
ln -s vim %{buildroot}%{_bindir}/vi
|
ln -s vim %{buildroot}%{_bindir}/vi
|
||||||
install -m 0644 -D %{S:2} %{buildroot}%{_sysconfdir}/skel/.vimrc
|
install -m 0644 -D %{S:2} %{buildroot}%{_sysconfdir}/skel/.vimrc
|
||||||
@ -184,6 +177,21 @@ install -m 0755 -D src/gvim %{buildroot}%{_bindir}/gvim
|
|||||||
%{_datadir}/vim/%{vimdir}/tutor
|
%{_datadir}/vim/%{vimdir}/tutor
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri May 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 8.2.2840-2mamba
|
||||||
|
- fix building with latest libtcl; added debug package
|
||||||
|
|
||||||
|
* Fri May 07 2021 Automatic Build System <autodist@mambasoft.it> 8.2.2840-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Fri May 07 2021 Automatic Build System <autodist@mambasoft.it> 8.2.2836-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Wed May 05 2021 Automatic Build System <autodist@mambasoft.it> 8.2.2832-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Tue May 04 2021 Automatic Build System <autodist@mambasoft.it> 8.2.2831-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Tue May 04 2021 Automatic Build System <autodist@mambasoft.it> 8.2.2827-1mamba
|
* Tue May 04 2021 Automatic Build System <autodist@mambasoft.it> 8.2.2827-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user