diff options
author | Mark Pulford <mark@kyne.com.au> | 2011-12-15 19:04:55 +1030 |
---|---|---|
committer | Mark Pulford <mark@kyne.com.au> | 2011-12-15 19:04:55 +1030 |
commit | 1d8eba4368aa53ad5e534b68873d24b3ee69cc51 (patch) | |
tree | b89337163d96a0f48e0eda487ef36aa48e1cc1cd /lua | |
parent | 353784724505b23539aa693bd2aed3932493ed62 (diff) | |
download | lua-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.spec | 4 | ||||
-rw-r--r-- | lua_cjson.c | 2 |
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 @@ | |||
1 | package = "lua-cjson" | 1 | package = "lua-cjson" |
2 | version = "1.0.4-1" | 2 | version = "1.0devel-1" |
3 | 3 | ||
4 | source = { | 4 | source = { |
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 | ||
8 | description = { | 8 | description = { |
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 | ||
4 | Name: lua-cjson | 4 | Name: lua-cjson |
5 | Version: 1.0.4 | 5 | Version: 1.0devel |
6 | Release: 1%{?dist} | 6 | Release: 1%{?dist} |
7 | Summary: JSON support for the Lua language | 7 | Summary: 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(). |