From d8a026a5ffaf35aa577dd0147175c336aa52609a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Kone=C4=8Dn=C3=BD?= Date: Sat, 28 Mar 2015 09:47:08 +0100 Subject: [PATCH] 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. --- contrib/kakoune.spec | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/contrib/kakoune.spec b/contrib/kakoune.spec index 0216358ab..c0d5faf13 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 - 0-5.20150328gitd1b81c8f +- Automated git update by dgroc script new hash: d1b81c8f + * Tue Mar 24 2015 Jiri Konecny 0-1.7eaa697git - Add tests + * Tue Mar 17 2015 Jiri Konecny 0-1.12a732dgit - Create first rpm for kakoune @@ -45,3 +45,4 @@ cd src %{_bindir}/* %{_datadir}/doc/kak/* %{_datadir}/kak/* +