Add tests back.
OBS-URL: https://build.opensuse.org/package/show/editors/vis?expand=0&rev=11
This commit is contained in:
parent
e8ee0a2388
commit
0628f60235
3
vis-test-0.4.tar.gz
Normal file
3
vis-test-0.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e206537893182d471efc4e77491fef78006d2f0c9ec12b1a2eaca3df06954d2c
|
||||
size 98703
|
20
vis.spec
20
vis.spec
@ -16,6 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%define test_version 0.4
|
||||
Name: vis
|
||||
Version: 0.6
|
||||
Release: 0
|
||||
@ -23,7 +24,8 @@ Summary: An editor combining the strengths of both vi(m) and sam
|
||||
License: ISC
|
||||
Group: Productivity/Text/Editors
|
||||
URL: https://github.com/martanne/vis
|
||||
Source: https://github.com/martanne/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source0: https://github.com/martanne/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source1: https://github.com/martanne/vis-test/releases/download/v%{test_version}/vis-test-%{test_version}.tar.gz
|
||||
BuildRequires: libtermkey-devel
|
||||
BuildRequires: lua-devel
|
||||
BuildRequires: lua-lpeg
|
||||
@ -39,7 +41,8 @@ Vis aims to be a modern, legacy free, simple yet efficient editor combining the
|
||||
It extends vi's modal editing with built-in support for multiple cursors/selections and combines it with sam's structural regular expression based command language.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
%setup -q
|
||||
tar -xC test/ --strip-components 1 -f %{SOURCE1}
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -fcommon"
|
||||
@ -50,13 +53,12 @@ export CFLAGS="%{optflags} -fcommon"
|
||||
%make_install
|
||||
|
||||
%check
|
||||
# Tests not available in the released version.
|
||||
# # According to the debian/rules:
|
||||
# # The vim tests harness is not solid, let's skip them for the moment.
|
||||
# # Upstream mentioned the possibility of phasing them out entirely.
|
||||
# make -C test/core
|
||||
# # No busted yet make -C test/lua
|
||||
# make -C test/vis
|
||||
# According to the debian/rules:
|
||||
# The vim tests harness is not solid, let's skip them for the moment.
|
||||
# Upstream mentioned the possibility of phasing them out entirely.
|
||||
make -C test/core
|
||||
# No busted yet make -C test/lua
|
||||
make -C test/vis
|
||||
|
||||
%files
|
||||
%{_bindir}/vis*
|
||||
|
Loading…
Reference in New Issue
Block a user