forked from pool/python-PyMySQL
Accepting request 611837 from home:kukuk:branches:devel:languages:python
- use %license instead of %doc [bsc#1082318] - update to latest version to solve MySQLdb interface problems with salt-2018 - update to 0.8.1 * Reduce `cursor.callproc()` roundtrip time. (#636) * Fixed `cursor.query()` is hunged after multi statement failed. (#647) * WRONG_DB_NAME and WRONG_COLUMN_NAME is ProgrammingError for now. (#629) * Many test suite improvements, especially adding MySQL 8.0 and using Docker. * Droppped support for old Python and MySQL whih is not tested long time. - update to 0.8 * **BACKWARD INCOMPATIBLE** ``binary_prefix`` option is added and off by default because of compatibility with mysqlclient. When you need PyMySQL 0.7 behavior, you have to pass ``binary_prefix=True``. (#549) * **BACKWARD INCOMPATIBLE** ``MULTI_STATEMENTS`` client flag is no longer set by default, while it was on PyMySQL 0.7. You need to pass ``client_flag=CLIENT.MULTI_STATEMENTS`` when you connect to explicitly enable multi-statement mode. (#590) * Fixed AuthSwitch packet handling. * Raise OperationalError for MariaDB's constraint error. (#607) * executemany() accepts query without space between ``VALUES`` and ``(``. (#597) * Support config file containing option without value. (#588) * Fixed Connection.ping() returned unintended value. OBS-URL: https://build.opensuse.org/request/show/611837 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMySQL?expand=0&rev=16
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-PyMySQL
|
||||
#
|
||||
# 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
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-PyMySQL
|
||||
Version: 0.7.11
|
||||
Version: 0.8.1
|
||||
Release: 0
|
||||
Summary: Pure Python MySQL Driver
|
||||
License: MIT
|
||||
@@ -60,7 +60,8 @@ sed -i '1 { /^#!/ d }' pymysql/tests/thirdparty/test_MySQLdb/*.py
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGELOG LICENSE README.rst
|
||||
%license LICENSE
|
||||
%doc CHANGELOG README.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user