[emacs-evil] Update to revision dcb8ebc Added tests

Sébastien Willmann wilqu at fedoraproject.org
Mon Nov 5 20:59:24 UTC 2012


commit 61b852c02717e65bd0cf903311909c6de608c23b
Author: Sébastien Willmann <sebastien.willmann at gmail.com>
Date:   Mon Nov 5 21:58:59 2012 +0100

    Update to revision dcb8ebc
    Added tests

 emacs-evil.spec |   14 +++++++++++---
 sources         |    2 +-
 2 files changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/emacs-evil.spec b/emacs-evil.spec
index a68ec69..b03280f 100644
--- a/emacs-evil.spec
+++ b/emacs-evil.spec
@@ -1,10 +1,10 @@
 %global pkg evil
 %global pkgname Evil
-%global commit f1b0789
+%global commit dcb8ebc
 
 Name:		emacs-%{pkg}
 Version:	0.1
-Release:	0.4.20121003git%{commit}%{?dist}
+Release:	0.5.20121003git%{commit}%{?dist}
 Summary:	Extensible vi layer for Emacs	
 Summary(fr):	Surcouche vi extensible pour Emacs
 
@@ -13,7 +13,7 @@ URL:		http://emacswiki.org/emacs/Evil
 ## Sources are checked out with git
 # git clone git://gitorious.org/evil/evil.git
 # cd evil
-# git checkout f1b0789
+# git checkout dcb8ebc
 # cd ..
 # tar cJf evil-0.1.tar.xz evil
 Source0:	%{pkg}-%{version}.tar.xz
@@ -41,6 +41,10 @@ le successeur de Vimpulse et de vim-mode.
 %build
 make %{?_smp_mflags}
 
+%check
+# The tests launch emacs, so we need script to make it think we are in a tty.
+script -ec "make tests" /dev/null
+
 %install
 mkdir -p $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{pkg}
 cp -p *.el *.elc $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{pkg}
@@ -50,6 +54,10 @@ cp -p *.el *.elc $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{pkg}
 %{_emacs_sitelispdir}/%{pkg}
 
 %changelog
+* Mon Nov 05 2012 Sébastien Willmann <sebastien.willmann at gmail.com> - 0.1-0.5.20121003gitdcb8ebc
+- Update to revision dcb8ebc
+- Added tests
+
 * Sat Nov 03 2012 Sébastien Willmann <sebastien.willmann at gmail.com> - 0.1-0.4.20121003gitf1b0789
 - Update to revision f1b0789
 
diff --git a/sources b/sources
index 70a34fd..37b4da2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-041d0ef74e0610b3660a677974f68c20  evil-0.1.tar.xz
+56ad79b5fc20d259b27c4c9404ac74aa  evil-0.1.tar.xz


More information about the scm-commits mailing list