commit mariadb-connector-odbc for openSUSE:Factory

2020-11-10 Thread root
Hello community,

here is the log from the commit of package mariadb-connector-odbc for 
openSUSE:Factory checked in at 2020-11-10 13:40:07

Comparing /work/SRC/openSUSE:Factory/mariadb-connector-odbc (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb-connector-odbc.new.11331 (New)


Package is "mariadb-connector-odbc"

Tue Nov 10 13:40:07 2020 rev:11 rq:846299 version:3.1.10

Changes:

--- 
/work/SRC/openSUSE:Factory/mariadb-connector-odbc/mariadb-connector-odbc.changes
2020-09-25 16:31:18.911878713 +0200
+++ 
/work/SRC/openSUSE:Factory/.mariadb-connector-odbc.new.11331/mariadb-connector-odbc.changes
 2020-11-10 13:47:04.403573548 +0100
@@ -1,0 +2,21 @@
+Thu Nov  5 12:17:02 UTC 2020 - Adam Majer 
+
+- New upstream version 3.1.10
+  * ODBC-288 - Connector misses "interactive client" option. Added
+INTERACTIVE connection string option to tell server, that
+the client application is interactive, and interactive_timeout
+has to be used.
+  * ODBC-202 - Add charsets recoding function to C/ODBC. Iconv-based
+conversion function has been moved and adapted from MariaDB Connector/C.
+  * ODBC-289 - Fixes a crash fetching from statement after closing and 
re-executing
+
+- remove upstreamed patches: fix_macros.patch,
+  implicit_decleration.patch, wrong_types.patch
+- iconv.patch: compilation fixes
+
+---
+Thu Nov  5 11:19:12 UTC 2020 - Fabian Vogt 
+
+- Fix Driver in sample_odbc.ini
+
+---

Old:

  fix_macros.patch
  implicit_decleration.patch
  mariadb-connector-odbc-3.1.9-ga-src.tar.gz
  mariadb-connector-odbc-3.1.9-ga-src.tar.gz.asc
  wrong_types.patch

New:

  iconv.patch
  mariadb-connector-odbc-3.1.10-ga-src.tar.gz



Other differences:
--
++ mariadb-connector-odbc.spec ++
--- /var/tmp/diff_new_pack.m9iuVQ/_old  2020-11-10 13:47:05.379571704 +0100
+++ /var/tmp/diff_new_pack.m9iuVQ/_new  2020-11-10 13:47:05.383571697 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   mariadb-connector-odbc
-Version:3.1.9
+Version:3.1.10
 Release:0
 Summary:MariaDB ODBC Connector
 License:LGPL-2.1-or-later
@@ -25,22 +25,21 @@
 URL:https://downloads.mariadb.org/connector-odbc/
 Source: 
https://downloads.mariadb.org/interstitial/connector-odbc-%{version}/mariadb-connector-odbc-%{version}-ga-src.tar.gz
 # signature is from copy/pasted stuff found on the download page, not actual 
file
-Source1:mariadb-connector-odbc-%{version}-ga-src.tar.gz.asc
+# Source1:mariadb-connector-odbc-%{version}-ga-src.tar.gz.asc
 Source2:README
 Source3:sample_odbc.ini
 Source4:mariadb-connector-odbc-rpmlintrc
 Patch1: mysql_header_path.patch
 Patch6: DSN_names.patch
 Patch8: nosoname.patch
-Patch9: fix_macros.patch
-Patch10:implicit_decleration.patch
-Patch11:wrong_types.patch
+Patch9: iconv.patch
 BuildRequires:  cmake > 3.5.0
 BuildRequires:  gcc-c++
 # This is actually MariaDB -devel package(s)
-BuildRequires:  libmariadb-devel >= 3.1.7
-BuildRequires:  libmariadbprivate >= 3.1.7
+BuildRequires:  libmariadb-devel >= 3.1.11
+BuildRequires:  libmariadbprivate >= 3.1.11
 BuildRequires:  openssl-devel
+BuildRequires:  sed
 BuildRequires:  unixODBC-devel
 Obsoletes:  MyODBC-unixODBC <= 5.1.9
 
@@ -55,17 +54,15 @@
   -DWITH_UNIXODBC=1 \
   -DWITH_OPENSSL=ON \
   -DMARIADB_LINK_DYNAMIC=1 \
-  -DINSTALL_DOC_DIR=%{_docdir}/%{name} \
+  -DINSTALL_DOCDIR=%{_docdir}/%{name} \
   -DINSTALL_LAYOUT=RPM \
-  -DINSTALL_LICENSE_DIR=%{_licensedir}/%{name}
+  -DINSTALL_LICENSEDIR=%{_licensedir}/%{name}
 %cmake_build
 
 %install
 %cmake_install
-rm %{buildroot}/usr/docs/COPYING
-rm %{buildroot}/usr/docs/README
-rmdir %{buildroot}/usr/docs
 install -Dpm 0644 -t %{buildroot}%{_docdir}/%{name} %{SOURCE2} %{SOURCE3}
+sed -i 's#^Driver.*$#Driver = %{_libdir}/mariadb/libmaodbc.so#' 
%{buildroot}%{_docdir}/%{name}/sample_odbc.ini
 
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig

++ DSN_names.patch ++
--- /var/tmp/diff_new_pack.m9iuVQ/_old  2020-11-10 13:47:05.411571644 +0100
+++ /var/tmp/diff_new_pack.m9iuVQ/_new  2020-11-10 13:47:05.411571644 +0100
@@ -8,11 +8,11 @@
 The sample DSN config file is manually maintained based on
 these options.
 
-Index: mariadb-connector-odbc-3.1.9-ga-src/ma_dsn.c
+Index: mariadb-connector-odbc-3.1.10-ga-src/ma_dsn.c
 ===
 mariadb-connector-odbc-3.1.9-ga-src.orig/ma_dsn.c
-+++ mariadb-connector-odbc-3.1.9-ga-src/ma_dsn.c
-@@ -33,54 +33,54 @@
+--- mariadb-connector-odbc-3.1.10-ga-src.orig/ma_dsn.c
 mariadb-conn

commit mariadb-connector-odbc for openSUSE:Factory

2020-09-25 Thread root
Hello community,

here is the log from the commit of package mariadb-connector-odbc for 
openSUSE:Factory checked in at 2020-09-25 16:31:06

Comparing /work/SRC/openSUSE:Factory/mariadb-connector-odbc (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb-connector-odbc.new.4249 (New)


Package is "mariadb-connector-odbc"

Fri Sep 25 16:31:06 2020 rev:10 rq:833852 version:3.1.9

Changes:

--- 
/work/SRC/openSUSE:Factory/mariadb-connector-odbc/mariadb-connector-odbc.changes
2020-04-14 16:24:14.015740375 +0200
+++ 
/work/SRC/openSUSE:Factory/.mariadb-connector-odbc.new.4249/mariadb-connector-odbc.changes
  2020-09-25 16:31:18.911878713 +0200
@@ -1,0 +2,19 @@
+Fri Sep 11 17:35:40 UTC 2020 - Adam Majer 
+
+** LOCATION CHANGE ** - the ODBC driver location has been changed to
+/usr/lib{,64}/mariadb/libmaodbc.so  Adjust your paths accordingly.
+
+- New upstream version 3.1.9. Fixes since 3.1.7 include,
+  * ODBC-214 - Mediumint(INT24) is always empty
+  * ODBC-284 - properly handle curly bracket escape in connection string
+  * ODBC-283 - Add support for passphrase protected private keys (TlsKeyPwd=)
+  * ODBC-280 - fixes multi-threaded issue when multiple connection are
+established simultaneously from different threads.
+  * ODBC-279 - SQL_C_TIME binding type not working
+- missing_libs.patch: dropped
+- added patches forwarded upstream: fix_macros.patch, 
implicit_decleration.patch, wrong_types.patch
+- nosoname.patch: refreshed
+- DSN_names.patch: refreshed. Added new option,
+  TlsKeyPwd =
+
+---

Old:

  mariadb-connector-odbc-3.1.7-ga-src.tar.gz
  mariadb-connector-odbc-3.1.7-ga-src.tar.gz.asc
  missing_libs.patch

New:

  fix_macros.patch
  implicit_decleration.patch
  mariadb-connector-odbc-3.1.9-ga-src.tar.gz
  mariadb-connector-odbc-3.1.9-ga-src.tar.gz.asc
  wrong_types.patch



Other differences:
--
++ mariadb-connector-odbc.spec ++
--- /var/tmp/diff_new_pack.eNuWqj/_old  2020-09-25 16:31:19.575879302 +0200
+++ /var/tmp/diff_new_pack.eNuWqj/_new  2020-09-25 16:31:19.579879305 +0200
@@ -17,12 +17,12 @@
 
 
 Name:   mariadb-connector-odbc
-Version:3.1.7
+Version:3.1.9
 Release:0
 Summary:MariaDB ODBC Connector
 License:LGPL-2.1-or-later
 Group:  Productivity/Databases/Tools
-Url:https://downloads.mariadb.org/connector-odbc/
+URL:https://downloads.mariadb.org/connector-odbc/
 Source: 
https://downloads.mariadb.org/interstitial/connector-odbc-%{version}/mariadb-connector-odbc-%{version}-ga-src.tar.gz
 # signature is from copy/pasted stuff found on the download page, not actual 
file
 Source1:mariadb-connector-odbc-%{version}-ga-src.tar.gz.asc
@@ -31,8 +31,10 @@
 Source4:mariadb-connector-odbc-rpmlintrc
 Patch1: mysql_header_path.patch
 Patch6: DSN_names.patch
-Patch7: missing_libs.patch
 Patch8: nosoname.patch
+Patch9: fix_macros.patch
+Patch10:implicit_decleration.patch
+Patch11:wrong_types.patch
 BuildRequires:  cmake > 3.5.0
 BuildRequires:  gcc-c++
 # This is actually MariaDB -devel package(s)
@@ -54,21 +56,25 @@
   -DWITH_OPENSSL=ON \
   -DMARIADB_LINK_DYNAMIC=1 \
   -DINSTALL_DOC_DIR=%{_docdir}/%{name} \
+  -DINSTALL_LAYOUT=RPM \
   -DINSTALL_LICENSE_DIR=%{_licensedir}/%{name}
-%make_jobs
+%cmake_build
 
 %install
 %cmake_install
-install -Dpm 0644 %{SOURCE2} %{SOURCE3} \
-  %{buildroot}%{_docdir}/%{name}
+rm %{buildroot}/usr/docs/COPYING
+rm %{buildroot}/usr/docs/README
+rmdir %{buildroot}/usr/docs
+install -Dpm 0644 -t %{buildroot}%{_docdir}/%{name} %{SOURCE2} %{SOURCE3}
 
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %files
 %dir %{_docdir}/%{name}
+%dir %{_libdir}/mariadb
 %license COPYING
-%{_libdir}/libmaodbc.so
+%{_libdir}/mariadb/libmaodbc.so
 %{_docdir}/%{name}/README
 %{_docdir}/%{name}/sample_odbc.ini
 

++ DSN_names.patch ++
--- /var/tmp/diff_new_pack.eNuWqj/_old  2020-09-25 16:31:19.607879330 +0200
+++ /var/tmp/diff_new_pack.eNuWqj/_new  2020-09-25 16:31:19.607879330 +0200
@@ -8,23 +8,28 @@
 The sample DSN config file is manually maintained based on
 these options.
 
-Index: mariadb-connector-odbc-3.1.6-ga-src/ma_dsn.c
+Index: mariadb-connector-odbc-3.1.9-ga-src/ma_dsn.c
 ===
 mariadb-connector-odbc-3.1.6-ga-src.orig/ma_dsn.c
-+++ mariadb-connector-odbc-3.1.6-ga-src/ma_dsn.c
-@@ -33,53 +33,53 @@
+--- mariadb-connector-odbc-3.1.9-ga-src.orig/ma_dsn.c
 mariadb-connector-odbc-3.1.9-ga-src/ma_dsn.c
+@@ -33,54 +33,54 @@
  
  MADB_DsnKey DsnKeys[]=
  {
 -  {"DSN",offsetof(MADB_Dsn, DSNName),   DSN_TYPE_STRIN

commit mariadb-connector-odbc for openSUSE:Factory

2020-04-14 Thread root
Hello community,

here is the log from the commit of package mariadb-connector-odbc for 
openSUSE:Factory checked in at 2020-04-14 15:12:15

Comparing /work/SRC/openSUSE:Factory/mariadb-connector-odbc (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb-connector-odbc.new.2738 (New)


Package is "mariadb-connector-odbc"

Tue Apr 14 15:12:15 2020 rev:9 rq:793816 version:3.1.7

Changes:

--- 
/work/SRC/openSUSE:Factory/mariadb-connector-odbc/mariadb-connector-odbc.changes
2020-04-04 12:23:45.895847947 +0200
+++ 
/work/SRC/openSUSE:Factory/.mariadb-connector-odbc.new.2738/mariadb-connector-odbc.changes
  2020-04-14 16:24:14.015740375 +0200
@@ -1,0 +2,8 @@
+Tue Apr 14 10:39:12 UTC 2020 - Adam Majer 
+
+- New upstream version 3.1.7. Fixes include,
+  * ODBC-276 - Update of Binary data containing 0x00 does not work
+  * ODBC-277 - Memory Corruption from Incorrect Type for SQL_IDENTIFIER_CASE
+  * ODBC-274 - Support INSERT/REPLACE ... RETURNING (requires MariaDB 10.5) 
+
+---

Old:

  mariadb-connector-odbc-3.1.6-ga-src.tar.gz
  mariadb-connector-odbc-3.1.6-ga-src.tar.gz.asc

New:

  mariadb-connector-odbc-3.1.7-ga-src.tar.gz
  mariadb-connector-odbc-3.1.7-ga-src.tar.gz.asc



Other differences:
--
++ mariadb-connector-odbc.spec ++
--- /var/tmp/diff_new_pack.0ohrpq/_old  2020-04-14 16:24:14.483740805 +0200
+++ /var/tmp/diff_new_pack.0ohrpq/_new  2020-04-14 16:24:14.487740809 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   mariadb-connector-odbc
-Version:3.1.6
+Version:3.1.7
 Release:0
 Summary:MariaDB ODBC Connector
 License:LGPL-2.1-or-later
@@ -36,8 +36,8 @@
 BuildRequires:  cmake > 3.5.0
 BuildRequires:  gcc-c++
 # This is actually MariaDB -devel package(s)
-BuildRequires:  libmariadb-devel
-BuildRequires:  libmariadbprivate
+BuildRequires:  libmariadb-devel >= 3.1.7
+BuildRequires:  libmariadbprivate >= 3.1.7
 BuildRequires:  openssl-devel
 BuildRequires:  unixODBC-devel
 Obsoletes:  MyODBC-unixODBC <= 5.1.9

++ mariadb-connector-odbc-3.1.6-ga-src.tar.gz -> 
mariadb-connector-odbc-3.1.7-ga-src.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mariadb-connector-odbc-3.1.6-ga-src/CMakeLists.txt 
new/mariadb-connector-odbc-3.1.7-ga-src/CMakeLists.txt
--- old/mariadb-connector-odbc-3.1.6-ga-src/CMakeLists.txt  2020-01-21 
10:35:57.0 +0100
+++ new/mariadb-connector-odbc-3.1.7-ga-src/CMakeLists.txt  2020-04-07 
22:32:37.0 +0200
@@ -22,10 +22,10 @@
 
 SET(MARIADB_ODBC_VERSION_MAJOR 3)
 SET(MARIADB_ODBC_VERSION_MINOR 1)
-SET(MARIADB_ODBC_VERSION_PATCH 6)
+SET(MARIADB_ODBC_VERSION_PATCH 7)
 SET(MARIADB_ODBC_VERSION_QUALITY "ga")
 
-SET(MARIADB_ODBC_VERSION "03.01.0006")
+SET(MARIADB_ODBC_VERSION "03.01.0007")
 
 SET(MARIADB_DEFAULT_PLUGINS_SUBDIR "plugin")
 CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/ma_odbc_version.h.in
@@ -338,6 +338,8 @@
 SET(CPACK_PACKAGE_NAME "mariadb-connector-odbc")
 IF(WIN32)
   ADD_SUBDIRECTORY(wininstall)
+  ADD_EXECUTABLE(install_driver osxinstall/install_driver.c)
+  TARGET_LINK_LIBRARIES(install_driver ${PLATFORM_DEPENDENCIES} 
${ODBC_INSTLIBS})
 ELSE()
   IF(APPLE)
 MESSAGE(STATUS "Configuring to generate PKG package")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mariadb-connector-odbc-3.1.6-ga-src/appveyor-download.bat 
new/mariadb-connector-odbc-3.1.7-ga-src/appveyor-download.bat
--- old/mariadb-connector-odbc-3.1.6-ga-src/appveyor-download.bat   
1970-01-01 01:00:00.0 +0100
+++ new/mariadb-connector-odbc-3.1.7-ga-src/appveyor-download.bat   
2020-04-07 22:32:37.0 +0200
@@ -0,0 +1,17 @@
+@echo off
+set 
archive=http://ftp.hosteurope.de/mirror/archive.mariadb.org//mariadb-%DB%/winx64-packages/mariadb-%DB%-winx64.msi
+set 
last=http://mirror.i3d.net/pub/mariadb//mariadb-%DB%/winx64-packages/mariadb-%DB%-winx64.msi
+
+curl -fsS -o server.msi %archive% 
+
+if %ERRORLEVEL% == 0 goto end
+
+
+curl -fsS -o server.msi %last%
+if %ERRORLEVEL% == 0  goto end
+
+echo Failure Reason Given is %errorlevel%
+exit /b %errorlevel%
+
+:end
+echo "File found".
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mariadb-connector-odbc-3.1.6-ga-src/appveyor.yml 
new/mariadb-connector-odbc-3.1.7-ga-src/appveyor.yml
--- old/mariadb-connector-odbc-3.1.6-ga-src/appveyor.yml2020-01-21 
10:35:57.0 +0100
+++ new/mariadb-connector-odbc-3.1.7-ga-src/appveyor.yml2020-04-07 
22:32:37.0 +0200
@@ -1,11 +1,15 @@
 environment: 
 matrix:
 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
-  DB: 10.4.6
+  DB: 10.4

commit mariadb-connector-odbc for openSUSE:Factory

2020-04-04 Thread root
Hello community,

here is the log from the commit of package mariadb-connector-odbc for 
openSUSE:Factory checked in at 2020-04-04 12:23:18

Comparing /work/SRC/openSUSE:Factory/mariadb-connector-odbc (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb-connector-odbc.new.3248 (New)


Package is "mariadb-connector-odbc"

Sat Apr  4 12:23:18 2020 rev:8 rq:790965 version:3.1.6

Changes:

--- 
/work/SRC/openSUSE:Factory/mariadb-connector-odbc/mariadb-connector-odbc.changes
2019-05-22 15:40:34.470441626 +0200
+++ 
/work/SRC/openSUSE:Factory/.mariadb-connector-odbc.new.3248/mariadb-connector-odbc.changes
  2020-04-04 12:23:45.895847947 +0200
@@ -1,0 +2,40 @@
+Thu Apr  2 11:56:12 UTC 2020 - Adam Majer 
+
+- New upstream version 3.1.6. Fixes include,
+  * ODBC-269: BEGIN NOT ATOMIC returning error
+
+  Fixes since version 3.1.1 includes,
+  * ODBC-196 - Optimize ODBC-120 issue for the case of array fetch
+  * ODBC-267 - Setup library has some redundant dependencies
+  * ODBC-87 - When testing a DSN (new or config datasource)
+the database name is missing after the test
+  * ODBC-240 - SSLFP and SSLFPLIST parameters appear unused
+  * ODBC-241 - Add parameter that corresponds to
+MYSQL_SERVER_PUBLIC_KEY option from MariaDB Connector/C
+  * ODBC-226 - Driver doesn't cause an error when it should
+  * ODBC-261 - Connector deploys direct execution, even for
+server versions, that do not support it
+  * ODBC-262 - MSI and PKG packages do not contain ed25519 plugin
+  * ODBC-210 - Fix compilation warnings on OS X
+  * ODBC-250 - Operations with Dynamic Lists are not thread-safe,
+and need to be guarded with mutexes
+  * ODBC-252 - Build failed when executed the commands present in
+"BUILD.md" file
+  * ODBC-253 - MADB_StmtExecDirect() crashes if StatementText is "\0"
+  * ODBC-254 - FTBFS: Cmake libdir misconfiguration
+  * ODBC-256 - Driver craches on empty statement
+  * ODBC-257 - Double-check CPack for a copy-paste error
+  * ODBC-258 - RFE: make documentation and license dirs configurable
+  * ODBC-260 - Remove all references to internals of MYSQL structure
+  * ODBC-255 - When C/ODBC is upgraded on Windows, allow existing
+data sources to be moved
+  * ODBC-211 - SQLDescribeCol return precision=0 for field type decimal(1,0)
+
+- install_correct_path.patch: removed, upstreamed
+- package_name.patch: removed, no longer necessary
+- DSN_names.patch: refreshed. Added new options
+  TlsPeerFp =
+  TlsPeerFpList =
+  ServerKey =
+
+---

Old:

  install_correct_path.patch
  mariadb-connector-odbc-3.1.1-ga-src.tar.gz
  mariadb-connector-odbc-3.1.1-ga-src.tar.gz.asc
  package_name.patch

New:

  mariadb-connector-odbc-3.1.6-ga-src.tar.gz
  mariadb-connector-odbc-3.1.6-ga-src.tar.gz.asc



Other differences:
--
++ mariadb-connector-odbc.spec ++
--- /var/tmp/diff_new_pack.XZk8G1/_old  2020-04-04 12:23:46.775848703 +0200
+++ /var/tmp/diff_new_pack.XZk8G1/_new  2020-04-04 12:23:46.779848707 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package mariadb-connector-odbc
 #
-# 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
@@ -17,7 +17,7 @@
 
 
 Name:   mariadb-connector-odbc
-Version:3.1.1
+Version:3.1.6
 Release:0
 Summary:MariaDB ODBC Connector
 License:LGPL-2.1-or-later
@@ -30,8 +30,6 @@
 Source3:sample_odbc.ini
 Source4:mariadb-connector-odbc-rpmlintrc
 Patch1: mysql_header_path.patch
-Patch2: install_correct_path.patch
-Patch5: package_name.patch
 Patch6: DSN_names.patch
 Patch7: missing_libs.patch
 Patch8: nosoname.patch
@@ -48,27 +46,21 @@
 This package contains the MariaDB ODBC Connector to be used with unixODBC.
 
 %prep
-%setup -q -n mariadb-connector-odbc-%{version}-ga-src
-%patch1 -p1
-%patch2 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
+%autosetup -p1 -n mariadb-connector-odbc-%{version}-ga-src
 
 %build
-export CFLAGS="%{optflags} -std=gnu11"
 %cmake \
   -DWITH_UNIXODBC=1 \
   -DWITH_OPENSSL=ON \
-  -DMARIADB_LINK_DYNAMIC=1
+  -DMARIADB_LINK_DYNAMIC=1 \
+  -DINSTALL_DOC_DIR=%{_docdir}/%{name} \
+  -DINSTALL_LICENSE_DIR=%{_licensedir}/%{name}
 %make_jobs
 
 %install
 %cmake_install
 install -Dpm 0644 %{SOURCE2} %{SOURCE3} \
   %{buildroot}%{_docdir}/%{name}
-rm %{buildroot}%{_docdir}/%{name}/COPYING
 
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig

++ DSN_names.patch ++
--- /var/tmp/diff_new_pack.XZk8G1/_old  2020-04-04 12:23:46.795848720 +0200
+++ /var/

commit mariadb-connector-odbc for openSUSE:Factory

2019-05-22 Thread root
Hello community,

here is the log from the commit of package mariadb-connector-odbc for 
openSUSE:Factory checked in at 2019-05-22 15:40:06

Comparing /work/SRC/openSUSE:Factory/mariadb-connector-odbc (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb-connector-odbc.new.5148 (New)


Package is "mariadb-connector-odbc"

Wed May 22 15:40:06 2019 rev:7 rq:704663 version:3.1.1

Changes:

--- 
/work/SRC/openSUSE:Factory/mariadb-connector-odbc/mariadb-connector-odbc.changes
2018-08-15 10:33:18.947738084 +0200
+++ 
/work/SRC/openSUSE:Factory/.mariadb-connector-odbc.new.5148/mariadb-connector-odbc.changes
  2019-05-22 15:40:34.470441626 +0200
@@ -1,0 +2,23 @@
+Tue May 21 14:28:53 UTC 2019 - Adam Majer 
+
+- New upstream version 3.1.1
+  * Added FORCETLS connection string option
+  * Added connection string option TLSVERSION
+  * Added option for reading section in my.cnf
+
+- Changes in version 3.1.0:
+  * The fix and the testcase Wrong Input/Output parameter type when
+mapping SQLBindParam to SQLBindParameter 
+  * The fix and the testcase SQL_DESC_PARAMETER_TYPE is SQLSMALLINT,
+but if application tried to read it into SQLSMALLINT buffer,
+memory would be corrupted.
+
+- sample_odbc.ini - updated listing new connection options
+- refreshed patches: DSN_names.patch, missing_libs.patch, nosoname.patch,
+  package_name.patch
+- install_correct_path.patch: keep odbc library installed in correct
+  patch on 64bit systems
+- mysql_header_path.patch - mysql headers are now under mysql/ subdir
+- missing_includes.patch - dropped, not needed anymore
+
+---

Old:

  mariadb-connector-odbc-3.0.3-ga-src.tar.gz
  mariadb-connector-odbc-3.0.3-ga-src.tar.gz.asc
  missing_includes.patch

New:

  install_correct_path.patch
  mariadb-connector-odbc-3.1.1-ga-src.tar.gz
  mariadb-connector-odbc-3.1.1-ga-src.tar.gz.asc
  mysql_header_path.patch



Other differences:
--
++ mariadb-connector-odbc.spec ++
--- /var/tmp/diff_new_pack.sdaFXo/_old  2019-05-22 15:40:45.254437780 +0200
+++ /var/tmp/diff_new_pack.sdaFXo/_new  2019-05-22 15:40:45.254437780 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package mariadb-connector-odbc
 #
-# Copyright (c) 2018 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,12 +12,12 @@
 # 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/
 #
 
 
 Name:   mariadb-connector-odbc
-Version:3.0.3
+Version:3.1.1
 Release:0
 Summary:MariaDB ODBC Connector
 License:LGPL-2.1-or-later
@@ -29,7 +29,8 @@
 Source2:README
 Source3:sample_odbc.ini
 Source4:mariadb-connector-odbc-rpmlintrc
-Patch3: missing_includes.patch
+Patch1: mysql_header_path.patch
+Patch2: install_correct_path.patch
 Patch5: package_name.patch
 Patch6: DSN_names.patch
 Patch7: missing_libs.patch
@@ -48,7 +49,8 @@
 
 %prep
 %setup -q -n mariadb-connector-odbc-%{version}-ga-src
-%patch3 -p1
+%patch1 -p1
+%patch2 -p1
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1

++ DSN_names.patch ++
--- /var/tmp/diff_new_pack.sdaFXo/_old  2019-05-22 15:40:45.278437771 +0200
+++ /var/tmp/diff_new_pack.sdaFXo/_new  2019-05-22 15:40:45.278437771 +0200
@@ -8,13 +8,25 @@
 The sample DSN config file is manually maintained based on
 these options.
 
-Index: mariadb-connector-odbc-2.0.13-ga-src/ma_dsn.c
+Index: mariadb-connector-odbc-3.1.1-ga-src/ma_dsn.c
 ===
 mariadb-connector-odbc-2.0.13-ga-src.orig/ma_dsn.c
-+++ mariadb-connector-odbc-2.0.13-ga-src/ma_dsn.c
-@@ -28,52 +28,52 @@
+--- mariadb-connector-odbc-3.1.1-ga-src.orig/ma_dsn.c
 mariadb-connector-odbc-3.1.1-ga-src/ma_dsn.c
+@@ -27,58 +27,58 @@
+ #define DSNKEY_UID_INDEX   8
  #define DSNKEY_PWD_INDEX   9
  #define DSNKEY_DATABASE_INDEX 10
++ 
++ MADB_DsnKey DsnKeys[]=
++ {
++   {"DSN",offsetof(MADB_Dsn, DSNName),   DSN_TYPE_STRING, 
0, 0}, /* 0 */
++   {"DESCRIPTION",offsetof(MADB_Dsn, Description),   DSN_TYPE_STRING, 
0, 0},
++   {"DRIVER", offsetof(MADB_Dsn, Driver),DSN_TYPE_STRING, 
0, 0},
++   /* OPTIONS should go above all DSN_TYPE_OPTION. They are not saved in DSN 
separately, and then DSN is read, corresponding
++  properties are filled from OP

commit mariadb-connector-odbc for openSUSE:Factory

2018-08-15 Thread root
Hello community,

here is the log from the commit of package mariadb-connector-odbc for 
openSUSE:Factory checked in at 2018-08-15 10:33:14

Comparing /work/SRC/openSUSE:Factory/mariadb-connector-odbc (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb-connector-odbc.new (New)


Package is "mariadb-connector-odbc"

Wed Aug 15 10:33:14 2018 rev:6 rq:628614 version:3.0.3

Changes:

--- 
/work/SRC/openSUSE:Factory/mariadb-connector-odbc/mariadb-connector-odbc.changes
2018-02-22 15:03:48.959043953 +0100
+++ 
/work/SRC/openSUSE:Factory/.mariadb-connector-odbc.new/mariadb-connector-odbc.changes
   2018-08-15 10:33:18.947738084 +0200
@@ -1,0 +2,5 @@
+Fri Aug 10 11:45:07 UTC 2018 - adam.ma...@suse.de
+
+- Install license as %license instead of documentation
+
+---
@@ -4 +9 @@
-- New upsream version 3.0.3
+- New upsream version 3.0.3 (bsc#1104480, fate#324398)



Other differences:
--
++ mariadb-connector-odbc.spec ++
--- /var/tmp/diff_new_pack.kjEg9p/_old  2018-08-15 10:33:20.155740268 +0200
+++ /var/tmp/diff_new_pack.kjEg9p/_new  2018-08-15 10:33:20.159740275 +0200
@@ -20,7 +20,7 @@
 Version:3.0.3
 Release:0
 Summary:MariaDB ODBC Connector
-License:LGPL-2.1+
+License:LGPL-2.1-or-later
 Group:  Productivity/Databases/Tools
 Url:https://downloads.mariadb.org/connector-odbc/
 Source: 
https://downloads.mariadb.org/interstitial/connector-odbc-%{version}/mariadb-connector-odbc-%{version}-ga-src.tar.gz
@@ -66,12 +66,14 @@
 %cmake_install
 install -Dpm 0644 %{SOURCE2} %{SOURCE3} \
   %{buildroot}%{_docdir}/%{name}
+rm %{buildroot}%{_docdir}/%{name}/COPYING
 
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %files
-%doc COPYING
+%dir %{_docdir}/%{name}
+%license COPYING
 %{_libdir}/libmaodbc.so
 %{_docdir}/%{name}/README
 %{_docdir}/%{name}/sample_odbc.ini





commit mariadb-connector-odbc for openSUSE:Factory

2018-02-22 Thread root
Hello community,

here is the log from the commit of package mariadb-connector-odbc for 
openSUSE:Factory checked in at 2018-02-22 15:03:48

Comparing /work/SRC/openSUSE:Factory/mariadb-connector-odbc (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb-connector-odbc.new (New)


Package is "mariadb-connector-odbc"

Thu Feb 22 15:03:48 2018 rev:5 rq:578961 version:3.0.3

Changes:

--- 
/work/SRC/openSUSE:Factory/mariadb-connector-odbc/mariadb-connector-odbc.changes
2018-01-16 09:43:06.247628919 +0100
+++ 
/work/SRC/openSUSE:Factory/.mariadb-connector-odbc.new/mariadb-connector-odbc.changes
   2018-02-22 15:03:48.959043953 +0100
@@ -1,0 +2,9 @@
+Thu Feb 22 09:28:58 UTC 2018 - adam.ma...@suse.de
+
+- New upsream version 3.0.3
+  * fixes core dump when procedure returned more than 1 result set
+  * result SQLStatistics were ordered using the wrong columns.
+  * fetch would fail if an unbound column contained NULL
+- libreoffice_fixes.patch: upstreamed
+
+---

Old:

  libreoffice_fixes.patch
  mariadb-connector-odbc-3.0.2-ga-src.tar.gz
  mariadb-connector-odbc-3.0.2-ga-src.tar.gz.asc

New:

  mariadb-connector-odbc-3.0.3-ga-src.tar.gz
  mariadb-connector-odbc-3.0.3-ga-src.tar.gz.asc



Other differences:
--
++ mariadb-connector-odbc.spec ++
--- /var/tmp/diff_new_pack.FTIRHf/_old  2018-02-22 15:03:50.310994916 +0100
+++ /var/tmp/diff_new_pack.FTIRHf/_new  2018-02-22 15:03:50.314994771 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   mariadb-connector-odbc
-Version:3.0.2
+Version:3.0.3
 Release:0
 Summary:MariaDB ODBC Connector
 License:LGPL-2.1+
@@ -29,7 +29,6 @@
 Source2:README
 Source3:sample_odbc.ini
 Source4:mariadb-connector-odbc-rpmlintrc
-Patch1: libreoffice_fixes.patch
 Patch3: missing_includes.patch
 Patch5: package_name.patch
 Patch6: DSN_names.patch
@@ -49,7 +48,6 @@
 
 %prep
 %setup -q -n mariadb-connector-odbc-%{version}-ga-src
-%patch1 -p1
 %patch3 -p1
 %patch5 -p1
 %patch6 -p1

++ mariadb-connector-odbc-3.0.2-ga-src.tar.gz -> 
mariadb-connector-odbc-3.0.3-ga-src.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mariadb-connector-odbc-3.0.2-ga-src/.idea/vcs.xml 
new/mariadb-connector-odbc-3.0.3-ga-src/.idea/vcs.xml
--- old/mariadb-connector-odbc-3.0.2-ga-src/.idea/vcs.xml   1970-01-01 
01:00:00.0 +0100
+++ new/mariadb-connector-odbc-3.0.3-ga-src/.idea/vcs.xml   2018-02-06 
23:04:00.0 +0100
@@ -0,0 +1,6 @@
+
+
+  
+
+  
+
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mariadb-connector-odbc-3.0.2-ga-src/.travis/docker-compose.yml 
new/mariadb-connector-odbc-3.0.3-ga-src/.travis/docker-compose.yml
--- old/mariadb-connector-odbc-3.0.2-ga-src/.travis/docker-compose.yml  
1970-01-01 01:00:00.0 +0100
+++ new/mariadb-connector-odbc-3.0.3-ga-src/.travis/docker-compose.yml  
2018-02-06 23:04:00.0 +0100
@@ -0,0 +1,13 @@
+version: '2'
+services:
+  db:
+image: $DB
+command: --character-set-server=utf8mb4 
--collation-server=utf8mb4_unicode_ci --ssl-ca=/etc/sslcert/ca.crt 
--ssl-cert=/etc/sslcert/server.crt --ssl-key=/etc/sslcert/server.key 
--bind-address=0.0.0.0
+ports:
+  - 3305:3306
+volumes:
+  - $SSLCERT:/etc/sslcert
+  - $ENTRYPOINT:/docker-entrypoint-initdb.d
+environment:
+  MYSQL_DATABASE: odbc_test
+  MYSQL_ALLOW_EMPTY_PASSWORD: 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mariadb-connector-odbc-3.0.2-ga-src/.travis/gen-ssl.sh 
new/mariadb-connector-odbc-3.0.3-ga-src/.travis/gen-ssl.sh
--- old/mariadb-connector-odbc-3.0.2-ga-src/.travis/gen-ssl.sh  1970-01-01 
01:00:00.0 +0100
+++ new/mariadb-connector-odbc-3.0.3-ga-src/.travis/gen-ssl.sh  2018-02-06 
23:04:00.0 +0100
@@ -0,0 +1,134 @@
+#!/bin/bash
+set -e
+
+log () {
+  echo "$@" 1>&2
+}
+
+print_error () {
+  echo "$@" 1>&2
+  exit 1
+}
+
+print_usage () {
+  print_error "Usage: gen-ssl-cert-key  "
+}
+
+gen_cert_subject () {
+  local fqdn="$1"
+  [[ "${fqdn}" != "" ]] || print_error "FQDN cannot be blank"
+  echo 
"/C=/ST=/O=/localityName=/CN=${fqdn}/organizationalUnitName=/emailAddress=/"
+}
+
+main () {
+  local fqdn="$1"
+  local sslDir="$2"
+  [[ "${fqdn}" != "" ]] || print_usage
+  [[ -d "${sslDir}" ]] || print_error "Directory does not exist: ${sslDir}"
+
+  local caCertFile="${sslDir}/ca.crt"
+  local caKeyFile="${sslDir}/ca.key"
+  local certFile="${sslDir}/server.crt"
+  local keyFile="${sslDir}/server.key"
+  local csrFile=$(mktemp)
+  loca

commit mariadb-connector-odbc for openSUSE:Factory

2018-01-16 Thread root
Hello community,

here is the log from the commit of package mariadb-connector-odbc for 
openSUSE:Factory checked in at 2018-01-16 09:43:06

Comparing /work/SRC/openSUSE:Factory/mariadb-connector-odbc (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb-connector-odbc.new (New)


Package is "mariadb-connector-odbc"

Tue Jan 16 09:43:06 2018 rev:4 rq:564492 version:3.0.2

Changes:

--- 
/work/SRC/openSUSE:Factory/mariadb-connector-odbc/mariadb-connector-odbc.changes
2017-12-12 21:24:21.358411936 +0100
+++ 
/work/SRC/openSUSE:Factory/.mariadb-connector-odbc.new/mariadb-connector-odbc.changes
   2018-01-16 09:43:06.247628919 +0100
@@ -1,0 +2,7 @@
+Thu Jan  4 07:37:10 UTC 2018 - adam.ma...@suse.de
+
+- libreoffice_fixes.patch: Fix crash with LibreOffice (bnc#938195)
+- add mariadb-connector-odbc-rpmlintrc to ignore some
+  rpmlint warnings
+
+---

New:

  libreoffice_fixes.patch
  mariadb-connector-odbc-rpmlintrc



Other differences:
--
++ mariadb-connector-odbc.spec ++
--- /var/tmp/diff_new_pack.ElCMwP/_old  2018-01-16 09:43:06.923597279 +0100
+++ /var/tmp/diff_new_pack.ElCMwP/_new  2018-01-16 09:43:06.927597091 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mariadb-connector-odbc
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -22,12 +22,14 @@
 Summary:MariaDB ODBC Connector
 License:LGPL-2.1+
 Group:  Productivity/Databases/Tools
-URL:https://downloads.mariadb.org/connector-odbc/
+Url:https://downloads.mariadb.org/connector-odbc/
 Source: 
https://downloads.mariadb.org/interstitial/connector-odbc-%{version}/mariadb-connector-odbc-%{version}-ga-src.tar.gz
 # signature is from copy/pasted stuff found on the download page, not actual 
file
 Source1:mariadb-connector-odbc-%{version}-ga-src.tar.gz.asc
 Source2:README
 Source3:sample_odbc.ini
+Source4:mariadb-connector-odbc-rpmlintrc
+Patch1: libreoffice_fixes.patch
 Patch3: missing_includes.patch
 Patch5: package_name.patch
 Patch6: DSN_names.patch
@@ -47,6 +49,7 @@
 
 %prep
 %setup -q -n mariadb-connector-odbc-%{version}-ga-src
+%patch1 -p1
 %patch3 -p1
 %patch5 -p1
 %patch6 -p1

++ libreoffice_fixes.patch ++
Fix crashes with OpenOffice

Upstream Bug: https://jira.mariadb.org/browse/ODBC-123
https://bugzilla.novell.com/show_bug.cgi?id=938195

commit a1e8995d0f8132663ed98a1b6333f2d53b3fe885
Author: Lawrin Novitsky 
Date:   Wed Dec 27 21:46:48 2017 +0100

[ODBC-123] Fix and testcase. LibreOffice sets SQL_ATTR_USE_BOOKMARKS
attribute, but does not actually use bookmarks. The connector was not
ready for that, and would throw wrongly error, and then crash.
Fixed a number of compilation warnings.

commit cfb8e530fdabcd17b84a4609a1423fb51ffcea5a
Author: Lawrin 
Date:   Fri Jan 12 17:50:40 2018 -0500

Addition to the fix of ODBC-123 and the testcase for that problem - for 
SQL_CATALOG_LOCATION info type the connector incorrectly wrote to the buffer 
SQLUINTEGER, while it has to be SQLUSMALLINT

diff --git a/ma_bulk.c b/ma_bulk.c
index 4008f55..f45a4bd 100644
--- a/ma_bulk.c
+++ b/ma_bulk.c
@@ -170,7 +170,7 @@ SQLRETURN MADB_SetBulkOperLengthArr(MADB_Stmt *Stmt, 
MADB_DescRecord *CRec, SQLL
 
 if (VariableLengthMadbType)
 {
-  MaBind->length[row]= MADB_CalculateLength(Stmt, OctetLengthPtr != NULL ? 
&OctetLengthPtr[row] : NULL, CRec, DataPtr);
+  MaBind->length[row]= (unsigned long)MADB_CalculateLength(Stmt, 
OctetLengthPtr != NULL ? &OctetLengthPtr[row] : NULL, CRec, DataPtr);
 }
   }
 
@@ -322,7 +322,7 @@ SQLRETURN MADB_ExecuteBulk(MADB_Stmt *Stmt, unsigned int 
ParamOffset)
 {
   if (Stmt->Apd->Header.ArrayStatusPtr[row] == SQL_PARAM_IGNORE)
   {
-MADB_SetIndicatorValue(Stmt, &Stmt->params[IndIdx], row, 
SQL_PARAM_IGNORE);
+MADB_SetIndicatorValue(Stmt, &Stmt->params[IndIdx], (unsigned 
int)row, SQL_PARAM_IGNORE);
   }
 }   
   }
diff --git a/ma_connection.c b/ma_connection.c
index 32be6bf..b18ed6d 100644
--- a/ma_connection.c
+++ b/ma_connection.c
@@ -1333,7 +1333,7 @@ SQLRETURN MADB_DbcGetInfo(MADB_Dbc *Dbc, SQLUSMALLINT 
InfoType, SQLPOINTER InfoV
 {
   size_t max_packet_size;
   mariadb_get_infov(Dbc->mariadb, MARIADB_MAX_ALLOWED_PACKET, 
&max_packet_size);
-  MADB_SET_NUM_VAL(SQLUINTEGER, InfoValuePtr, max_packet_size, 
StringLengthPtr);
+  MADB_SET_NUM_VAL(SQLUI

commit mariadb-connector-odbc for openSUSE:Factory

2017-12-12 Thread root
Hello community,

here is the log from the commit of package mariadb-connector-odbc for 
openSUSE:Factory checked in at 2017-12-12 21:24:06

Comparing /work/SRC/openSUSE:Factory/mariadb-connector-odbc (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb-connector-odbc.new (New)


Package is "mariadb-connector-odbc"

Tue Dec 12 21:24:06 2017 rev:3 rq:556527 version:3.0.2

Changes:

--- 
/work/SRC/openSUSE:Factory/mariadb-connector-odbc/mariadb-connector-odbc.changes
2017-12-11 18:58:00.466261205 +0100
+++ 
/work/SRC/openSUSE:Factory/.mariadb-connector-odbc.new/mariadb-connector-odbc.changes
   2017-12-12 21:24:21.358411936 +0100
@@ -1,0 +2,13 @@
+Tue Dec 12 16:08:11 UTC 2017 - mplus...@suse.com
+
+- Enable openssl support
+- Honor optflags when building
+
+---
+Tue Dec 12 15:49:09 UTC 2017 - mvet...@suse.com
+
+- Remove 'Provides', it is not a drop in replacement
+  for MyODBC-unixODBC. Users will have to change .so file.
+  Obsoletes is enough.
+
+---



Other differences:
--
++ mariadb-connector-odbc.spec ++
--- /var/tmp/diff_new_pack.PYWizM/_old  2017-12-12 21:24:21.926384517 +0100
+++ /var/tmp/diff_new_pack.PYWizM/_new  2017-12-12 21:24:21.926384517 +0100
@@ -22,7 +22,7 @@
 Summary:MariaDB ODBC Connector
 License:LGPL-2.1+
 Group:  Productivity/Databases/Tools
-Url:https://downloads.mariadb.org/connector-odbc/
+URL:https://downloads.mariadb.org/connector-odbc/
 Source: 
https://downloads.mariadb.org/interstitial/connector-odbc-%{version}/mariadb-connector-odbc-%{version}-ga-src.tar.gz
 # signature is from copy/pasted stuff found on the download page, not actual 
file
 Source1:mariadb-connector-odbc-%{version}-ga-src.tar.gz.asc
@@ -38,9 +38,8 @@
 # This is actually MariaDB -devel package(s)
 BuildRequires:  libmariadb-devel
 BuildRequires:  libmariadbprivate
+BuildRequires:  openssl-devel
 BuildRequires:  unixODBC-devel
-# Provide upgrade path based on latest version in Factory
-Provides:   MyODBC-unixODBC = 5.1.9
 Obsoletes:  MyODBC-unixODBC <= 5.1.9
 
 %description
@@ -55,9 +54,10 @@
 %patch8 -p1
 
 %build
-CFLAGS+=-std=gnu11
+export CFLAGS="%{optflags} -std=gnu11"
 %cmake \
-DWITH_UNIXODBC=1 \
+  -DWITH_OPENSSL=ON \
-DMARIADB_LINK_DYNAMIC=1
 %make_jobs
 





commit mariadb-connector-odbc for openSUSE:Factory

2017-12-11 Thread root
Hello community,

here is the log from the commit of package mariadb-connector-odbc for 
openSUSE:Factory checked in at 2017-12-11 18:57:51

Comparing /work/SRC/openSUSE:Factory/mariadb-connector-odbc (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb-connector-odbc.new (New)


Package is "mariadb-connector-odbc"

Mon Dec 11 18:57:51 2017 rev:2 rq:555981 version:3.0.2

Changes:

--- 
/work/SRC/openSUSE:Factory/mariadb-connector-odbc/mariadb-connector-odbc.changes
2017-12-01 15:53:27.776415345 +0100
+++ 
/work/SRC/openSUSE:Factory/.mariadb-connector-odbc.new/mariadb-connector-odbc.changes
   2017-12-11 18:58:00.466261205 +0100
@@ -1,0 +2,5 @@
+Mon Dec 11 11:07:25 UTC 2017 - adam.ma...@suse.de
+
+- Provide upgrade path for users of MyODBC-unixODBC
+
+---



Other differences:
--
++ mariadb-connector-odbc.spec ++
--- /var/tmp/diff_new_pack.ik4O8E/_old  2017-12-11 18:58:01.342219482 +0100
+++ /var/tmp/diff_new_pack.ik4O8E/_new  2017-12-11 18:58:01.342219482 +0100
@@ -22,7 +22,7 @@
 Summary:MariaDB ODBC Connector
 License:LGPL-2.1+
 Group:  Productivity/Databases/Tools
-URL:https://downloads.mariadb.org/connector-odbc/
+Url:https://downloads.mariadb.org/connector-odbc/
 Source: 
https://downloads.mariadb.org/interstitial/connector-odbc-%{version}/mariadb-connector-odbc-%{version}-ga-src.tar.gz
 # signature is from copy/pasted stuff found on the download page, not actual 
file
 Source1:mariadb-connector-odbc-%{version}-ga-src.tar.gz.asc
@@ -34,12 +34,14 @@
 Patch7: missing_libs.patch
 Patch8: nosoname.patch
 BuildRequires:  cmake > 3.5.0
-# BuildRequires:  libmysqlclient-devel
 BuildRequires:  gcc-c++
 # This is actually MariaDB -devel package(s)
 BuildRequires:  libmariadb-devel
 BuildRequires:  libmariadbprivate
 BuildRequires:  unixODBC-devel
+# Provide upgrade path based on latest version in Factory
+Provides:   MyODBC-unixODBC = 5.1.9
+Obsoletes:  MyODBC-unixODBC <= 5.1.9
 
 %description
 This package contains the MariaDB ODBC Connector to be used with unixODBC.





commit mariadb-connector-odbc for openSUSE:Factory

2017-12-01 Thread root
Hello community,

here is the log from the commit of package mariadb-connector-odbc for 
openSUSE:Factory checked in at 2017-12-01 15:53:26

Comparing /work/SRC/openSUSE:Factory/mariadb-connector-odbc (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb-connector-odbc.new (New)


Package is "mariadb-connector-odbc"

Fri Dec  1 15:53:26 2017 rev:1 rq:544612 version:3.0.2

Changes:

New Changes file:

--- /dev/null   2017-10-14 16:26:57.428140955 +0200
+++ 
/work/SRC/openSUSE:Factory/.mariadb-connector-odbc.new/mariadb-connector-odbc.changes
   2017-12-01 15:53:27.776415345 +0100
@@ -0,0 +1,58 @@
+---
+Sun Nov 19 07:36:34 UTC 2017 - mplus...@suse.com
+
+- Use more cmake macros
+- Run spec-cleaner
+
+---
+Fri Nov 17 14:07:35 UTC 2017 - adam.ma...@suse.de
+
+- New upstream version 3.0.2
+  * first stable version of MariaDB Connector/ODBC 3.0
+  * fixed number of memory leaks
+- Refreshed patches:
+  * missing_includes.patch
+  * package_name.patch
+- Removed upstreamed patches:
+  * fix_bool_return_types.patch
+  * no_static_linking.patch
+- missing_libs.patch: Add missing -lpthread dependency
+- nosoname.patch: libmaodbc.so is an ODBC driver, not a normal
+  library. Remove soname generation.
+
+---
+Thu Jul 13 12:21:40 UTC 2017 - adam.ma...@suse.de
+
+- New upstream version 2.0.15:
+  * fix crash in ODBC Driver SQLExecDirect()
+  * fix batch query with non-preparable statement crashed
+  * fix backslash at the end of string in one of statements in
+multistatement query leads to error
+- Changes in version 2.0.14:
+  * SQLGetData now correctly handles UTF-16 surrogate pairs
+  * Execution of 'ANALYZE TABLE' statement used to invalidate
+statement and connection handles
+  * SQLGetData would not return SQL_NO_DATA for BLOB/TEXT columns
+if the buffer size is larger than the column data
+  * Min and Max value for time data type were processed incorrectly
+  * fixed Error in the SQLGetTypeInfo for WCHAR Types
+  * SQLBulkOperations/SQLSetPos SQL_ADD would fail if TIMESTAMP
+column ignored
+
+---
+Wed Mar 29 14:37:55 UTC 2017 - adam.ma...@suse.de
+
+- Add sample_odbc.ini file to documentation directory. 
+
+---
+Thu Mar 23 11:04:18 UTC 2017 - adam.ma...@suse.de
+
+- Initial package of MariaDB Connector/ODBC 2.0.13
+- fix_bool_return_types.patch: use only supported data types
+- missing_includes.patch: missing headers added
+- no_static_linking.patch: dynamically link with the private
+  symbols library.
+- package_name.patch: set package name to SUSE package name
+  so we don't have to move files around after install or change
+  library names.
+

New:

  DSN_names.patch
  README
  mariadb-connector-odbc-3.0.2-ga-src.tar.gz
  mariadb-connector-odbc-3.0.2-ga-src.tar.gz.asc
  mariadb-connector-odbc.changes
  mariadb-connector-odbc.spec
  missing_includes.patch
  missing_libs.patch
  nosoname.patch
  package_name.patch
  sample_odbc.ini



Other differences:
--
++ mariadb-connector-odbc.spec ++
#
# spec file for package mariadb-connector-odbc
#
# Copyright (c) 2017 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#


Name:   mariadb-connector-odbc
Version:3.0.2
Release:0
Summary:MariaDB ODBC Connector
License:LGPL-2.1+
Group:  Productivity/Databases/Tools
URL:https://downloads.mariadb.org/connector-odbc/
Source: 
https://downloads.mariadb.org/interstitial/connector-odbc-%{version}/mariadb-connector-odbc-%{version}-ga-src.tar.gz
# signature is from copy/pasted stuff found on the download page, not actual 
file
Source1:mariadb-connector-odbc-%{version}-ga-src.tar.gz.asc
Source2:README
Source3:sample_odbc.ini
Patch3: missing_includes.patch
Patch5: package_name.patch
Patch6: DSN_names.patch
Patch7: missing_libs.patch
Pa