Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package qore-mysql-module for 
openSUSE:Factory checked in at 2021-08-01 21:51:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qore-mysql-module (Old)
 and      /work/SRC/openSUSE:Factory/.qore-mysql-module.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qore-mysql-module"

Sun Aug  1 21:51:36 2021 rev:6 rq:908928 version:2.0.2.1+qore0.9.15

Changes:
--------
--- /work/SRC/openSUSE:Factory/qore-mysql-module/qore-mysql-module.changes      
2020-12-21 10:26:52.656215264 +0100
+++ 
/work/SRC/openSUSE:Factory/.qore-mysql-module.new.1899/qore-mysql-module.changes
    2021-08-01 21:51:39.439234662 +0200
@@ -1,0 +2,9 @@
+Sat Jun 12 14:10:37 UTC 2021 - Ferdinand Thiessen <r...@fthiessen.de>
+
+- Update to version 2.0.2.1 for qore 0.9.15
+  * Fixed selectRow() to properly report errors in fetching data
+  * Implemented support for the collation option for mysql
+  * Updated to QoreValue API
+  * Minor bugfixes
+
+-------------------------------------------------------------------

Old:
----
  qore-mysql-module-2.0.2.1.tar.bz2

New:
----
  module-mysql-release-0.9.15.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ qore-mysql-module.spec ++++++
--- /var/tmp/diff_new_pack.QHOq2o/_old  2021-08-01 21:51:40.583233316 +0200
+++ /var/tmp/diff_new_pack.QHOq2o/_new  2021-08-01 21:51:40.583233316 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package qore-mysql-module
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,69 +12,64 @@
 # 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/
 #
 
 
+%define qore_version 0.9.15
+%define src_name module-mysql-release-%{qore_version}
 %define module_api %(qore --latest-module-api 2>/dev/null)
-%define module_dir %{_libdir}/qore-modules
 Name:           qore-mysql-module
-Version:        2.0.2.1
+Version:        2.0.2.1+qore%{qore_version}
 Release:        0
 Summary:        MySQL DBI module for Qore
 License:        LGPL-2.1-or-later OR GPL-2.0-or-later
 Group:          Development/Languages/Other
-Url:            http://qore.org
-Source:         
https://github.com/qorelanguage/module-mysql/releases/download/v%{version}/%{name}-%{version}.tar.bz2
+Url:            https://qore.org
+Source:         
https://github.com/qorelanguage/module-mysql/archive/release-%{qore_version}/%{src_name}.tar.gz
+BuildRequires:  cmake
 BuildRequires:  doxygen
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libmysqlclient-devel
 BuildRequires:  qore
-BuildRequires:  qore-devel
+BuildRequires:  qore-devel >= 0.9
 Requires:       %{_bindir}/env
-Requires:       qore-module-api-%{module_api}
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Requires:       qore-module(abi)%{?_isa} = %{module_api}
 
 %description
 MySQL DBI driver module for the Qore Programming Language. The MySQL driver is
 character set aware and supports multithreading, transaction management, and
 stored procedure execution.
 
+%package doc
+Summary:        MySQL DBI module for Qore
+Group:          Development/Languages/Other
+BuildArch:      noarch
+
+%description doc
+MySQL module for the Qore Programming Language.
+
+This package provides API documentation, and example programs
+
 %prep
-%setup -q
+%setup -q -n %{src_name}
 
 %build
-%ifarch x86_64 aarch64 ppc64 ppc64le s390x
-c64=--enable-64bit
-%endif
-CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" ./configure 
RPM_OPT_FLAGS="%{optflags}" --prefix=/usr --disable-debug $c64
-make %{?_smp_mflags}
+%cmake
+%cmake_build
+make %{?_smp_mflags} docs
 
 %install
-mkdir -p %{buildroot}/%{module_dir}
-mkdir -p %{buildroot}%{_datadir}/doc/qore-mysql-module
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
-find test -type f|xargs chmod 644
-%fdupes -s docs
+%cmake_install
+%fdupes -s %{__builddir}/html
 
 %files
-%defattr(-,root,root,-)
-%{module_dir}
-%doc README RELEASE-NOTES ChangeLog AUTHORS
 %license COPYING.GPL COPYING.LGPL
-
-%package doc
-Summary:        MySQL DBI module for Qore
-Group:          Development/Languages/Other
-
-%description doc
-MySQL module for the Qore Programming Language.
-
-This RPM provides API documentation, test and example programs
+%doc README RELEASE-NOTES AUTHORS
+%{_libdir}/qore-modules
 
 %files doc
-%defattr(-,root,root,-)
-%doc docs/mysql/html test/db-test.q test/sql-stmt.q
+%doc %{__builddir}/html
 
 %changelog

Reply via email to