SHA256
10
0
forked from pool/lua-luadbi

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
This commit is contained in:
2024-10-07 19:48:56 +00:00
committed by Git OBS Bridge
5 changed files with 27 additions and 10 deletions

View File

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

View File

@@ -18,14 +18,15 @@
%define flavor @BUILD_FLAVOR@
%define mod_name luadbi
Version: 0.7.2
Version: 0.7.3
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
@@ -35,7 +36,7 @@ BuildRequires: postgresql-devel
BuildRequires: postgresql-server-devel
BuildRequires: sqlite3-devel
Requires: %{flavor}
%lua_provides
# %%lua_provides
%if "%{flavor}" == ""
Name: lua-%{mod_name}
ExclusiveArch: do_not_build
@@ -70,7 +71,7 @@ make install_free DESTDIR=%{buildroot} LUA_LDIR=%{lua_noarchdir} LUA_CDIR=%{lua_
%check
# run tests
lua%lua_version %{SOURCE50} "%{buildroot}"
lua%{lua_version} %{SOURCE50} %{buildroot}
%files
%license COPYING

View File

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

3
luadbi-0.7.3.tar.gz Normal file
View File

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

View File

@@ -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>
/*
/*