summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiří Konečný <DragonLichcz@gmail.com>2015-03-28 09:47:08 +0100
committerJiří Konečný <DragonLichcz@gmail.com>2015-03-28 10:12:00 +0100
commitd8a026a5ffaf35aa577dd0147175c336aa52609a (patch)
tree05cfffddc27ae54a239a596655e9dbe7c3953538
parentd1b81c8f8a8f1063c0c0d4e3a970ef3a5edafdb6 (diff)
Fedora releases are now automated
Dgroc script https://github.com/pypingou/dgroc is now used to create daily builds from GitHub repository. Some changes in spec file was required to use script this script.
-rw-r--r--contrib/kakoune.spec15
1 files changed, 8 insertions, 7 deletions
diff --git a/contrib/kakoune.spec b/contrib/kakoune.spec
index 0216358a..c0d5faf1 100644
--- a/contrib/kakoune.spec
+++ b/contrib/kakoune.spec
@@ -1,15 +1,11 @@
-# TODO: automate this to get new GitHub version everytime
-%global commit 48007d5de22f57175115fc72fe9cb592e6b0efb2
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-
Name: kakoune
Version: 0
-Release: 1.%{shortcommit}git%{?dist}
+Release: 5.20150328gitd1b81c8f%{?dist}
Summary: Vim inspired editor
License: Unlicense
URL: https://github.com/mawww/kakoune
-Source0: https://github.com/mawww/kakoune/archive/%{commit}/kakoune-%{commit}.tar.gz
+Source0: kakoune-d1b81c8f.tar
BuildRequires: boost-devel >= 1.50
BuildRequires: ncurses-devel >= 5.3
@@ -20,7 +16,7 @@ Requires: ncurses-libs >= 5.3
Kakoune is a code editor heavily inspired by Vim
%prep
-%setup -qn %{name}-%{commit}
+%setup -qn kakoune
%build
cd src
@@ -35,8 +31,12 @@ cd src
%make_install PREFIX=/usr
%changelog
+* Sat Mar 28 2015 jkonecny <jkonecny@redhat.com> - 0-5.20150328gitd1b81c8f
+- Automated git update by dgroc script new hash: d1b81c8f
+
* Tue Mar 24 2015 Jiri Konecny <jkonecny@redhat.com> 0-1.7eaa697git
- Add tests
+
* Tue Mar 17 2015 Jiri Konecny <jkonecny@redhat.com> 0-1.12a732dgit
- Create first rpm for kakoune
@@ -45,3 +45,4 @@ cd src
%{_bindir}/*
%{_datadir}/doc/kak/*
%{_datadir}/kak/*
+