[mysql-connector-python/f18] update to 1.0.12 (GA)
Remi Collet
remi at fedoraproject.org
Mon Aug 26 16:18:01 UTC 2013
commit 22f13e5bb66dcc94c7f43fc5837f909c37400b8e
Author: Remi Collet <remi at fedoraproject.org>
Date: Mon Aug 26 18:17:46 2013 +0200
update to 1.0.12 (GA)
.gitignore | 2 ++
mysql-connector-python.spec | 29 +++++++++++++++++++++--------
sources | 2 +-
3 files changed, 24 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4f1db38..949e6f7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,5 @@
/mysql-connector-python-1.0.8-nodocs.tar.bz2
/mysql-connector-python-1.0.9-nodocs.tar.bz2
/mysql-connector-python-1.0.10.tar.gz
+/mysql-connector-python-1.0.11.tar.gz
+/mysql-connector-python-1.0.12.tar.gz
diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec
index 635068e..f3ab7a9 100644
--- a/mysql-connector-python.spec
+++ b/mysql-connector-python.spec
@@ -1,4 +1,13 @@
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+# spec file for mysql-connector-python
+#
+# Copyright (c) 2011-2013 Remi Collet
+# License: CC-BY-SA
+# http://creativecommons.org/licenses/by-sa/3.0/
+#
+# Please, preserve the changelog entries
+#
+%{!?__python2: %global __python2 %{__python}}
+%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%if 0%{?fedora} >= 13
%global with_python3 1
@@ -11,7 +20,7 @@
%global with_tests %{?_with_tests:1}%{!?_with_tests:0}
Name: mysql-connector-python
-Version: 1.0.10
+Version: 1.0.12
Release: 1%{?dist}
Summary: MySQL Connector for Python 2
@@ -25,12 +34,14 @@ Source0: %{name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: python-devel
+BuildRequires: python2-devel
%if 0%{?with_python3}
BuildRequires: python3-devel
%endif
+%if %{with_tests}
# for unittest
BuildRequires: mysql-server
+%endif
%description
@@ -40,8 +51,7 @@ is necessary to run this Python DB API v2.0 compliant driver.
%if 0%{?with_python3}
%package -n mysql-connector-python3
-
-Summary: MySQL Connector for Python 3
+Summary: MySQL Connector for Python 3
%description -n mysql-connector-python3
MySQL Connector/Python is implementing the MySQL Client/Server protocol
@@ -69,12 +79,12 @@ rm -rf build
%endif
# Python 2 build (end with this for tests)
-%{__python} setup.py install --root %{buildroot}
+%{__python2} setup.py install --root %{buildroot}
%check
%if %{with_tests}
-%{__python} unittests.py \
+%{__python2} unittests.py \
--mysql-basedir=%{_prefix} \
--verbosity=1
%else
@@ -90,7 +100,7 @@ rm -rf %{buildroot}
%defattr(-,root,root,-)
%doc ChangeLog COPYING README* docs/README_DOCS.txt
%doc python2/examples
-%{python_sitelib}/*
+%{python2_sitelib}/*
%if 0%{?with_python3}
@@ -102,6 +112,9 @@ rm -rf %{buildroot}
%endif
%changelog
+* Mon Aug 26 2013 Remi Collet <remi at fedoraproject.org> - 1.0.12-1
+- version 1.0.12 GA
+
* Wed May 8 2013 Remi Collet <remi at fedoraproject.org> - 1.0.10-1
- version 1.0.10 GA
- archive is now free (no more doc to strip)
diff --git a/sources b/sources
index 3cfc38c..e0ae4d0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-439c769f9121d4cf24f4f8590c5a9c00 mysql-connector-python-1.0.10.tar.gz
+caac07dc8fa08d1f55ad0c51491d2ba7 mysql-connector-python-1.0.12.tar.gz
More information about the scm-commits
mailing list