[lua-json] 1.2.2

Tom Callaway spot at fedoraproject.org
Thu Mar 22 20:29:18 UTC 2012


commit aa5112f7bdeadb04068239237c143291832df330
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Thu Mar 22 16:29:15 2012 -0400

    1.2.2

 .gitignore    |    1 +
 lua-json.spec |   25 ++++++-------------------
 sources       |    2 +-
 3 files changed, 8 insertions(+), 20 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2f6b776..eed4203 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 luajson-1.0.tar.bz2
+/luajson-1.2.2.tar.bz2
diff --git a/lua-json.spec b/lua-json.spec
index f3d2e60..37c9d75 100644
--- a/lua-json.spec
+++ b/lua-json.spec
@@ -2,57 +2,44 @@
 %define luapkgdir %{_datadir}/lua/%{luaver}
 
 Name:           lua-json
-Version:        1.0
-Release:        3%{?dist}
+Version:        1.2.2
+Release:        1%{?dist}
 Summary:        JSON Parser/Constructor for Lua
-
 Group:          Development/Libraries
 License:        MIT
 URL:            http://luaforge.net/projects/luajson/
-Source0:        http://luaforge.net/frs/download.php/4105/luajson-%{version}.tar.bz2
-BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
-
+Source0:        http://files.luaforge.net/releases/luajson/luajson/%{version}/luajson-%{version}.tar.bz2
 BuildRequires:  lua >= %{luaver}, lua-lpeg >= 0.8.1
 # for checks
 BuildRequires:  lua-filesystem >= 1.4.1, lua-lunit >= 0.4
 Requires:       lua >= %{luaver}, lua-lpeg >= 0.8.1
-
 BuildArch:      noarch
 
 %description
 LuaJSON is a customizable JSON decoder/encoder, using LPEG for parsing.
 
-
 %prep
 %setup -q -n luajson-%{version}
 
-
 %build
 
-
 %install
-rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT%{luapkgdir}
 cp -pr lua/* $RPM_BUILD_ROOT%{luapkgdir}
 
-
 %check
 make check-regression
 make check-unit | tee testlog.txt
 grep -q "0 failed, 0 errors" testlog.txt
 
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc LICENSE docs/LuaJSON.txt docs/ReleaseNotes-1.0.txt
 %{luapkgdir}/*
 
-
 %changelog
+* Thu Mar 22 2012 Tom Callaway <spot at fedoraproject.org> - 1.2.2-1
+- update to 1.2.2
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index c688784..3ecd18e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0e3ee192f93d40c4947e828668828e91  luajson-1.0.tar.bz2
+6b2768c4a2b102bf36308c722de4060a  luajson-1.2.2.tar.bz2


More information about the scm-commits mailing list