summaryrefslogtreecommitdiffstats
path: root/vis.spec
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2023-04-14 18:55:41 +0200
committerMatěj Cepl <mcepl@cepl.eu>2023-04-14 18:55:41 +0200
commite18f9a38d113a0148f3aa489c8c7cf16cb25f066 (patch)
tree135ec421034bfd70e35d12f590173a68f6e0a109 /vis.spec
parent5c400d3792cb239979dcec332093ae451ca6acdf (diff)
downloadvis-pkg-e18f9a38d113a0148f3aa489c8c7cf16cb25f066.tar.gz
Don't use special repository for tests.
Also, BR lua-busted and run all tests.
Diffstat (limited to 'vis.spec')
-rw-r--r--vis.spec8
1 files changed, 4 insertions, 4 deletions
diff --git a/vis.spec b/vis.spec
index 096d818..44f46d0 100644
--- a/vis.spec
+++ b/vis.spec
@@ -25,7 +25,6 @@ License: ISC
Group: Productivity/Text/Editors
URL: https://sr.ht/~martanne/vis
#!RemoteAssetUrl: git+https://git.sr.ht/~mcepl/vis#master
-#!RemoteAssetUrl: git+https://git.sr.ht/~martanne/vis-test#master
BuildRequires: libacl-devel
BuildRequires: libselinux-devel
BuildRequires: libtermkey-devel
@@ -37,12 +36,14 @@ BuildRequires: tar
%if 0%{?suse_version} > 1550
BuildRequires: lua54-devel
BuildRequires: lua54-lpeg
+BuildRequires: lua54-busted
Requires: lua54
Requires: lua54-lpeg
Suggests: lua54-editorconfig-core-lua
%else
BuildRequires: lua-devel
BuildRequires: lua-lpeg
+BuildRequires: lua-busted
Requires: lua
Requires: lua-lpeg
Suggests: lua-editorconfig-core-lua
@@ -58,7 +59,6 @@ It extends vi's modal editing with built-in support for multiple cursors/selecti
%setup -q -n vis -c -T
cp -a %{_sourcedir}/vis/* .
-cp -a %{_sourcedir}/vis-test/* test/
%build
export CFLAGS="%{optflags} -fcommon"
@@ -73,8 +73,8 @@ export CFLAGS="%{optflags} -fcommon"
# The vim tests harness is not solid, let's skip them for the moment.
# Upstream mentioned the possibility of phasing them out entirely.
%make_build -C test/core
-# No busted yet make -C test/lua
-# %%make_build -C test/vis
+%make_build -C test/lua
+%make_build -C test/vis
%files
%{_bindir}/vis*