diff --git a/docs/index.html b/docs/index.html
index 99d9dbc..04c469a 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -71,7 +71,7 @@
Overview
Status
-Current version is 1.4.1. It was developed for Lua 5.1 to Lua 5.4, and has been tested on
+
Current version is 1.5.0. It was developed for Lua 5.1 to Lua 5.4, and has been tested on
Linux and MacOS X with Expat 2.4.0+.
Download
@@ -89,7 +89,7 @@ Download
History
- - Version 1.5.0 [unreleased]
+ - Version 1.5.0 [26/Aug/2022]
-
- warning: this update requires a minimum libExpat
diff --git a/luaexpat-scm-1.rockspec b/luaexpat-scm-1.rockspec
index 2b30708..a75b099 100644
--- a/luaexpat-scm-1.rockspec
+++ b/luaexpat-scm-1.rockspec
@@ -3,7 +3,6 @@ local package_version = "scm"
local rockspec_revision = "1"
local github_account_name = "lunarmodules"
local github_repo_name = package_name
-local git_checkout = package_version == "scm" and "master" or package_version
package = package_name
@@ -11,7 +10,8 @@ version = package_version .. "-" .. rockspec_revision
source = {
url = "git+https://github.com/"..github_account_name.."/"..github_repo_name..".git",
- branch = git_checkout
+ branch = (package_version == "scm") and "master" or nil,
+ tag = (package_version ~= "scm") and package_version or nil,
}
description = {
diff --git a/rockspecs/luaexpat-1.5.0-1.rockspec b/rockspecs/luaexpat-1.5.0-1.rockspec
new file mode 100644
index 0000000..3c33b95
--- /dev/null
+++ b/rockspecs/luaexpat-1.5.0-1.rockspec
@@ -0,0 +1,51 @@
+local package_name = "luaexpat"
+local package_version = "1.5.0"
+local rockspec_revision = "1"
+local github_account_name = "lunarmodules"
+local github_repo_name = package_name
+
+
+package = package_name
+version = package_version .. "-" .. rockspec_revision
+
+source = {
+ url = "git+https://github.com/"..github_account_name.."/"..github_repo_name..".git",
+ branch = (package_version == "scm") and "master" or nil,
+ tag = (package_version ~= "scm") and package_version or nil,
+}
+
+description = {
+ summary = "XML Expat parsing",
+ detailed = [[
+ LuaExpat is a SAX (Simple API for XML) XML parser based on the
+ Expat library.
+ ]],
+ license = "MIT/X11",
+ homepage = "https://"..github_account_name..".github.io/"..github_repo_name,
+}
+
+dependencies = {
+ "lua >= 5.1"
+}
+
+external_dependencies = {
+ EXPAT = {
+ header = "expat.h"
+ }
+}
+
+build = {
+ type = "builtin",
+ modules = {
+ lxp = {
+ sources = { "src/lxplib.c" },
+ libraries = { "expat" },
+ incdirs = { "$(EXPAT_INCDIR)", "src/" },
+ libdirs = { "$(EXPAT_LIBDIR)" },
+ },
+ ["lxp.lom"] = "src/lxp/lom.lua",
+ ["lxp.totable"] = "src/lxp/totable.lua",
+ ["lxp.threat"] = "src/lxp/threat.lua",
+ },
+ copy_directories = { "docs" }
+}
diff --git a/src/lxplib.h b/src/lxplib.h
index 3846f3d..bd7f4ab 100644
--- a/src/lxplib.h
+++ b/src/lxplib.h
@@ -3,7 +3,7 @@
*/
#define LuaExpatCopyright "Copyright (C) 2003-2007 The Kepler Project, 2013-2022 Matthew Wild"
-#define LuaExpatVersion "LuaExpat 1.4.1"
+#define LuaExpatVersion "LuaExpat 1.5.0"
#define ParserType "Expat"
#define StartCdataKey "StartCdataSection"