forked from pool/lua-luadbi
Compare commits
11 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
|
ff15d59a33
|
|||
|
02dcc34fc6
|
|||
|
6806cbf6cd
|
|||
|
3d520bad5b
|
|||
|
4a600b1c32
|
|||
|
1c97be71e5
|
|||
|
3c96f414c4
|
|||
| 8b773eb6ae | |||
| f20f0cdb2f | |||
| 4f9359d5b8 | |||
| 7470c03467 |
4
.gitignore
vendored
4
.gitignore
vendored
@@ -1 +1,5 @@
|
||||
.osc
|
||||
_scmsync.obsinfo
|
||||
_buildconfig-*
|
||||
_buildinfo-*.xml
|
||||
lua-luadbi-*-build/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<multibuild>
|
||||
<package>lua51</package>
|
||||
<package>luajit</package>
|
||||
<package>lua53</package>
|
||||
<package>lua54</package>
|
||||
</multibuild>
|
||||
|
||||
@@ -1,3 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 6 10:49:47 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Update to 0.7.5:
|
||||
- Allow selecting values containing NUL byte
|
||||
- Fixed overflow when retreving integer values larger than
|
||||
2^31-1 in SQLite3
|
||||
- Connections and Statements are now capable objects in Lua 5.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 4 13:09:09 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Use new lua-macros to Obsoletes: lua51-luadbi.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 24 14:49:00 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Switch off building lua51 build of the package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 12 00:38:29 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Make the package buildable with LuaJIT.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 25 19:54:10 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Upgrade to 0.7.4:
|
||||
- Add missing braces around initializer
|
||||
- Unbreak building against MariaDB 5.5
|
||||
- Avoid incompatible pointer type error on x86 (32 bit)
|
||||
- New driver for DuckDB. Largely untested and should be
|
||||
considered expiremental at this time.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 3 15:12:49 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Update to 0.7.3:
|
||||
- oracle column name bugfix
|
||||
- [travis] fix mysql grant error
|
||||
- Don't break SQLite 3.6.20 as shipped in RHEL/CentOS 6
|
||||
- dbd/mysql/statement.c: fix compilation with mysql-8
|
||||
- Issue 56: Remove useless setting of is_null
|
||||
- Issue-66: dbd/mysql/statement.c: return nil for NULL
|
||||
- Attempt to provide partial fix for Issue #64.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 22 09:57:57 UTC 2024 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
|
||||
@@ -18,14 +18,15 @@
|
||||
|
||||
%define flavor @BUILD_FLAVOR@
|
||||
%define mod_name luadbi
|
||||
Version: 0.7.2
|
||||
Version: 0.7.5
|
||||
Release: 0
|
||||
Summary: A database interface library for Lua
|
||||
License: MIT
|
||||
Group: Productivity/Databases/Tools
|
||||
URL: https://github.com/mwild1/luadbi
|
||||
Source0: https://github.com/mwild1/%{mod_name}/archive/refs/tags/v%{version}.tar.gz#/%{mod_name}-%{version}.tar.gz
|
||||
# Formely found on code.google.com
|
||||
Source: luadbi-%{version}.tar.gz
|
||||
Source1: luadbi-%{version}.tar.gz
|
||||
Source50: tests-modules-load.lua
|
||||
# PATCH-FIX-UPSTREAM marguerite@opensuse.org - fix postgresql headers' path
|
||||
Patch0: luadbi-postgresql-headers.patch
|
||||
@@ -56,21 +57,22 @@ Oracle.
|
||||
%prep
|
||||
%autosetup -p1 -n luadbi-%{version}
|
||||
|
||||
sed -i \
|
||||
-e 's:-g -pedantic -Wall -O2:%{optflags} -fPIC -I%{lua_incdir}:g' \
|
||||
Makefile
|
||||
|
||||
%build
|
||||
%make_build LIBDIR=%{_libdir}
|
||||
# We have to list targets specifically, because openSUSE still
|
||||
# doesn’t have support for DuckDB
|
||||
%make_build LIBDIR=%{_libdir} LUA_INC="-I%{lua_incdir}" \
|
||||
COMMON_CFLAGS="%{optflags} -fPIC" \
|
||||
mysql psql sqlite3
|
||||
|
||||
%install
|
||||
install -d %{buildroot}%{lua_archdir}
|
||||
install -d %{buildroot}%{lua_noarchdir}
|
||||
make install_free DESTDIR=%{buildroot} LUA_LDIR=%{lua_noarchdir} LUA_CDIR=%{lua_archdir}
|
||||
make install_lua install_mysql install_psql install_sqlite3 \
|
||||
DESTDIR=%{buildroot} LUA_LDIR=%{lua_noarchdir} LUA_CDIR=%{lua_archdir}
|
||||
|
||||
%check
|
||||
# run tests
|
||||
lua%lua_version %{SOURCE50} "%{buildroot}"
|
||||
lua %{SOURCE50} %{buildroot}
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:05a7d02d0cae3970af24f72f39edfe717e39424927d07fbbc09ebe96ea02f5a6
|
||||
size 36462
|
||||
BIN
luadbi-0.7.5.tar.gz
LFS
Normal file
BIN
luadbi-0.7.5.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,8 +1,12 @@
|
||||
--- luadbi-0.7.2/dbd/postgresql/dbd_postgresql.h.orig 2019-01-14 12:39:17.000000000 +0300
|
||||
+++ luadbi-0.7.2/dbd/postgresql/dbd_postgresql.h 2020-10-04 08:26:13.372785212 +0300
|
||||
---
|
||||
dbd/postgresql/dbd_postgresql.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- a/dbd/postgresql/dbd_postgresql.h
|
||||
+++ b/dbd/postgresql/dbd_postgresql.h
|
||||
@@ -1,4 +1,4 @@
|
||||
-#include <libpq-fe.h>
|
||||
+#include <pgsql/libpq-fe.h>
|
||||
#include <dbd/common.h>
|
||||
|
||||
/*
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user