[lua-coxpcall] 1.15.0, lua 5.3

Tom Callaway spot at fedoraproject.org
Fri Jan 16 17:34:18 UTC 2015


commit d3d5e58fd3749b2ee1d32a65b57a75dd49e39a72
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Fri Jan 16 12:34:42 2015 -0500

    1.15.0, lua 5.3

 .gitignore                |    1 +
 coxpcall-1.14.0-git.patch |  180 ---------------------------------------------
 lua-coxpcall.spec         |   20 +++---
 sources                   |    2 +-
 4 files changed, 12 insertions(+), 191 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3e2e0c2..b986369 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
 /coxpcall-1.13.0.tar.gz
 /*.src.rpm
 /noarch
+/coxpcall-1.15.0.tar.gz
diff --git a/lua-coxpcall.spec b/lua-coxpcall.spec
index 4cabffe..b407d1b 100644
--- a/lua-coxpcall.spec
+++ b/lua-coxpcall.spec
@@ -1,20 +1,17 @@
-%define luaver 5.2
+%define luaver 5.3
 %define lualibdir %{_libdir}/lua/%{luaver}
 %define luapkgdir %{_datadir}/lua/%{luaver}
-%global baseversion 1.13.0
+%global commit 38d64f04f6134496da0b6b393eae3e480607b448
 
 Name:           lua-coxpcall
-Version:        1.14.0
-Release:        3%{?dist}
+Version:        1.15.0
+Release:        1%{?dist}
 Summary:        Coroutine safe xpcall and pcall versions for Lua
 
 Group:          Development/Libraries
 License:        MIT
 URL:            http://coxpcall.luaforge.net/
-Source0:        http://luaforge.net/frs/download.php/3406/coxpcall-%{baseversion}.tar.gz
-# Update to 1.14.0 in git
-# https://github.com/keplerproject/coxpcall
-Patch0:		coxpcall-1.14.0-git.patch
+Source0:        https://github.com/keplerproject/coxpcall/archive/%{commit}/coxpcall-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
@@ -29,8 +26,7 @@ Using Coxpcall usually consists in simply loading the module and then
 replacing Lua pcall and xpcall by copcall and coxpcall.
 
 %prep
-%setup -q -n coxpcall-%{baseversion}
-%patch0 -p1 -b .git
+%setup -q -n coxpcall-%{commit}
 
 
 %build
@@ -53,6 +49,10 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Fri Jan 16 2015 Tom Callaway <spot at fedoraproject.org> - 1.15.0-1
+- update to 1.15.0
+- rebuild for lua 5.3
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.14.0-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
diff --git a/sources b/sources
index f1c264e..e5e8929 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d3e0554dc426a7a24e372780b3dd5fe6  coxpcall-1.13.0.tar.gz
+b926908a2467776b6d66249db4e8f59a  coxpcall-1.15.0.tar.gz


More information about the scm-commits mailing list