forked from pool/lua-resty-redis
Accepting request 1171864 from home:13ilya
Even after creating the perl-Test-Nginx package, the tests still don't run. You can run the pm file from the t directory as I did before, but it doesn't run the tests, it just does NOT return errors at the end of initialization. The make file specifies the following OPENRESTY_PREFIX=/usr/local/openresty .... test: all PATH=$(OPENRESTY_PREFIX)/nginx/sbin:$$PATH prove -I../test-nginx/lib -r t That is, I can NOT even override OPENRESTY_PREFIX, which is hardcoded and I have no idea where to get the test-nginx directory from. Apparently these tests are for internal testing only. If upstream writes how to run the tests properly, I'll add them, but it's better not to run them at all than to create the appearance of testing! In any case, tests for noarch with empty %build section are not necessary. I test them in a real environment with nginx-module-lua and I have lua-resty libraries working. OBS-URL: https://build.opensuse.org/request/show/1171864 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-resty-redis?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
3
lua-resty-redis-0.29.tar.gz
Normal file
3
lua-resty-redis-0.29.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3f602af507aacd1f7aaeddfe7b77627fcde095fe9f115cb9d6ad8de2a52520e1
|
||||
size 23588
|
4
lua-resty-redis.changes
Normal file
4
lua-resty-redis.changes
Normal file
@@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 1 02:11:25 UTC 2024 - Илья Индиго <ilya@ilya.top>
|
||||
|
||||
- Initialized 0.29.
|
47
lua-resty-redis.spec
Normal file
47
lua-resty-redis.spec
Normal file
@@ -0,0 +1,47 @@
|
||||
#
|
||||
# spec file for package lua-resty-redis
|
||||
#
|
||||
# Copyright (c) 2024 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-redis
|
||||
Version: 0.29
|
||||
Release: 0
|
||||
Summary: Lua redis client driver for the ngx_lua based on the cosocket API
|
||||
License: BSD-2-Clause
|
||||
URL: https://github.com/openresty/lua-resty-redis
|
||||
Source0: https://github.com/openresty/%{name}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: lua-macros
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
This Lua library is a Redis client driver for the ngx_lua nginx 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}/resty
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user