[emacs-lua] Update to latest stable release

Tim Niemueller timn at fedoraproject.org
Mon Jan 20 23:42:15 UTC 2014


commit 2061b010d886abc9f5bab6970ff57546134d1f6e
Author: Tim Niemueller <niemueller at kbsg.rwth-aachen.de>
Date:   Tue Jan 21 00:42:28 2014 +0100

    Update to latest stable release

 .gitignore     |    2 +-
 emacs-lua.spec |   15 +++++++++++----
 sources        |    2 +-
 3 files changed, 13 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 143b6f2..a58f38d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-lua-mode-20071122.tar.gz
+/immerrr-lua-mode-rel-20130419-0-g040bc8f.zip
diff --git a/emacs-lua.spec b/emacs-lua.spec
index d39dc6d..eddf98a 100644
--- a/emacs-lua.spec
+++ b/emacs-lua.spec
@@ -1,6 +1,8 @@
 
 %define pkg lua
 %define pkgname Lua major mode
+%define gitrev g040bc8f
+%define gitrev_dir 3ec8f27
 
 # If the emacs-el package has installed a pkgconfig file, use that to determine
 # install locations and Emacs version at build time, otherwise set defaults.
@@ -15,14 +17,16 @@
 %endif
 
 Name:           emacs-%{pkg}
-Version:        20071122
-Release:        12%{?dist}
+Version:        20130419
+# Omit gitrev here because it is actually a stable release,
+# but the only download URL is a zipball from github
+Release:        1%{?dist}
 Summary:        Lua major mode for GNU Emacs
 
 Group:          Applications/Editors
 License:        GPLv2+
 URL:            http://lua-mode.luaforge.net
-Source0:        http://luaforge.net/frs/download.php/2724/lua-mode-20071122.tar.gz
+Source0:        https://github.com/immerrr/lua-mode/zipball/rel-20130419/immerrr-lua-mode-rel-20130419-0-g040bc8f.zip
 Source1:        lua-init.el
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
@@ -46,7 +50,7 @@ under GNU Emacs. You do not need to install this package to run
 with GNU Emacs.
 
 %prep
-%setup -q -c
+%setup -q -n immerrr-lua-mode-%{gitrev_dir}
 
 
 %build
@@ -76,6 +80,9 @@ rm -rf $RPM_BUILD_ROOT
 %{emacs_lispdir}/lua-mode.el
 
 %changelog
+* Tue Jan 21 2014 Tim Niemueller <tim at niemueller.de> 20130419-1
+- Update to latest stable release, fixes bz #1006896
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 20071122-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index a8460a6..398f830 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8dab327eea4977ee47b1c0e85b6a6ad0  lua-mode-20071122.tar.gz
+1a7de56873e5a88ea2d29710fb01a36c  immerrr-lua-mode-rel-20130419-0-g040bc8f.zip


More information about the scm-commits mailing list