Add testing patch from https://github.com/neovim/neovim/pull/23818
This commit is contained in:
parent
a85a6e47d3
commit
e32e9bb47c
11
neovim.spec
11
neovim.spec
@ -45,7 +45,7 @@ Requires: python3-neovim
|
||||
%bcond_with luajit
|
||||
%endif
|
||||
Name: neovim
|
||||
Version: 0.9.0+git.1685321092.9dd48f783
|
||||
Version: 0.9.0+git.1685369641.2028d1e2b
|
||||
Release: 0
|
||||
Summary: Vim-fork focused on extensibility and agility
|
||||
License: Apache-2.0 AND Vim
|
||||
@ -59,6 +59,9 @@ Source3: suse-spec-template
|
||||
# we need /usr/bin/luajit. Fake it.
|
||||
Source10: lj-busted.sh
|
||||
Source99: neovim-rpmlintrc
|
||||
# PATCH-FIX-UPSTREAM 23818.patch gh#neovim/neovim#23814 mcepl@suse.com
|
||||
# this patch makes things totally awesome
|
||||
Patch0: 23818.patch
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: filesystem
|
||||
@ -93,6 +96,8 @@ Recommends: xsel
|
||||
BuildRequires: lua-macros
|
||||
BuildRequires: lua51-lpeg
|
||||
BuildRequires: lua51-bit32
|
||||
BuildRequires: lua51-coxpcall
|
||||
BuildRequires: lua51-luacheck
|
||||
BuildRequires: lua51-luarocks
|
||||
BuildRequires: lua51-luv
|
||||
BuildRequires: libluv-devel
|
||||
@ -157,6 +162,8 @@ parts of Vim, without compromise, and more.
|
||||
( cd %{_sourcedir}/neovim )
|
||||
cp -a %{_sourcedir}/neovim/* .
|
||||
|
||||
%autopatch -p1
|
||||
|
||||
install -p -m 0755 %{SOURCE10} .
|
||||
|
||||
# Remove __DATE__ and __TIME__.
|
||||
@ -233,7 +240,7 @@ export NO_BRP_CHECK_RPATH=true
|
||||
HOSTNAME=OBS
|
||||
USERNAME=OBS
|
||||
pushd build
|
||||
%make_build USE_BUNDLED_LUAROCKS=OFF BUSTED_PRG=$(readlink -f ../lj-busted.sh) test
|
||||
%make_build BUSTED_PRG=$(readlink -f ../lj-busted.sh) test
|
||||
popd
|
||||
%endif
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user