Accepting request 577102 from home:winski:python
- Update to 2.1.7 - Convert to singlespec OBS-URL: https://build.opensuse.org/request/show/577102 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mysql-connector-python?expand=0&rev=11
This commit is contained in:
committed by
Git OBS Bridge
parent
ac679ccab1
commit
41cb0615b9
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f34f2ac9984c3b3065347506653b88cb2661b0a891871c80dc767c3a1352079b
|
||||
size 11766506
|
||||
3
mysql-connector-python-2.1.7.tar.gz
Normal file
3
mysql-connector-python-2.1.7.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:059e15a5d67aab1252f93c7136b7e281dfbad5aee7ac4405acb2441e68aff81a
|
||||
size 11781659
|
||||
@@ -1,3 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 15 20:40:57 UTC 2018 - jacobwinski@gmail.com
|
||||
|
||||
- Update to 2.1.7:
|
||||
* BUG#26376334: Fix prepared statements in MySQL 8.0
|
||||
* BUG#25965922: Add support for Django 1.11
|
||||
* BUG#24659561: Fix MySQLCursor.executemany() when using utf8mb4 charset
|
||||
* BUG#24342757: Fix unclosed socket on connection failure
|
||||
* BUG#22880163: Fix memory leak on using Named Tuple Cursors
|
||||
* BUG#22825962: Fix memory leak on escape_string()
|
||||
* BUG#22564149: Fix cmd_query_iter() when using bytestrings with Python 2
|
||||
* BUG#21947091: Add ssl_disabled option
|
||||
|
||||
- Update to 2.1.6:
|
||||
* BUG#25726671: Fix compatibility issues with the latest Django versions
|
||||
* BUG#25558885: Set default connection timeout to pure connector/python
|
||||
* BUG#25397650: Verify server certificate only if ssl_verify_cert is True
|
||||
* BUG#25589496: Don't convert to unicode if non-ascii data is present
|
||||
* BUG#25383644: Add connection back to pool on exception
|
||||
* BUG#22476689: Importing world.sql fails with cext enabled
|
||||
* BUG#20736339: Expect multiple include directories from mysql_config
|
||||
* BUG#19685386: C extension tests are failing using MySQL 5.7.4
|
||||
|
||||
- Update to 2.1.5:
|
||||
* BUG#25111218: Fix duplicate logic for reading EOF packet
|
||||
* BUG#21656282: Connection fails using unicode passwords with C extension
|
||||
* BUG#21530841: Select statement fails for results with more than 4096 columns
|
||||
* BUG#21530100: Fix reading option files
|
||||
* BUG#21477493: Fix RE_SQL_INSERT_STMT to correctly match Insert Statement
|
||||
* BUG#21476495: Fix set_charset_collation() for an invalid charset provided
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 15 20:30:11 UTC 2018 - jacobwinski@gmail.com
|
||||
|
||||
- Fix spec file bug not installing c libs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 12 21:29:34 UTC 2018 - jacobwinski@gmail.com
|
||||
|
||||
- Update spec file with needed BuildRequires.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 12 20:04:55 UTC 2018 - jacobwinski@gmail.com
|
||||
|
||||
- Convert to singlespec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 21 14:17:52 UTC 2016 - jmatejek@suse.com
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-mysql-connector-python
|
||||
#
|
||||
# Copyright (c) 2016 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
|
||||
@@ -16,17 +16,22 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-mysql-connector-python
|
||||
Version: 2.1.4
|
||||
Version: 2.1.7
|
||||
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: http://dev.mysql.com/get/Downloads/Connector-Python/mysql-connector-python-%{version}.tar.gz
|
||||
BuildRequires: python-base
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%python_subpackages
|
||||
|
||||
%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).
|
||||
@@ -35,21 +40,23 @@ MySQL driver written in Python which does not depend on MySQL C client libraries
|
||||
%setup -q -n mysql-connector-python-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
# bug in setuptools prevents proper c lib installation
|
||||
# when using python_install so use custom python_exec instead
|
||||
%python_exec setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
#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
|
||||
#check
|
||||
#python unittests.py --with-mysql=/usr
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%files %{python_files}
|
||||
%doc README.txt CHANGES.txt LICENSE.txt
|
||||
%{python_sitelib}/*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user