summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2022-07-11 22:44:10 +0200
committerMatěj Cepl <mcepl@cepl.eu>2022-07-11 22:44:10 +0200
commitdd4c0b498c27fb7f60d58fa3c26baebf8d2a759b (patch)
tree2c41fcc8a32390bcd166cfb552158ca0000c35c0
parent16a8019f43dc8d5f55162ba5bb72a89276b9f48a (diff)
downloadvis-pkg-dd4c0b498c27fb7f60d58fa3c26baebf8d2a759b.tar.gz
Add a brutal hack with switching branches for the Remote Asset.
-rw-r--r--vis.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/vis.spec b/vis.spec
index 0dbe5ad..8ee523a 100644
--- a/vis.spec
+++ b/vis.spec
@@ -24,10 +24,10 @@ Summary: An editor combining the strengths of both vi(m) and sam
License: ISC
Group: Productivity/Text/Editors
URL: https://github.com/martanne/vis
-# ###RemoteAssetUrl: git+https://github.com/martanne/vis.git
#!RemoteAssetUrl: git+https://github.com/mcepl/vis.git#devel
#!RemoteAssetUrl: git+https://github.com/martanne/vis-test.git#v0.5
Source99: vis-rpmlintrc
+BuildRequires: git
BuildRequires: libselinux-devel
BuildRequires: libtermkey-devel
BuildRequires: ncurses-devel
@@ -51,6 +51,8 @@ It extends vi's modal editing with built-in support for multiple cursors/selecti
%prep
%setup -q -n vis -c -T
+
+( cd %{_sourcedir}/vis && git checkout -f devel )
cp -a %{_sourcedir}/vis/* .
cp -a %{_sourcedir}/vis-test/* test/