From 8452dd22f937fd2c8d969bbc1f5d89cd06aec38a Mon Sep 17 00:00:00 2001 From: remi Date: Fri, 10 Aug 2012 08:38:53 +0200 Subject: [PATCH] update to 1.0.5 --- .gitignore | 2 ++ mysql-connector-python.spec | 32 ++++++++++++++++++++------------ sources | 2 +- 3 files changed, 23 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index fd80d34..af95c6d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ +*spec~ /mysql-connector-python-0.3.2-devel.tar.gz +/mysql-connector-python-1.0.5.tar.gz diff --git a/mysql-connector-python.spec b/mysql-connector-python.spec index a711441..3855c34 100644 --- a/mysql-connector-python.spec +++ b/mysql-connector-python.spec @@ -7,14 +7,17 @@ %endif Name: mysql-connector-python -Version: 0.3.2 -Release: 3%{?dist} +Version: 1.0.5 +Release: 1%{?dist} Summary: MySQL Connector for Python 2 Group: Development/Languages License: GPLv2 with exceptions -URL: https://launchpad.net/myconnpy -Source0: http://launchpad.net/myconnpy/0.3/%{version}/+download/%{name}-%{version}-devel.tar.gz +URL: http://dev.mysql.com/usingmysql/python/ +# Upstream has a mirror redirector for downloads, so the URL is hard to +# represent statically. You can get the tarball by following a link from +# http://dev.mysql.com/downloads/connector/python/ +Source0: %{name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -44,9 +47,8 @@ is necessary to run this Python DB API v2.0 compliant driver. %prep -%setup -q -n %{name}-%{version}-devel - -%{__chmod} -x python?/examples/*py +%setup -q +chmod -x python?/examples/*py %build @@ -54,12 +56,12 @@ is necessary to run this Python DB API v2.0 compliant driver. %install -%{__rm} -rf $RPM_BUILD_ROOT +rm -rf $RPM_BUILD_ROOT %if 0%{?with_python3} # Python 3 build %{__python3} setup.py install --root $RPM_BUILD_ROOT -%{__rm} -rf build +rm -rf build %endif # Python 2 build (end with this for tests) @@ -71,25 +73,31 @@ is necessary to run this Python DB API v2.0 compliant driver. %clean -%{__rm} -rf $RPM_BUILD_ROOT +rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc ChangeLog COPYING EXCEPTIONS-CLIENT README +%doc ChangeLog COPYING README %doc python2/examples +%doc docs %{python_sitelib}/* %if 0%{?with_python3} %files -n mysql-connector-python3 %defattr(-,root,root,-) -%doc ChangeLog COPYING EXCEPTIONS-CLIENT README +%doc ChangeLog COPYING README %doc python3/examples +%doc docs %{python3_sitelib}/* %endif %changelog +* Wed Aug 8 2012 Remi Collet - 1.0.5-1 +- version 1.0.5 (beta) +- move from launchpad (devel) to dev.mysql.com + * Fri Jan 13 2012 Fedora Release Engineering - 0.3.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild diff --git a/sources b/sources index ec99825..2755b3a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2ffdfa21c0a870cc7080f9f9a5ee3d87 mysql-connector-python-0.3.2-devel.tar.gz +5c3c0b1ad696610a4df944cb82651c10 mysql-connector-python-1.0.5.tar.gz