[mysql-connector-python/el6] update to 1.0.5

Remi Collet remi at fedoraproject.org
Fri Aug 10 06:50:26 UTC 2012


commit 96d4b10632323fe153ed0bf955e28febb573e1c6
Author: remi <fedora at famillecollet.com>
Date:   Fri Aug 10 08:50:14 2012 +0200

    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 295beae..93e731f 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:        2%{?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 <remi at fedoraproject.org> - 1.0.5-1
+- version 1.0.5 (beta)
+- move from launchpad (devel) to dev.mysql.com
+
 * Sun Jul 29 2012 Remi Collet <remi at fedoraproject.org> 0.3.2-2
 - EL6 build
 
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


More information about the scm-commits mailing list