From 89dc2433275e04430e9aeaf9906760ac5fe208f1 Mon Sep 17 00:00:00 2001 From: adustman Date: Mon, 12 Mar 2001 01:11:20 +0000 Subject: [PATCH] More cruft removal. --- mysql/MySQL-python.spec | 59 ----------------------------------------- mysql/Setup.in | 15 ----------- 2 files changed, 74 deletions(-) delete mode 100644 mysql/MySQL-python.spec delete mode 100644 mysql/Setup.in diff --git a/mysql/MySQL-python.spec b/mysql/MySQL-python.spec deleted file mode 100644 index ce80b67..0000000 --- a/mysql/MySQL-python.spec +++ /dev/null @@ -1,59 +0,0 @@ -%define ver 0.3.0b1 -%define rel 1 -Summary: Python interface to MySQL-3.22 and 3.23 -Name: MySQL-python -Version: %ver -Release: %rel -Copyright: Python-style -Group: Applications/Databases -Source: http://dustman.net/andy/python/MySQLdb/%ver/MySQLdb-%ver.tar.gz -URL: http://dustman.net/andy/python/MySQLdb -Requires: python >= 1.5.2 -BuildRoot: /tmp/mysqldb-root -Packager: Andy Dustman -#Icon: linux-python-db-icon.gif - -%changelog - -* Fri Mar 10 2000 Andy Dustman - -- change the name so that it's more of a MySQL package rather than - a Python package. - -* Tue Apr 06 1999 Andy Dustman - -- initial release - -- mostly this spec is ripped off from Oli Andrich. - -%description -Python interface to MySQL-3.22 - -MySQLdb is an interface to the popular MySQL database server for Python. -The design goals are: - -- Compliance with Python database API version 2.0 -- Thread-safety -- Thread-friendliness (threads will not block each other) -- Compatibility with MySQL 3.22 - -This module should be mostly compatible with an older interface -written by Joe Skinner and others. However, the older version is -a) not thread-friendly, b) written for MySQL 3.21, c) apparently -not actively maintained. No code from that version is used in -MySQLdb. MySQLdb is distributed free of charge under a license -derived from the Python license. -%prep -%setup -n MySQLdb-%ver - -%build -python setup.py build - -%install -python setup.py install --root $RPM_BUILD_ROOT -%clean -rm -rf $RPM_BUILD_ROOT -%files -%defattr(-, root, root) -%doc license.py examples/* doc/*.html doc/*.sgml README -/usr/lib/python*/site-packages/* diff --git a/mysql/Setup.in b/mysql/Setup.in deleted file mode 100644 index 1eaecba..0000000 --- a/mysql/Setup.in +++ /dev/null @@ -1,15 +0,0 @@ -*shared* -# Only one line should be uncommented. -# Adjust -L and -I as necessary for your local configuration. -# I find that 3.23 requires libz. It probably won't hurt earlier versions. -_mysql _mysqlmodule.c -L/usr/lib/mysql -I/usr/include/mysql -lmysqlclient -lz - -# If you have dynamic MySQL libraries, they will need to be on your -# LD_LIBRARY_PATH at runtime. But you are probably better off linking -# against the static mysqlclient library. If the above line doesn't work -# for you (it works for me with the standard MySQL RPMs), try this: -#_mysql _mysqlmodule.c -I/usr/include/mysql /usr/lib/mysql/libmysqlclient.a -lz - -# Uncomment for Windows -#_mysql _mysqlmodule.c -L/mysql/lib/opt -I/mysql/include -lmysqlclient -lwsock32 -