SPECS: python-MySQLdb.spec - added py2.5.patch to fix working on 6...

wiget wiget at pld-linux.org
Thu Sep 28 10:50:14 CEST 2006


Author: wiget                        Date: Thu Sep 28 08:50:14 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added py2.5.patch to fix working on 64bit archs, release 6

---- Files affected:
SPECS:
   python-MySQLdb.spec (1.44 -> 1.45) 

---- Diffs:

================================================================
Index: SPECS/python-MySQLdb.spec
diff -u SPECS/python-MySQLdb.spec:1.44 SPECS/python-MySQLdb.spec:1.45
--- SPECS/python-MySQLdb.spec:1.44	Thu Sep 28 08:51:08 2006
+++ SPECS/python-MySQLdb.spec	Thu Sep 28 10:50:08 2006
@@ -3,14 +3,16 @@
 Summary(pl):	Interfejs Pythona do MySQL
 Name:		python-MySQLdb
 Version:	1.2.1_p2
-Release:	5
+Release:	6
 License:	GPL
 Group:		Libraries/Python
 Source0:	http://dl.sourceforge.net/mysql-python/MySQL-python-%{version}.tar.gz
 # Source0-md5:	e6b9ea21fd91cb4a5663304da727bb70
+Patch0:		%{name}-py2.5.patch
 URL:		http://sourceforge.net/projects/mysql-python/
 BuildRequires:	mysql-devel >= 4.0.10
-BuildRequires:	python-devel >= 2.3.4
+# fix py2.5.patch ( http://www.python.org/dev/peps/pep-0353/ ) or 
+BuildRequires:	python-devel >= 2.5
 BuildRequires:	zlib-devel
 %pyrequires_eq	python-modules
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -28,7 +30,8 @@
 języka Python.
 
 %prep
-%setup -q -n MySQL-python-%{version}
+%setup  -q -n MySQL-python-%{version}
+%patch0 -p1
 
 %build
 env CFLAGS="%{rpmcflags} -DHAVE_OPENSSL=1" %{_bindir}/python setup.py build
@@ -61,6 +64,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.45  2006/09/28 08:50:08  wiget
+- added py2.5.patch to fix working on 64bit archs, release 6
+
 Revision 1.44  2006/09/28 06:51:08  wiget
 - include *.egg-info in package, release 5
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-MySQLdb.spec?r1=1.44&r2=1.45&f=u



More information about the pld-cvs-commit mailing list