[lua-wsapi] 1.5 for lua 5.2

Tom Callaway spot at fedoraproject.org
Mon May 13 12:39:33 UTC 2013


commit 7a5866f7c0f54494df6ebbcc432e7d4a43d03a5d
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Mon May 13 08:39:07 2013 -0400

    1.5 for lua 5.2

 .gitignore     |    1 +
 lua-wsapi.spec |   15 ++++++++++-----
 sources        |    2 +-
 3 files changed, 12 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6bab249..b4f020e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
 /.build*
 /*.src.rpm
 /noarch
+/lua-wsapi-1.5-6b35861.tar.gz
diff --git a/lua-wsapi.spec b/lua-wsapi.spec
index f9aeb86..72868ad 100644
--- a/lua-wsapi.spec
+++ b/lua-wsapi.spec
@@ -1,16 +1,18 @@
-%define luaver 5.1
+%define luaver 5.2
 %define lualibdir %{_libdir}/lua/%{luaver}
 %define luapkgdir %{_datadir}/lua/%{luaver}
+%global commit 6b358619032b1a7f0432ae56a2a9504738b2f953
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
 
 Name:           lua-wsapi
-Version:        1.3.4
-Release:        7%{?dist}
+Version:        1.5
+Release:        1.git%{shortcommit}%{?dist}
 Summary:        Lua Web Server API
 
 Group:          Development/Libraries
 License:        MIT
 URL:            http://keplerproject.github.com/wsapi/
-Source0:        http://github.com/downloads/keplerproject/wsapi/wsapi-%{version}.tar.gz
+Source0:        https://github.com/keplerproject/wsapi/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
@@ -35,7 +37,7 @@ Python's WSGI (PEP 333). It's not a direct clone of either of them, though,
 and tries to follow standard Lua idioms.
 
 %prep
-%setup -q -n wsapi-%{version}
+%setup -q -n wsapi-%{commit}
 
 
 %build
@@ -63,6 +65,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Mon May 13 2013 Tom Callaway <spot at fedoraproject.org> - 1.5-1.git6b35861
+- update to 1.5 (git trunk) for lua 5.2
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3.4-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index 7cbd7eb..6af4ff6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e8a0e5cc274f19caad1523e40f5327c6  wsapi-1.3.4.tar.gz
+e52c52ccb2f7291b801805fc1b25260d  lua-wsapi-1.5-6b35861.tar.gz


More information about the scm-commits mailing list