commit lua-luadbi for openSUSE:Factory
Hello community, here is the log from the commit of package lua-luadbi for openSUSE:Factory checked in at 2020-10-10 19:03:56 Comparing /work/SRC/openSUSE:Factory/lua-luadbi (Old) and /work/SRC/openSUSE:Factory/.lua-luadbi.new.4249 (New) Package is "lua-luadbi" Sat Oct 10 19:03:56 2020 rev:5 rq:840483 version:0.7.2 Changes: --- /work/SRC/openSUSE:Factory/lua-luadbi/lua-luadbi.changes2020-07-15 14:58:49.403047452 +0200 +++ /work/SRC/openSUSE:Factory/.lua-luadbi.new.4249/lua-luadbi.changes 2020-10-10 19:04:05.156475215 +0200 @@ -1,0 +2,6 @@ +Fri Oct 9 02:58:43 UTC 2020 - Emil Biserov + +- updated for 0.7.2 +- tests-modules-load.lua added + +--- Old: luadbi.0.5.tar.gz New: luadbi-0.7.2.tar.gz tests-modules-load.lua Other differences: -- ++ lua-luadbi.spec ++ --- /var/tmp/diff_new_pack.pUmarg/_old 2020-10-10 19:04:07.916476585 +0200 +++ /var/tmp/diff_new_pack.pUmarg/_new 2020-10-10 19:04:07.920476586 +0200 @@ -18,14 +18,15 @@ %define flavor @BUILD_FLAVOR@ %define mod_name luadbi -Version:0.5 +Version:0.7.2 Release:0 Summary:A database interface library for Lua License:MIT Group: Productivity/Databases/Tools -URL:https://code.google.com/p/luadbi +URL:https://github.com/mwild1/luadbi # Formely found on code.google.com -Source: luadbi.%{version}.tar.gz +Source: luadbi-%{version}.tar.gz +Source50: tests-modules-load.lua # PATCH-FIX-UPSTREAM marguer...@opensuse.org - fix postgresql headers' path Patch0: luadbi-postgresql-headers.patch BuildRequires: %{flavor}-devel @@ -65,14 +66,17 @@ %install install -d %{buildroot}%{lua_archdir} install -d %{buildroot}%{lua_noarchdir} +make install_free DESTDIR=%{buildroot} LUA_LDIR=%{lua_noarchdir} LUA_CDIR=%{lua_archdir} -cp -r *.so %{buildroot}%{lua_archdir} -cp -r *.lua %{buildroot}%{lua_noarchdir} +%check +# run tests +lua%lua_version %{SOURCE50} "%{buildroot}" %files %license COPYING -%doc README -%{lua_archdir}/*.so +%doc README.md +%dir %{lua_archdir}/dbd +%{lua_archdir}/dbd/*.so %{lua_noarchdir}/*.lua %changelog ++ luadbi-postgresql-headers.patch ++ --- /var/tmp/diff_new_pack.pUmarg/_old 2020-10-10 19:04:07.948476601 +0200 +++ /var/tmp/diff_new_pack.pUmarg/_new 2020-10-10 19:04:07.948476601 +0200 @@ -1,12 +1,8 @@ -Index: luadbi/dbd/postgresql/dbd_postgresql.h -=== luadbi.orig/dbd/postgresql/dbd_postgresql.h -+++ luadbi/dbd/postgresql/dbd_postgresql.h -@@ -1,5 +1,5 @@ +--- luadbi-0.7.2/dbd/postgresql/dbd_postgresql.h.orig 2019-01-14 12:39:17.0 +0300 luadbi-0.7.2/dbd/postgresql/dbd_postgresql.h 2020-10-04 08:26:13.372785212 +0300 +@@ -1,4 +1,4 @@ -#include --#include +#include -+#include #include /* ++ tests-modules-load.lua ++ #!/usr/bin/lua -- test stubs _test_name = string.gsub(arg[0], ".*/(.*)%.lua$", "%1") function _progress(...) io.stdout:write(_test_name, ": ", ...) end function _add_buildroot(buildroot, var) local path_sep = package.config:sub(3,3); local path_sep_mask = path_sep:gsub('[()%%.[^$%]*+%-?]','%%%1') local mask = "([^" .. path_sep_mask .."]+)" local paths = {} for p in var:gmatch(mask) do if not (p:sub(1, 2) == './') then table.insert(paths, buildroot .. p) end table.insert(paths, p) end return table.concat(paths, path_sep) end if arg[1] then local buildroot = arg[1] _progress("add buildroot ", buildroot, " to package.path - ") package.path = _add_buildroot(buildroot, package.path) print("done") _progress("add buildroot ", buildroot, " to package.cpath - ") package.cpath = _add_buildroot(buildroot, package.cpath) print("done") end -- /test stubs _progress("--- Test modules loading from:\n") _progress("package.path=") print(package.path) _progress("package.cpath=") print(package.cpath) _progress("---\n") -- run test local modules = { { 'lua', 'DBI' }, { 'MySQL', 'dbd.mysql' }, { 'PostgreSQL', 'dbd.postgresql' }, { 'SQLite3', 'dbd.sqlite3' }, } errors = 0 for _, m in ipairs(modules) do driver = m[1] modulefile = m[2] _progress("load ", driver, " module ", modulefile, ": ") local m, err = pcall(require, modulefile) if m then print("success"); else print("FAILED, err="..err); print() errors = errors + 1; end end _progress() if errors == 0 then print("SUCCESS") os.exit(0) else print("FAILED, " .. errors .. " error(s) found") os.exit(1) end
commit lua-luadbi for openSUSE:Factory
Hello community, here is the log from the commit of package lua-luadbi for openSUSE:Factory checked in at 2020-07-15 14:58:17 Comparing /work/SRC/openSUSE:Factory/lua-luadbi (Old) and /work/SRC/openSUSE:Factory/.lua-luadbi.new.3060 (New) Package is "lua-luadbi" Wed Jul 15 14:58:17 2020 rev:4 rq:819809 version:0.5 Changes: --- /work/SRC/openSUSE:Factory/lua-luadbi/lua-luadbi.changes2019-06-13 23:02:52.787417764 +0200 +++ /work/SRC/openSUSE:Factory/.lua-luadbi.new.3060/lua-luadbi.changes 2020-07-15 14:58:49.403047452 +0200 @@ -1,0 +2,5 @@ +Mon Jul 6 19:04:27 UTC 2020 - Matej Cepl + +- Add lua54 as new build target + +--- Other differences: -- ++ lua-luadbi.spec ++ --- /var/tmp/diff_new_pack.vWjByc/_old 2020-07-15 14:58:54.639052558 +0200 +++ /var/tmp/diff_new_pack.vWjByc/_new 2020-07-15 14:58:54.639052558 +0200 @@ -1,7 +1,7 @@ # # spec file for package lua-luadbi # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -60,7 +60,7 @@ Makefile %build -make %{?_smp_mflags} LIBDIR=%{_libdir} +%make_build LIBDIR=%{_libdir} %install install -d %{buildroot}%{lua_archdir} ++ _multibuild ++ --- /var/tmp/diff_new_pack.vWjByc/_old 2020-07-15 14:58:54.671052590 +0200 +++ /var/tmp/diff_new_pack.vWjByc/_new 2020-07-15 14:58:54.671052590 +0200 @@ -1,4 +1,5 @@ lua51 lua53 +lua54
commit lua-luadbi for openSUSE:Factory
Hello community, here is the log from the commit of package lua-luadbi for openSUSE:Factory checked in at 2019-06-13 23:02:50 Comparing /work/SRC/openSUSE:Factory/lua-luadbi (Old) and /work/SRC/openSUSE:Factory/.lua-luadbi.new.4811 (New) Package is "lua-luadbi" Thu Jun 13 23:02:50 2019 rev:3 rq:709395 version:0.5 Changes: --- /work/SRC/openSUSE:Factory/lua-luadbi/lua-luadbi.changes2017-10-31 15:44:05.849562056 +0100 +++ /work/SRC/openSUSE:Factory/.lua-luadbi.new.4811/lua-luadbi.changes 2019-06-13 23:02:52.787417764 +0200 @@ -1,0 +2,5 @@ +Wed Jun 12 11:24:33 UTC 2019 - Tomáš Chvátal + +- Fix build after the postgresql package gained two devel packages + +--- Other differences: -- ++ lua-luadbi.spec ++ --- /var/tmp/diff_new_pack.q6ijus/_old 2019-06-13 23:02:53.251417360 +0200 +++ /var/tmp/diff_new_pack.q6ijus/_new 2019-06-13 23:02:53.255417358 +0200 @@ -1,7 +1,7 @@ # # spec file for package lua-luadbi # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -23,7 +23,7 @@ Summary:A database interface library for Lua License:MIT Group: Productivity/Databases/Tools -Url:https://code.google.com/p/luadbi +URL:https://code.google.com/p/luadbi # Formely found on code.google.com Source: luadbi.%{version}.tar.gz # PATCH-FIX-UPSTREAM marguer...@opensuse.org - fix postgresql headers' path @@ -31,6 +31,7 @@ BuildRequires: %{flavor}-devel BuildRequires: libmysqld-devel BuildRequires: postgresql-devel +BuildRequires: postgresql-server-devel BuildRequires: sqlite3-devel Requires: %{flavor} %if "%{flavor}" == "" @@ -69,7 +70,8 @@ cp -r *.lua %{buildroot}%{lua_noarchdir} %files -%doc README COPYING +%license COPYING +%doc README %{lua_archdir}/*.so %{lua_noarchdir}/*.lua
commit lua-luadbi for openSUSE:Factory
Hello community, here is the log from the commit of package lua-luadbi for openSUSE:Factory checked in at 2017-10-31 15:44:05 Comparing /work/SRC/openSUSE:Factory/lua-luadbi (Old) and /work/SRC/openSUSE:Factory/.lua-luadbi.new (New) Package is "lua-luadbi" Tue Oct 31 15:44:05 2017 rev:2 rq:537623 version:0.5 Changes: --- /work/SRC/openSUSE:Factory/lua-luadbi/lua-luadbi.changes2017-08-24 18:38:54.395430349 +0200 +++ /work/SRC/openSUSE:Factory/.lua-luadbi.new/lua-luadbi.changes 2017-10-31 15:44:05.849562056 +0100 @@ -1,0 +2,5 @@ +Mon Oct 30 14:45:32 UTC 2017 - jmate...@suse.com + +- do not build for Lua 5.2 + +--- Other differences: -- ++ _multibuild ++ --- /var/tmp/diff_new_pack.MKynO7/_old 2017-10-31 15:44:06.429541032 +0100 +++ /var/tmp/diff_new_pack.MKynO7/_new 2017-10-31 15:44:06.433540887 +0100 @@ -1,5 +1,4 @@ lua51 -lua52 lua53