|
|
3376f0 |
Summary: An interface to MySQL
|
|
|
3376f0 |
Name: MySQL-python
|
|
|
d9cb6a |
Version: 1.2.5
|
|
|
d9cb6a |
Release: 1%{?dist}
|
|
|
3376f0 |
License: GPLv2+
|
|
|
3376f0 |
Group: Development/Libraries
|
|
|
d9cb6a |
URL: https://github.com/farcepest/MySQLdb1
|
|
|
3376f0 |
|
|
|
d9cb6a |
Source0: http://pypi.python.org/packages/source/M/%{name}/%{name}-%{version}.zip
|
|
|
3376f0 |
|
|
|
3376f0 |
Patch1: MySQL-python-no-openssl.patch
|
|
|
3376f0 |
|
|
|
3376f0 |
BuildRequires: python2-devel python-setuptools
|
|
|
3376f0 |
BuildRequires: mysql-devel zlib-devel
|
|
|
3376f0 |
# is this still needed?
|
|
|
3376f0 |
# Requires: mx
|
|
|
3376f0 |
|
|
|
3376f0 |
%description
|
|
|
3376f0 |
Python interface to MySQL
|
|
|
3376f0 |
|
|
|
3376f0 |
MySQLdb is an interface to the popular MySQL database server for Python.
|
|
|
3376f0 |
The design goals are:
|
|
|
3376f0 |
|
|
|
3376f0 |
- Compliance with Python database API version 2.0
|
|
|
3376f0 |
- Thread-safety
|
|
|
3376f0 |
- Thread-friendliness (threads will not block each other)
|
|
|
3376f0 |
- Compatibility with MySQL 3.23 and up
|
|
|
3376f0 |
|
|
|
3376f0 |
This module should be mostly compatible with an older interface
|
|
|
3376f0 |
written by Joe Skinner and others. However, the older version is
|
|
|
3376f0 |
a) not thread-friendly, b) written for MySQL 3.21, c) apparently
|
|
|
3376f0 |
not actively maintained. No code from that version is used in MySQLdb.
|
|
|
3376f0 |
|
|
|
3376f0 |
%prep
|
|
|
3376f0 |
%setup -q -n %{name}-%{version}
|
|
|
3376f0 |
|
|
|
3376f0 |
%patch1 -p1
|
|
|
3376f0 |
|
|
|
3376f0 |
%build
|
|
|
3376f0 |
rm -f doc/*~
|
|
|
3376f0 |
export libdirname=%{_lib}
|
|
|
3376f0 |
CFLAGS="$RPM_OPT_FLAGS" python setup.py build
|
|
|
3376f0 |
|
|
|
3376f0 |
%install
|
|
|
3376f0 |
export libdirname=%{_lib}
|
|
|
3376f0 |
python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
|
|
|
3376f0 |
|
|
|
3376f0 |
%files -f INSTALLED_FILES
|
|
|
d9cb6a |
%doc README.md doc/*
|
|
|
3376f0 |
%dir %{python_sitearch}/MySQLdb
|
|
|
3376f0 |
%{python_sitearch}/MySQLdb/*.pyo
|
|
|
3376f0 |
%{python_sitearch}/MySQLdb/constants/*.pyo
|
|
|
3376f0 |
%{python_sitearch}/*.pyo
|
|
|
3376f0 |
%dir %{python_sitearch}/MySQLdb/constants
|
|
|
3376f0 |
|
|
|
3376f0 |
%changelog
|
|
|
d9cb6a |
* Thu Oct 15 2015 Jakub Dorňák <jdornak@redhat.com> - 1.2.5-1
|
|
|
d9cb6a |
- Update to 1.2.5
|
|
|
d9cb6a |
Resolves: #1266849
|
|
|
d9cb6a |
|
|
|
bb6573 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.2.3-11
|
|
|
bb6573 |
- Mass rebuild 2014-01-24
|
|
|
bb6573 |
|
|
|
bb6573 |
* Wed Jan 15 2014 Honza Horak <hhorak@redhat.com> - 1.2.3-10
|
|
|
bb6573 |
- Rebuild for mariadb-libs
|
|
|
bb6573 |
Related: #1045013
|
|
|
bb6573 |
|
|
|
bb6573 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.2.3-9
|
|
|
bb6573 |
- Mass rebuild 2013-12-27
|
|
|
bb6573 |
|
|
|
3376f0 |
* Mon Jul 29 2013 Honza Horak <hhorak@redhat.com> - 1.2.3-8
|
|
|
3376f0 |
- Spec file clean-up, use proper python paths
|
|
|
3376f0 |
|
|
|
3376f0 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-7
|
|
|
3376f0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
3376f0 |
|
|
|
3376f0 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-6
|
|
|
3376f0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
3376f0 |
|
|
|
3376f0 |
* Sat Jul 14 2012 Tom Lane <tgl@redhat.com> 1.2.3-5
|
|
|
3376f0 |
- Fix failure to enable SSL support with mysql 5.5, per Matthias Runge
|
|
|
3376f0 |
|
|
|
3376f0 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-4
|
|
|
3376f0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
3376f0 |
|
|
|
3376f0 |
* Tue Mar 22 2011 Tom Lane <tgl@redhat.com> 1.2.3-3
|
|
|
3376f0 |
- Rebuild for libmysqlclient 5.5.10 soname version bump
|
|
|
3376f0 |
|
|
|
3376f0 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-2
|
|
|
3376f0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
3376f0 |
|
|
|
3376f0 |
* Fri Dec 24 2010 Tom Lane <tgl@redhat.com> 1.2.3-1
|
|
|
3376f0 |
- Update to final release of 1.2.3
|
|
|
3376f0 |
Resolves: #660484
|
|
|
3376f0 |
- Rebuild was needed anyway for mysql ABI break (no more libmysqlclient_r)
|
|
|
3376f0 |
|
|
|
3376f0 |
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1.2.3-0.5.c1
|
|
|
3376f0 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
3376f0 |
|
|
|
3376f0 |
* Mon Nov 23 2009 Tom Lane <tgl@redhat.com> 1.2.3-0.4.c1
|
|
|
3376f0 |
- Fix format mismatch in _mysql_ConnectionObject_kill
|
|
|
3376f0 |
Resolves: #538234
|
|
|
3376f0 |
|
|
|
3376f0 |
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 1.2.3-0.3.c1
|
|
|
3376f0 |
- rebuilt with new openssl
|
|
|
3376f0 |
|
|
|
3376f0 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-0.2.c1
|
|
|
3376f0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
3376f0 |
|
|
|
3376f0 |
* Sun Jun 28 2009 Tom Lane <tgl@redhat.com> 1.2.3-0.1.c1
|
|
|
3376f0 |
- Update to release candidate 1.2.3c1 for better mysql 5.1 and python 2.6
|
|
|
3376f0 |
compatibility
|
|
|
3376f0 |
Resolves: #505611
|
|
|
3376f0 |
- Use python-setuptools instead of distutils, stop using old setup.py
|
|
|
3376f0 |
Resolves: #467510
|
|
|
3376f0 |
- Remove unnecessary manual Requires: specifications
|
|
|
3376f0 |
Resolves: #507750
|
|
|
3376f0 |
|
|
|
3376f0 |
* Wed Apr 15 2009 Karsten Hopp <karsten@redhat.com> 1.2.2-11
|
|
|
3376f0 |
- bump release and rebuild for s390x
|
|
|
3376f0 |
|
|
|
3376f0 |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-10
|
|
|
3376f0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
3376f0 |
|
|
|
3376f0 |
* Thu Jan 22 2009 Tom Lane <tgl@redhat.com> 1.2.2-9
|
|
|
3376f0 |
- Rebuild for mysql 5.1
|
|
|
3376f0 |
|
|
|
3376f0 |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.2.2-8
|
|
|
3376f0 |
- Rebuild for Python 2.6
|
|
|
3376f0 |
|
|
|
3376f0 |
* Thu Jun 19 2008 Tom Lane <tgl@redhat.com> 1.2.2-7
|
|
|
3376f0 |
- Fix broken escape() method
|
|
|
3376f0 |
Resolves: #331021
|
|
|
3376f0 |
|
|
|
3376f0 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2.2-6
|
|
|
3376f0 |
- Autorebuild for GCC 4.3
|
|
|
3376f0 |
|
|
|
3376f0 |
* Wed Dec 5 2007 Tom Lane <tgl@redhat.com> 1.2.2-5
|
|
|
3376f0 |
- Rebuild for new openssl
|
|
|
3376f0 |
|
|
|
3376f0 |
* Thu Aug 2 2007 Tom Lane <tgl@redhat.com> 1.2.2-4
|
|
|
3376f0 |
- Update License tag to match code.
|
|
|
3376f0 |
|
|
|
3376f0 |
* Tue Jul 3 2007 Tom Lane <tgl@redhat.com> 1.2.2-3
|
|
|
3376f0 |
- Ooops, previous fix for quoting bug was wrong, because it converted the
|
|
|
3376f0 |
version_info tuple to a string in Python's eyes
|
|
|
3376f0 |
Resolves: #246366
|
|
|
3376f0 |
|
|
|
3376f0 |
* Tue Jun 12 2007 Tom Lane <tgl@redhat.com> 1.2.2-2
|
|
|
3376f0 |
- Fix quoting bug in use of older setup.py: need to quote version_info now
|
|
|
3376f0 |
Resolves: #243877
|
|
|
3376f0 |
|
|
|
3376f0 |
* Fri Apr 20 2007 Tom Lane <tgl@redhat.com> 1.2.2-1
|
|
|
3376f0 |
- Update to 1.2.2, but not 1.2.2 setup.py (since we don't ship setuptools yet)
|
|
|
3376f0 |
|
|
|
3376f0 |
* Thu Dec 7 2006 Jeremy Katz <katzj@redhat.com> - 1.2.1_p2-2
|
|
|
3376f0 |
- rebuild for python 2.5
|
|
|
3376f0 |
|
|
|
3376f0 |
* Wed Dec 6 2006 Tom Lane <tgl@redhat.com> 1.2.1_p2-1
|
|
|
3376f0 |
- Update to 1.2.1_p2
|
|
|
3376f0 |
|
|
|
3376f0 |
* Fri Jul 21 2006 Tom Lane <tgl@redhat.com> 1.2.1-1
|
|
|
3376f0 |
- Update to 1.2.1
|
|
|
3376f0 |
- Remove hardwired python version number in favor of asking Python
|
|
|
3376f0 |
|
|
|
3376f0 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.2.0-3.2.2.1
|
|
|
3376f0 |
- rebuild
|
|
|
3376f0 |
|
|
|
3376f0 |
* Mon Feb 13 2006 Jesse Keating <jkeating@redhat.com> - 1.2.0-3.2.2
|
|
|
3376f0 |
- rebump for build order issues during double-long bump
|
|
|
3376f0 |
|
|
|
3376f0 |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.2.0-3.2.1
|
|
|
3376f0 |
- bump again for double-long bug on ppc(64)
|
|
|
3376f0 |
|
|
|
3376f0 |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.2.0-3.2
|
|
|
3376f0 |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
3376f0 |
|
|
|
3376f0 |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
3376f0 |
- rebuilt
|
|
|
3376f0 |
|
|
|
3376f0 |
* Wed Nov 9 2005 Tom Lane <tgl@redhat.com> 1.2.0-3
|
|
|
3376f0 |
- Rebuild due to mysql 5.0 update and openssl library update.
|
|
|
3376f0 |
|
|
|
3376f0 |
* Wed Aug 03 2005 Karsten Hopp <karsten@redhat.de> 1.2.0-2
|
|
|
3376f0 |
- package all python files. INSTALLED_FILES doesn't contain files created
|
|
|
3376f0 |
by the brp-python-bytecompile script
|
|
|
3376f0 |
|
|
|
3376f0 |
* Thu Apr 21 2005 Tom Lane <tgl@redhat.com> 1.2.0-1
|
|
|
3376f0 |
- Update to 1.2.0, per bug #155341
|
|
|
3376f0 |
- Link against mysql 4.x not 3.x, per bug #150828
|
|
|
3376f0 |
|
|
|
3376f0 |
* Sun Mar 6 2005 Tom Lane <tgl@redhat.com> 1.0.0-3
|
|
|
3376f0 |
- Rebuild with gcc4.
|
|
|
3376f0 |
|
|
|
3376f0 |
* Thu Nov 11 2004 Tom Lane <tgl@redhat.com> 1.0.0-2
|
|
|
3376f0 |
- bring us to python 2.4
|
|
|
3376f0 |
|
|
|
3376f0 |
* Thu Nov 11 2004 Tom Lane <tgl@redhat.com> 1.0.0-1
|
|
|
3376f0 |
- update to 1.0.0; rebuild against mysqlclient10
|
|
|
3376f0 |
|
|
|
3376f0 |
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
3376f0 |
- rebuilt
|
|
|
3376f0 |
|
|
|
3376f0 |
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
3376f0 |
- rebuilt
|
|
|
3376f0 |
|
|
|
3376f0 |
* Fri Feb 20 2004 Tom Lane <tgl@redhat.com>
|
|
|
3376f0 |
- reinstate (and update) patch for /usr/lib64 compatibility
|
|
|
3376f0 |
- rebuilt
|
|
|
3376f0 |
|
|
|
3376f0 |
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
3376f0 |
- rebuilt
|
|
|
3376f0 |
|
|
|
3376f0 |
* Tue Nov 25 2003 Patrick Macdonald <patrickm@redhat.com> 0.9.2-1
|
|
|
3376f0 |
- update to 0.9.2
|
|
|
3376f0 |
- remove patches (no longer applicable)
|
|
|
3376f0 |
|
|
|
3376f0 |
* Sat Nov 15 2003 Tom "spot" Callaway <tcallawa@redhat.com> 0.9.1-10
|
|
|
3376f0 |
- bring us to python 2.3
|
|
|
3376f0 |
|
|
|
3376f0 |
* Thu Jul 03 2003 Patrick Macdonald <patrickm@redhat.com> 0.9.1-9
|
|
|
3376f0 |
- rebuilt
|
|
|
3376f0 |
|
|
|
3376f0 |
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> 0.9.1-8
|
|
|
3376f0 |
- rebuilt
|
|
|
3376f0 |
|
|
|
3376f0 |
* Tue Mar 04 2003 Patrick Macdonald <patrickm@redhat.com> 0.9.1-7
|
|
|
3376f0 |
- explicitly define the constants directory in case a more
|
|
|
3376f0 |
restrictive umask is encountered (#74019)
|
|
|
3376f0 |
|
|
|
3376f0 |
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
3376f0 |
- rebuilt
|
|
|
3376f0 |
|
|
|
3376f0 |
* Wed Dec 11 2002 Tim Powers <timp@redhat.com> 0.9.1-5
|
|
|
3376f0 |
- lib64'ize
|
|
|
3376f0 |
|
|
|
3376f0 |
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
3376f0 |
- automated rebuild
|
|
|
3376f0 |
|
|
|
3376f0 |
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
3376f0 |
- automated rebuild
|
|
|
3376f0 |
|
|
|
3376f0 |
* Mon May 13 2002 Trond Eivind Glomsrd <teg@redhat.com> 0.9.1-2
|
|
|
3376f0 |
- Build for newer python
|
|
|
3376f0 |
|
|
|
3376f0 |
* Wed Mar 13 2002 Trond Eivind Glomsrd <teg@redhat.com> 0.9.1-1
|
|
|
3376f0 |
- 0.9.1
|
|
|
3376f0 |
|
|
|
3376f0 |
* Tue Feb 26 2002 Trond Eivind Glomsrd <teg@redhat.com> 0.9.0-6
|
|
|
3376f0 |
- Rebuild
|
|
|
3376f0 |
|
|
|
3376f0 |
* Thu Jan 31 2002 Elliot Lee <sopwith@redhat.com> 0.9.0-5
|
|
|
3376f0 |
- Change python conflicts to requires
|
|
|
3376f0 |
- Use pybasever/pynextver macros.
|
|
|
3376f0 |
|
|
|
3376f0 |
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
|
3376f0 |
- automated rebuild
|
|
|
3376f0 |
|
|
|
3376f0 |
* Fri Sep 14 2001 Trond Eivind Glomsrd <teg@redhat.com> 0.9.0-3
|
|
|
3376f0 |
- Build for Python 2.2
|
|
|
3376f0 |
|
|
|
3376f0 |
* Mon Jul 23 2001 Trond Eivind Glomsrd <teg@redhat.com>
|
|
|
3376f0 |
- Add zlib-devel to buildrequires (#49788)
|
|
|
3376f0 |
|
|
|
3376f0 |
* Tue Jun 19 2001 Trond Eivind Glomsrd <teg@redhat.com>
|
|
|
3376f0 |
- Initial build
|