[emacs-lua] Use even more Emacs macros from build system

Tim Niemueller timn at fedoraproject.org
Tue Jan 21 10:14:41 UTC 2014


commit cbb8b68a4c2633e79aac6bddfd27bf4f85122543
Author: Tim Niemueller <niemueller at kbsg.rwth-aachen.de>
Date:   Tue Jan 21 11:14:54 2014 +0100

    Use even more Emacs macros from build system

 emacs-lua.spec |   17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/emacs-lua.spec b/emacs-lua.spec
index 9373f8a..c279f36 100644
--- a/emacs-lua.spec
+++ b/emacs-lua.spec
@@ -1,14 +1,14 @@
 
-%define pkg lua
-%define pkgname Lua major mode
-%define gitrev g040bc8f
-%define gitrev_dir 3ec8f27
+%global pkg lua
+%global pkgname Lua major mode
+%global gitrev g040bc8f
+%global gitrev_dir 3ec8f27
 
 Name:           emacs-%{pkg}
 Version:        20130419
 # Omit gitrev here because it is actually a stable release,
 # but the only download URL is a zipball from github
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Lua major mode for GNU Emacs
 
 Group:          Applications/Editors
@@ -18,9 +18,9 @@ Source0:        https://github.com/immerrr/lua-mode/zipball/rel-20130419/immerrr
 Source1:        lua-init.el
 BuildArch:      noarch
 
-BuildRequires:  emacs(bin), emacs-el >= 24.3
+BuildRequires:  emacs(bin), emacs-el >= %{_emacs_version}
 BuildRequires:  pkgconfig
-Requires:       emacs(bin) >= 24.3
+Requires:       emacs(bin) >= %{_emacs_version}
 
 %description
 A GNU Emacs major mode for editing Lua code.
@@ -61,6 +61,9 @@ install -p -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_emacs_sitestartdir}
 %{_emacs_sitelispdir}/lua-mode.el
 
 %changelog
+* Tue Jan 21 2014 Tim Niemueller <tim at niemueller.de> 20130419-3
+- Use even more Emacs macros from build system
+
 * Tue Jan 21 2014 Tim Niemueller <tim at niemueller.de> 20130419-2
 - Use Emacs macros from build system
 


More information about the scm-commits mailing list