[lua-moonscript] Update to 0.2.3

Michel Alexandre Salim salimma at fedoraproject.org
Mon Feb 11 04:51:57 UTC 2013


commit 63d61c12b1361b5c2ff1f8981b4f2a6d2582e7db
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date:   Mon Feb 11 11:51:26 2013 +0700

    Update to 0.2.3

 .gitignore          |    2 +-
 lua-moonscript.spec |   17 +++++++++--------
 sources             |    2 +-
 3 files changed, 11 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c677309..9f371b7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/moonscript-0.2.0.tar.xz
+/v0.2.3-2.tar.gz
diff --git a/lua-moonscript.spec b/lua-moonscript.spec
index 661d6ee..d826ab0 100644
--- a/lua-moonscript.spec
+++ b/lua-moonscript.spec
@@ -1,19 +1,17 @@
 %global luaver 5.1
 %global luapkgdir %{_datadir}/lua/%{luaver}
 
+%global src_suffix -2
+
 Name:           lua-moonscript
-Version:        0.2.0
-Release:        2%{?dist}
+Version:        0.2.3
+Release:        1%{?dist}
 Summary:        A little language that compiles to Lua
 
 # license text part of README.md
 License:        MIT
 URL:            http://moonscript.org/
-# Source only available from Git; instructions below
-# git clone git://github.com/leafo/moonscript.git
-# (cd moonscript && git archive --format=tar --prefix=moonscript-%%{version}/ \
-#  v%%{version} | xz - ) > moonscript-%%{version}.tar.xz
-Source0:        moonscript-%{version}.tar.xz
+Source0:        https://github.com/leafo/moonscript/archive/v%{version}%{src_suffix}.tar.gz
 
 BuildArch:      noarch
 BuildRequires:  lua >= %{luaver}
@@ -47,7 +45,7 @@ command line, like any first-class scripting language.
 
 
 %prep
-%setup -q -n moonscript-%{version}
+%setup -q -n moonscript-%{version}%{src_suffix}
 
 
 %build
@@ -74,6 +72,9 @@ lua test.lua
 
 
 %changelog
+* Mon Feb 11 2013 Michel Salim <salimma at fedoraproject.org> - 0.2.3-1
+- Update to 0.2.3
+
 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 6b1ccd3..3682408 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1514ce7cde86b4dc9bc398619f3095ce  moonscript-0.2.0.tar.xz
+e3e598f0f693c5702d7645fe0713124e  v0.2.3-2.tar.gz


More information about the scm-commits mailing list