[lua-moonscript] lua 5.2

Tom Callaway spot at fedoraproject.org
Sun May 12 16:37:32 UTC 2013


commit 5954e6e09cc295370e6f01323b319b46355597a4
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Sun May 12 12:37:06 2013 -0400

    lua 5.2

 lua-moonscript.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/lua-moonscript.spec b/lua-moonscript.spec
index d826ab0..08da07f 100644
--- a/lua-moonscript.spec
+++ b/lua-moonscript.spec
@@ -1,17 +1,18 @@
-%global luaver 5.1
+%global luaver 5.2
 %global luapkgdir %{_datadir}/lua/%{luaver}
 
 %global src_suffix -2
 
 Name:           lua-moonscript
 Version:        0.2.3
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A little language that compiles to Lua
 
 # license text part of README.md
 License:        MIT
 URL:            http://moonscript.org/
 Source0:        https://github.com/leafo/moonscript/archive/v%{version}%{src_suffix}.tar.gz
+Patch0:		moonscript-0.2.3-2-lua-5.2.patch
 
 BuildArch:      noarch
 BuildRequires:  lua >= %{luaver}
@@ -46,7 +47,7 @@ command line, like any first-class scripting language.
 
 %prep
 %setup -q -n moonscript-%{version}%{src_suffix}
-
+%patch0 -p1 -b .lua-52
 
 %build
 
@@ -72,6 +73,9 @@ lua test.lua
 
 
 %changelog
+* Sun May 12 2013 Tom Callaway <spot at fedoraproject.org> - 0.2.3-2
+- rebuild for lua 5.2
+
 * Mon Feb 11 2013 Michel Salim <salimma at fedoraproject.org> - 0.2.3-1
 - Update to 0.2.3
 


More information about the scm-commits mailing list