- version 1.1.4 GA
http://dev.mysql.com/doc/relnotes/connector-python/en/news-1-1.html
- add link to documentation in package description
- raise dependency on python 2.6
(cherry picked from commit 1a6cd639c1)
This commit is contained in:
parent
efa419fc51
commit
45b2b6e939
3 changed files with 26 additions and 6 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -1,4 +1,5 @@
|
|||
*spec~
|
||||
mysql-connector-python.spec~
|
||||
clog
|
||||
/mysql-connector-python-0.3.2-devel.tar.gz
|
||||
/mysql-connector-python-1.0.5.tar.gz
|
||||
/mysql-connector-python-1.0.6b1-nodocs.tar.bz2
|
||||
|
|
@ -9,3 +10,4 @@
|
|||
/mysql-connector-python-1.0.10.tar.gz
|
||||
/mysql-connector-python-1.0.11.tar.gz
|
||||
/mysql-connector-python-1.0.12.tar.gz
|
||||
/mysql-connector-python-1.1.4.tar.gz
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
%global with_tests %{?_with_tests:1}%{!?_with_tests:0}
|
||||
|
||||
Name: mysql-connector-python
|
||||
Version: 1.0.12
|
||||
Version: 1.1.4
|
||||
Release: 1%{?dist}
|
||||
Summary: MySQL Connector for Python 2
|
||||
|
||||
|
|
@ -34,9 +34,9 @@ Source0: %{name}-%{version}.tar.gz
|
|||
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-devel >= 2.6
|
||||
%if 0%{?with_python3}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-devel >= 3
|
||||
%endif
|
||||
%if %{with_tests}
|
||||
# for unittest
|
||||
|
|
@ -49,6 +49,9 @@ MySQL Connector/Python is implementing the MySQL Client/Server protocol
|
|||
completely in Python. No MySQL libraries are needed, and no compilation
|
||||
is necessary to run this Python DB API v2.0 compliant driver.
|
||||
|
||||
Documentation: http://dev.mysql.com/doc/connector-python/en/index.html
|
||||
|
||||
|
||||
%if 0%{?with_python3}
|
||||
%package -n mysql-connector-python3
|
||||
Summary: MySQL Connector for Python 3
|
||||
|
|
@ -57,6 +60,8 @@ Summary: MySQL Connector for Python 3
|
|||
MySQL Connector/Python is implementing the MySQL Client/Server protocol
|
||||
completely in Python. No MySQL libraries are needed, and no compilation
|
||||
is necessary to run this Python DB API v2.0 compliant driver.
|
||||
|
||||
Documentation: http://dev.mysql.com/doc/connector-python/en/index.html
|
||||
%endif
|
||||
|
||||
|
||||
|
|
@ -84,8 +89,15 @@ rm -rf build
|
|||
|
||||
%check
|
||||
%if %{with_tests}
|
||||
# known failed tests
|
||||
# bugs.BugOra14201459.test_error1426
|
||||
|
||||
%{__python2} unittests.py \
|
||||
--mysql-basedir=%{_prefix} \
|
||||
--with-mysql=%{_prefix} \
|
||||
--verbosity=1
|
||||
|
||||
%{__python3} unittests.py \
|
||||
--with-mysql=%{_prefix} \
|
||||
--verbosity=1
|
||||
%else
|
||||
: echo test suite disabled, need '--with tests' option
|
||||
|
|
@ -112,6 +124,12 @@ rm -rf %{buildroot}
|
|||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Dec 17 2013 Remi Collet <remi@fedoraproject.org> - 1.1.4-1
|
||||
- version 1.1.4 GA
|
||||
http://dev.mysql.com/doc/relnotes/connector-python/en/news-1-1.html
|
||||
- add link to documentation in package description
|
||||
- raise dependency on python 2.6
|
||||
|
||||
* Mon Aug 26 2013 Remi Collet <remi@fedoraproject.org> - 1.0.12-1
|
||||
- version 1.0.12 GA
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
caac07dc8fa08d1f55ad0c51491d2ba7 mysql-connector-python-1.0.12.tar.gz
|
||||
1b5885a0ab65fd996ff49a303bca5ce7 mysql-connector-python-1.1.4.tar.gz
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue