]> git.pld-linux.org Git - packages/python-MySQLdb.git/commitdiff
- updated to 1.1.0
authorleafnode <leafnode@pld-linux.org>
Tue, 25 May 2004 16:12:45 +0000 (16:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-MySQLdb.spec -> 1.23

python-MySQLdb.spec

index 170abc636b0600ea2c1bddf33751f7d78c0eb65e..5b2e56fc7fe9c32c55b02cee967e03f89406e251 100644 (file)
@@ -3,12 +3,12 @@
 Summary:       A Python interface to MySQL
 Summary(pl):   Interfejs Pythona do MySQL
 Name:          python-MySQLdb
-Version:       0.9.3b2
+Version:       1.1.0
 Release:       1
 License:       GPL
 Group:         Libraries/Python
 Source0:       http://dl.sourceforge.net/mysql-python/MySQL-python-%{version}.tar.gz
-# Source0-md5: 05467d8f6458527becb0b70c19b67498
+# Source0-md5: e961a6bca10dc3d502db74ad75423b0e
 URL:           http://sourceforge.net/projects/mysql-python/
 #Requires:     mysql >= 3.23.49
 BuildRequires: mysql-devel >= 4.0.10
@@ -38,19 +38,22 @@ env CFLAGS="%{rpmcflags}" %{_bindir}/python setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-python -- setup.py install --root=$RPM_BUILD_ROOT --optimize=2
+python -- setup.py install \
+       --root=$RPM_BUILD_ROOT \
+       --install-lib=%{py_sitescriptdir} \
+       --optimize=2
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README CHANGELOG doc/*.html
-%attr(755,root,root) %{py_sitedir}/*.so
-%{py_sitedir}/*.py?
+%doc README CHANGELOG doc/*
+%attr(755,root,root) %{py_sitescriptdir}/*.so
+%{py_sitescriptdir}/*.py?
 
-%dir %{py_sitedir}/MySQLdb
-%{py_sitedir}/MySQLdb/*.py?
+%dir %{py_sitescriptdir}/MySQLdb
+%{py_sitescriptdir}/MySQLdb/*.py?
 
-%dir %{py_sitedir}/MySQLdb/constants
-%{py_sitedir}/MySQLdb/constants/*.py?
+%dir %{py_sitescriptdir}/MySQLdb/constants
+%{py_sitescriptdir}/MySQLdb/constants/*.py?
This page took 0.487718 seconds and 4 git commands to generate.