Hello community,
here is the log from the commit of package python-mysql-connector-python for
openSUSE:Factory checked in at 2016-10-23 12:52:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mysql-connector-python (Old)
and /work/SRC/openSUSE:Factory/.python-mysql-connector-python.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mysql-connector-python"
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-mysql-connector-python/python-mysql-connector-python.changes
2014-10-22 16:22:56.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.python-mysql-connector-python.new/python-mysql-connector-python.changes
2016-10-23 12:52:47.000000000 +0200
@@ -1,0 +2,11 @@
+Fri Oct 21 14:17:52 UTC 2016 - [email protected]
+
+- update to 2.1.4
+ * significant incompatible changes from 1.2 line
+ * better Django compatibility
+ * C extension linking to libmysqlclient is available
+ (not included in this version of package)
+ * bug fixes
+- includes fix for CVE-2016-5598, bsc#1005559
+
+-------------------------------------------------------------------
Old:
----
mysql-connector-python-1.2.3.zip
New:
----
mysql-connector-python-2.1.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-mysql-connector-python.spec ++++++
--- /var/tmp/diff_new_pack.PbzDIq/_old 2016-10-23 12:52:48.000000000 +0200
+++ /var/tmp/diff_new_pack.PbzDIq/_new 2016-10-23 12:52:48.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-mysql-connector-python
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -17,22 +17,16 @@
Name: python-mysql-connector-python
-Version: 1.2.3
+Version: 2.1.4
Release: 0
Summary: MySQL driver written in Python
License: SUSE-GPL-2.0-with-FLOSS-exception
Group: Development/Languages/Python
Url: http://dev.mysql.com/doc/connector-python/en/index.html
-Source: mysql-connector-python-%{version}.zip
-#Source:
http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-%{version}.zip#md5=6d42998cfec6e85b902d4ffa5a35ce86
-BuildRequires: python-devel
-BuildRequires: unzip
+Source:
http://dev.mysql.com/get/Downloads/Connector-Python/mysql-connector-python-%{version}.tar.gz
+BuildRequires: python-base
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
BuildArch: noarch
-%endif
%description
MySQL driver written in Python which does not depend on MySQL C client
libraries and implements the DB API v2.0 specification (PEP-249).
@@ -47,12 +41,16 @@
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
#FIXME(toabctl): Reenable testuite
+# probably won't work against mariadb 10
+# the test script is using rather deep details
+# of `mysql` table structure
+# --matejcik
#%check
-#nosetests
+#python unittests.py --with-mysql=/usr
%files
%defattr(-,root,root,-)
-%doc README COPYING ChangeLog
+%doc README.txt CHANGES.txt LICENSE.txt
%{python_sitelib}/*
%changelog