From d6b3f9ceb6c73121d9fa52bf66b7cfa59b611680 Mon Sep 17 00:00:00 2001 From: Mark Pulford Date: Sun, 27 Nov 2011 18:53:22 +1030 Subject: Update version to 1.0.4 --- Makefile | 2 +- README | 6 +++--- lua-cjson-1.0.3-1.rockspec | 37 ------------------------------------- lua-cjson-1.0.4-1.rockspec | 37 +++++++++++++++++++++++++++++++++++++ lua-cjson.spec | 5 ++++- 5 files changed, 45 insertions(+), 42 deletions(-) delete mode 100644 lua-cjson-1.0.3-1.rockspec create mode 100644 lua-cjson-1.0.4-1.rockspec diff --git a/Makefile b/Makefile index 082c720..10e0ba1 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -CJSON_VERSION = 1.0.3 +CJSON_VERSION = 1.0.4 LUA_VERSION = 5.1 # See http://lua-users.org/wiki/BuildingModules for platform specific diff --git a/README b/README index f863d73..e2e8dbc 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -Lua CJSON v1.0.3 +Lua CJSON v1.0.4 ================ Lua CJSON is covered by the MIT license. See the file "LICENSE" for @@ -65,7 +65,7 @@ RPM-based Linux distributions should be able to create a package using the included RPM spec file. Install the "rpm-build" package, or similar, then: - # rpmbuild -tb lua-cjson-1.0.3.tar.gz + # rpmbuild -tb lua-cjson-1.0.4.tar.gz LuaRocks @@ -76,7 +76,7 @@ modules on a wide range of platforms (including Windows). Extract the Lua CJSON source package into a directory and run: - # cd lua-cjson-1.0.3; luarocks make + # cd lua-cjson-1.0.4; luarocks make See the LuaRocks documentation for further details. diff --git a/lua-cjson-1.0.3-1.rockspec b/lua-cjson-1.0.3-1.rockspec deleted file mode 100644 index 28514e1..0000000 --- a/lua-cjson-1.0.3-1.rockspec +++ /dev/null @@ -1,37 +0,0 @@ -package = "lua-cjson" -version = "1.0.3-1" - -source = { - url = "http://www.kyne.com.au/~mark/software/lua-cjson-1.0.3.zip", -} - -description = { - summary = "Fast JSON encoding/parsing support for Lua", - detailed = [[ - Lua CJSON provides fast UTF-8 JSON parsing/encoding support for Lua, - and has no external dependencies. - ]], - homepage = "http://www.kyne.com.au/~mark/software/lua-cjson.php", - license = "MIT" -} - -dependencies = { - "lua >= 5.1" -} - -build = { - type = "builtin", - modules = { - cjson = { - sources = { "lua_cjson.c", "strbuf.c" }, --- Optional workarounds: --- USE_POSIX_USELOCALE: Linux, OSX. Thread safe. Recommended. --- USE_POSIX_SETLOCALE: Works on all ANSI C platforms. May be used when --- thread-safety isn't required. --- USE_INTERNAL_ISINF: Provide internal isinf() implementation. Required --- on some Solaris platforms. - defines = { "VERSION=\"1.0.3\"", "USE_POSIX_SETLOCALE" } - } - }, - copy_directories = { "tests" } -} diff --git a/lua-cjson-1.0.4-1.rockspec b/lua-cjson-1.0.4-1.rockspec new file mode 100644 index 0000000..b08032b --- /dev/null +++ b/lua-cjson-1.0.4-1.rockspec @@ -0,0 +1,37 @@ +package = "lua-cjson" +version = "1.0.4-1" + +source = { + url = "http://www.kyne.com.au/~mark/software/lua-cjson-1.0.4.zip", +} + +description = { + summary = "Fast JSON encoding/parsing support for Lua", + detailed = [[ + Lua CJSON provides fast UTF-8 JSON parsing/encoding support for Lua, + and has no external dependencies. + ]], + homepage = "http://www.kyne.com.au/~mark/software/lua-cjson.php", + license = "MIT" +} + +dependencies = { + "lua >= 5.1" +} + +build = { + type = "builtin", + modules = { + cjson = { + sources = { "lua_cjson.c", "strbuf.c" }, +-- Optional workarounds: +-- USE_POSIX_USELOCALE: Linux, OSX. Thread safe. Recommended. +-- USE_POSIX_SETLOCALE: Works on all ANSI C platforms. May be used when +-- thread-safety isn't required. +-- USE_INTERNAL_ISINF: Provide internal isinf() implementation. Required +-- on some Solaris platforms. + defines = { "VERSION=\"1.0.4\"", "USE_POSIX_SETLOCALE" } + } + }, + copy_directories = { "tests" } +} diff --git a/lua-cjson.spec b/lua-cjson.spec index 075f461..ca502b3 100644 --- a/lua-cjson.spec +++ b/lua-cjson.spec @@ -2,7 +2,7 @@ %define lualibdir %{_libdir}/lua/%{luaver} Name: lua-cjson -Version: 1.0.3 +Version: 1.0.4 Release: 1%{?dist} Summary: JSON support for the Lua language @@ -43,6 +43,9 @@ rm -rf "$RPM_BUILD_ROOT" %changelog +* Wed Nov 27 2011 Mark Pulford - 1.0.4-1 +- Updated for 1.0.4 + * Wed Sep 15 2011 Mark Pulford - 1.0.3-1 - Updated for 1.0.3 -- cgit v1.2.3-55-g6feb