17
0

4 Commits

4 changed files with 22 additions and 11 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:634827d54de6216cb0502d14f76610788b3a3e33160e91d5578d6db0d9a34a20
size 869217

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ca2c2122b909529bf9d1a89e9a5763835a2bd2629def8cb279c550f638f0a78f
size 892502

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Nov 4 18:45:19 UTC 2025 - Илья Индиго <ilya@ilya.top>
- Updated to 0.10.29
* https://github.com/openresty/lua-nginx-module/compare/v0.10.28...v0.10.29
-------------------------------------------------------------------
Wed Oct 29 10:27:36 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Switched to build using LuaJIT packages (bsc#1252340).
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jan 18 09:32:11 UTC 2025 - Илья Индиго <ilya@ilya.top> Sat Jan 18 09:32:11 UTC 2025 - Илья Индиго <ilya@ilya.top>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package nginx-module-lua # spec file for package nginx-module-lua
# #
# Copyright (c) 2025 SUSE LLC # Copyright (c) 2025 SUSE LLC and contributors
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -19,22 +19,23 @@
%define project_name lua-nginx-module %define project_name lua-nginx-module
%define so_name ngx_http_lua_module.so %define so_name ngx_http_lua_module.so
Name: nginx-module-lua Name: nginx-module-lua
Version: 0.10.28 Version: 0.10.29
Release: 0 Release: 0
Summary: Embed the power of Lua into Nginx HTTP Servers Summary: Embed the power of Lua into Nginx HTTP Servers
License: BSD-2-Clause License: BSD-2-Clause
Group: Productivity/Networking/Web/Proxy Group: Productivity/Networking/Web/Proxy
URL: https://github.com/openresty/%{project_name} URL: https://github.com/openresty/%{project_name}
Source0: https://github.com/openresty/%{project_name}/archive/refs/tags/v%{version}.tar.gz#/%{project_name}-%{version}.tar.gz Source0: https://github.com/openresty/%{project_name}/archive/refs/tags/v%{version}.tar.gz#/%{project_name}-%{version}.tar.gz
BuildRequires: lua-macros
BuildRequires: nginx-source BuildRequires: nginx-source
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: pkgconfig(luajit2) BuildRequires: pkgconfig(luajit) >= 2.1.1756211046
Requires: lua-resty-core Requires: lua-resty-core
Requires: lua-resty-lrucache Requires: lua-resty-lrucache
Recommends: lua-resty-mysql Recommends: lua-resty-mysql
Recommends: lua-resty-redis Recommends: lua-resty-redis
Recommends: lua51-cjson Recommends: luajit
Recommends: luajit2 Recommends: luajit-cjson
%{ngx_conditionals} %{ngx_conditionals}
%{ngx_requires} %{ngx_requires}
@@ -48,9 +49,8 @@ tar -xzf %{SOURCE0} --strip-components=1 -C %{project_name}
cp -r %{_prefix}/src/nginx . cp -r %{_prefix}/src/nginx .
%build %build
export LUAJIT_INC=%{_includedir}/luajit2-2.1 export LUAJIT_INC=%{lua_incdir}
export LUAJIT_LIB=%{_libdir} export LUAJIT_LIB=%{_libdir}/%(pkgconf --variable=libname luajit).so
sed -i s/luajit-5.1/luajit2-5.1/g %{project_name}/config
cd nginx cd nginx
%{ngx_configure} --add-dynamic-module=../%{project_name} %{ngx_configure} --add-dynamic-module=../%{project_name}
%make_build modules %make_build modules