SHA256
10
0
forked from pool/lua-luadbi

23 Commits
devel ... main

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
f20f0cdb2f Accepting request 1205567 from devel:languages:lua
- 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.

OBS-URL: https://build.opensuse.org/request/show/1205567
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-luadbi?expand=0&rev=8
2024-10-07 19:48:56 +00:00
d7591f1539 Accepting request 1149143 from devel:languages:lua
- Use %autosetup macro. Allows to eliminate the usage of deprecated
  %patchN.

OBS-URL: https://build.opensuse.org/request/show/1149143
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-luadbi?expand=0&rev=7
2024-02-22 19:59:51 +00:00
35444842f9 - Use %autosetup macro. Allows to eliminate the usage of deprecated
%patchN.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luadbi?expand=0&rev=20
2024-02-22 09:58:10 +00:00
8de9f583d0 Accepting request 873536 from devel:languages:lua
OBS-URL: https://build.opensuse.org/request/show/873536
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-luadbi?expand=0&rev=6
2021-02-18 19:42:41 +00:00
6b1b1b6542 Accepting request 873476 from home:gmbr3:Lua
upd

OBS-URL: https://build.opensuse.org/request/show/873476
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luadbi?expand=0&rev=18
2021-02-18 18:22:39 +00:00
c818c41b2d Accepting request 840483 from devel:languages:lua
OBS-URL: https://build.opensuse.org/request/show/840483
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-luadbi?expand=0&rev=5
2020-10-10 17:03:56 +00:00
Matthias Mailänder
8960a80097 Accepting request 840348 from home:biserov:server
- updated for 0.7.2
- tests-modules-load.lua added

OBS-URL: https://build.opensuse.org/request/show/840348
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luadbi?expand=0&rev=16
2020-10-09 20:40:06 +00:00
0266d3f4ac Accepting request 819809 from devel:languages:lua
- Add lua54 as new build target

OBS-URL: https://build.opensuse.org/request/show/819809
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-luadbi?expand=0&rev=4
2020-07-15 12:58:17 +00:00
ccbfd4f71f Fix with spec-cleaner
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luadbi?expand=0&rev=14
2020-07-09 20:16:27 +00:00
d346894141 - Add lua54 as new build target
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luadbi?expand=0&rev=13
2020-07-06 19:04:38 +00:00
43f40fdf0c Accepting request 709395 from devel:languages:lua
- Fix build after the postgresql package gained two devel packages

OBS-URL: https://build.opensuse.org/request/show/709395
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-luadbi?expand=0&rev=3
2019-06-13 21:02:50 +00:00
Tomáš Chvátal
7c0382d611 - Fix build after the postgresql package gained two devel packages
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luadbi?expand=0&rev=11
2019-06-12 11:25:08 +00:00
ee0e870047 Accepting request 537623 from devel:languages:lua
drop lua5.2 from multibuild

OBS-URL: https://build.opensuse.org/request/show/537623
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-luadbi?expand=0&rev=2
2017-10-31 14:44:05 +00:00
Jan Matejek
ee2c654e7e drop support for lua 5.2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luadbi?expand=0&rev=9
2017-10-30 14:47:47 +00:00
5ae959e3e3 Accepting request 510444 from devel:languages:lua
Namespacing of lua (will need one staging)

OBS-URL: https://build.opensuse.org/request/show/510444
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-luadbi?expand=0&rev=1
2017-08-24 16:38:51 +00:00
Tomáš Chvátal
17ce6b24f9 Factoryauto name detection fix
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luadbi?expand=0&rev=7
2017-07-15 07:33:38 +00:00
Tomáš Chvátal
3942fa4361 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luadbi?expand=0&rev=6 2017-07-13 19:15:41 +00:00
Tomáš Chvátal
57689327d8 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luadbi?expand=0&rev=5 2017-07-13 19:14:27 +00:00
Tomáš Chvátal
8508f5b434 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luadbi?expand=0&rev=4 2017-07-13 19:10:15 +00:00
Tomáš Chvátal
71314b7350 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luadbi?expand=0&rev=3 2017-07-13 19:08:04 +00:00
Tomáš Chvátal
eb258cbc25 - Switch to multibuild layout to compile for all lua variants
- initial version 0.5
- add new patch: luadbi-postgresql-headers.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luadbi?expand=0&rev=2
2017-07-13 19:07:29 +00:00
Tomáš Chvátal
2100e93683 osc copypac from project:devel:languages:lua package:lua51-luadbi revision:1, using expand
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luadbi?expand=0&rev=1
2017-07-13 19:00:57 +00:00
6 changed files with 25 additions and 13 deletions

4
.gitignore vendored
View File

@@ -1 +1,5 @@
.osc .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> Thu Oct 3 15:12:49 UTC 2024 - Matej Cepl <mcepl@cepl.eu>

View File

@@ -18,7 +18,7 @@
%define flavor @BUILD_FLAVOR@ %define flavor @BUILD_FLAVOR@
%define mod_name luadbi %define mod_name luadbi
Version: 0.7.3 Version: 0.7.4
Release: 0 Release: 0
Summary: A database interface library for Lua Summary: A database interface library for Lua
License: MIT License: MIT
@@ -57,17 +57,18 @@ Oracle.
%prep %prep
%autosetup -p1 -n luadbi-%{version} %autosetup -p1 -n luadbi-%{version}
sed -i \
-e 's:-g -pedantic -Wall -O2:%{optflags} -fPIC -I%{lua_incdir}:g' \
Makefile
%build %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
install -d %{buildroot}%{lua_archdir} install -d %{buildroot}%{lua_archdir}
install -d %{buildroot}%{lua_noarchdir} 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 %check
# run tests # run tests

View File

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

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.