aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorMark Pulford <mark@kyne.com.au>2011-12-15 19:04:55 +1030
committerMark Pulford <mark@kyne.com.au>2011-12-15 19:04:55 +1030
commit1d8eba4368aa53ad5e534b68873d24b3ee69cc51 (patch)
treeb89337163d96a0f48e0eda487ef36aa48e1cc1cd /lua
parent353784724505b23539aa693bd2aed3932493ed62 (diff)
downloadlua-cjson-1d8eba4368aa53ad5e534b68873d24b3ee69cc51.tar.gz
lua-cjson-1d8eba4368aa53ad5e534b68873d24b3ee69cc51.tar.bz2
lua-cjson-1d8eba4368aa53ad5e534b68873d24b3ee69cc51.zip
Automate package releases with build-packages.sh
build-packages.sh has several advantages: - Automatically bumps version numbers - Builds HTML documentation on the fly
Diffstat (limited to '')
-rw-r--r--lua-cjson-1.0devel-1.rockspec (renamed from lua-cjson-1.0.4-1.rockspec)4
-rw-r--r--lua-cjson.spec4
-rw-r--r--lua_cjson.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/lua-cjson-1.0.4-1.rockspec b/lua-cjson-1.0devel-1.rockspec
index ee287b5..8df0658 100644
--- a/lua-cjson-1.0.4-1.rockspec
+++ b/lua-cjson-1.0devel-1.rockspec
@@ -1,8 +1,8 @@
1package = "lua-cjson" 1package = "lua-cjson"
2version = "1.0.4-1" 2version = "1.0devel-1"
3 3
4source = { 4source = {
5 url = "http://www.kyne.com.au/~mark/software/lua-cjson-1.0.4.zip", 5 url = "http://www.kyne.com.au/~mark/software/lua-cjson-1.0devel.zip",
6} 6}
7 7
8description = { 8description = {
diff --git a/lua-cjson.spec b/lua-cjson.spec
index c446bfb..0f7fe9a 100644
--- a/lua-cjson.spec
+++ b/lua-cjson.spec
@@ -2,7 +2,7 @@
2%define lualibdir %{_libdir}/lua/%{luaver} 2%define lualibdir %{_libdir}/lua/%{luaver}
3 3
4Name: lua-cjson 4Name: lua-cjson
5Version: 1.0.4 5Version: 1.0devel
6Release: 1%{?dist} 6Release: 1%{?dist}
7Summary: JSON support for the Lua language 7Summary: JSON support for the Lua language
8 8
@@ -39,7 +39,7 @@ rm -rf "$RPM_BUILD_ROOT"
39 39
40%files 40%files
41%defattr(-,root,root,-) 41%defattr(-,root,root,-)
42%doc LICENSE NEWS performance.txt manual.txt rfc4627.txt tests THANKS TODO 42%doc LICENSE NEWS performance.txt manual.html manual.txt rfc4627.txt tests THANKS TODO
43%{lualibdir}/* 43%{lualibdir}/*
44 44
45 45
diff --git a/lua_cjson.c b/lua_cjson.c
index 24fb13d..b3c816d 100644
--- a/lua_cjson.c
+++ b/lua_cjson.c
@@ -45,7 +45,7 @@
45#include "strbuf.h" 45#include "strbuf.h"
46 46
47#ifndef CJSON_VERSION 47#ifndef CJSON_VERSION
48#define CJSON_VERSION "1.0.4" 48#define CJSON_VERSION "1.0devel"
49#endif 49#endif
50 50
51/* Support to reset locale to POSIX for strtod() / sprintf(). 51/* Support to reset locale to POSIX for strtod() / sprintf().