From 113c1d4f2b04908286c49bd74b26b9acdea38ce74c0a9b22d78428c6f935630f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Fri, 14 Apr 2023 18:55:41 +0200 Subject: [PATCH] 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(-) diff --git a/vis.spec b/vis.spec index 1c6e553..288580a 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*