12
0
lua-resty-core/lua-resty-core.spec
Илья Индиго 03eac890c0 - Updated to 0.1.31.
* https://github.com/openresty/lua-resty-core/compare/v0.1.30...v0.1.31
  * Added function ngx.resp.set_status(status, reason).
  * Implemented decode_base64mime.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-resty-core?expand=0&rev=7
2025-01-18 10:30:08 +00:00

49 lines
1.5 KiB
RPMSpec

#
# spec file for package lua-resty-core
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define lua_version 5.1
Name: lua-resty-core
Version: 0.1.31
Release: 0
Summary: Lua API for ngx_http_lua_module and/or ngx_stream_lua_module
License: BSD-2-Clause
URL: https://github.com/openresty/lua-resty-core
Source0: https://github.com/openresty/%{name}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: lua-macros
BuildArch: noarch
%description
This pure Lua library reimplements part of the ngx_lua module's Nginx API for Lua with LuaJIT FFI
and installs the new FFI-based Lua API into the ngx.* and ndk.* namespaces used by the ngx_lua module.
%prep
%autosetup -p1
%build
%install
%make_install LUA_LIB_DIR=%{lua_noarchdir}
%files
%defattr(0644,root,root,-)
%doc README.markdown
%dir %{lua_noarchdir}
%{lua_noarchdir}/{ngx,resty}
%changelog