diff --git a/vis.spec b/vis.spec index e2699a5..0696314 100644 --- a/vis.spec +++ b/vis.spec @@ -18,13 +18,12 @@ %define test_version 0.5 Name: vis -Version: 0.7+git.1653832963.0cc684f +Version: 0.7+git Release: 0 Summary: An editor combining the strengths of both vi(m) and sam License: ISC Group: Productivity/Text/Editors URL: https://github.com/martanne/vis -# Source0: https://github.com/martanne/%%{name}/archive/v%%{version}.tar.gz#/%%{name}-%%{version}.tar.gz #!RemoteAssetUrl: git+https://github.com/martanne/vis.git #!RemoteAssetUrl: git+https://github.com/martanne/vis-test.git#v0.5 Source99: vis-rpmlintrc @@ -83,7 +82,10 @@ 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 -: +%setup -q -n vis -c -T +cp -a %{_sourcedir}/vis/* . +cp -a %{_sourcedir}/vis-test/* test/ +%autopatch -p1 %build export CFLAGS="%{optflags} -fcommon"