1 Commits

Author SHA256 Message Date
f5e8f92060 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.
2025-07-25 22:09:30 +02:00
5 changed files with 25 additions and 10 deletions

4
.gitignore vendored
View File

@@ -1 +1,5 @@
.osc
_scmsync.obsinfo
_buildconfig-*
_buildinfo-*.xml
lua-luadbi-*-build/

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
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>

View File

@@ -18,7 +18,7 @@
%define flavor @BUILD_FLAVOR@
%define mod_name luadbi
Version: 0.7.3
Version: 0.7.4
Release: 0
Summary: A database interface library for Lua
License: MIT
@@ -57,17 +57,18 @@ 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
# doesnt 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

View File

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

BIN
luadbi-0.7.4.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.