[lua-sql] 2.3.0, lua 5.2

Tom Callaway spot at fedoraproject.org
Mon May 13 12:30:15 UTC 2013


commit a66d40f4e425ad8f019046816f182b89c500f6ea
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Mon May 13 08:29:40 2013 -0400

    2.3.0, lua 5.2

 .gitignore   |    1 +
 lua-sql.spec |   17 ++++++++++-------
 sources      |    2 +-
 3 files changed, 12 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 889164f..a80019a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 luasql-2.1.1.tar.gz
 /luasql-2.2.0.tar.gz
+/lua-sql-2.3.0-c527024.tar.gz
diff --git a/lua-sql.spec b/lua-sql.spec
index 7e14e6f..f72f88c 100644
--- a/lua-sql.spec
+++ b/lua-sql.spec
@@ -1,17 +1,18 @@
-%define luaver 5.1
+%define luaver 5.2
 %define lualibdir %{_libdir}/lua/%{luaver}
 %define luapkgdir %{_datadir}/lua/%{luaver}
+%global commit c5270246408557791c6784db0ed2ee2cf32adee9
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
 
 Name:           lua-sql
-Version:        2.2.0
-Release:        5%{?dist}
+Version:        2.3.0
+Release:        1%{?dist}
 Summary:        Database connectivity for the Lua programming language
 
 Group:          Development/Libraries
 License:        MIT
 URL:            http://www.keplerproject.org/luasql/
-Source0:        https://github.com/downloads/keplerproject/luasql/luasql-2.2.0.tar.gz
-Patch0:         lua-sql-2.2.0-fedora.patch
+Source0:        https://github.com/keplerproject/luasql/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  lua >= %{luaver}, lua-devel >= %{luaver}
@@ -64,8 +65,7 @@ to PostgreSQL databases.
 
 
 %prep
-%setup -q -n luasql-%{version}
-%patch0 -p1 -b .fedora
+%setup -q -n luasql-%{commit}
 
 
 %build
@@ -110,6 +110,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon May 13 2013 Tom Callaway <spot at fedoraproject.org> - 2.3.0-1
+- update to 2.3.0
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.2.0-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index bfc4152..393c45f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-59d72db444c6369c936d4f03694db6b7  luasql-2.2.0.tar.gz
+af3bc093289178f8ab36b0e9cdac5c46  lua-sql-2.3.0-c527024.tar.gz


More information about the scm-commits mailing list