diff --git a/LuaJIT-2.1-20201027.tar.gz b/LuaJIT-2.1-20201027.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..665fe05b2eb633288f93a093c15effdc871e8c4e Binary files /dev/null and b/LuaJIT-2.1-20201027.tar.gz differ diff --git a/openresty.spec b/openresty.spec index 6623aa4ec3788a8bbd4bf4bd41c7e77296882748..bf0cef0a8665b273112d56d50faed7c06ac48b13 100644 --- a/openresty.spec +++ b/openresty.spec @@ -1,6 +1,6 @@ Name: openresty Version: 1.19.3.1 -Release: 2 +Release: 3 Summary: OpenResty, scalable web platform by extending NGINX with Lua Group: System Environment/Daemons @@ -18,6 +18,7 @@ Source0: https://openresty.org/download/openresty-%{version}.tar.gz Source1: openresty.service Source2: openresty.init +Source3: LuaJIT-2.1-20201027.tar.gz Patch1: 0001-add-option-out-dir-on-configure.patch @@ -223,6 +224,10 @@ a single box. %prep %setup -q -n "openresty-%{version}" +%ifarch loongarch64 +rm -rf bundle/LuaJIT-2.1-20201027 +tar -xf %{SOURCE3} -C bundle/ +%endif %patch1 -p1 @@ -443,6 +448,9 @@ fi %{orprefix_debug}/COPYRIGHT %changelog +* Thu Jan 5 2023 Wenlong Zhang 1.19.3.1-3 +- add loongarch support for openresty + * Mon Dec 13 2021 liweigang 1.19.3.1-2 - delete %dist