From e18f9a38d113a0148f3aa489c8c7cf16cb25f066 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Fri, 14 Apr 2023 18:55:41 +0200 Subject: Don't use special repository for tests. Also, BR lua-busted and run all tests. --- vis.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'vis.spec') 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* -- cgit