]> git.pld-linux.org Git - packages/python-psycopg2.git/blobdiff - python-psycopg2.spec
- Release 3. Killed nonworking mx bcond. Prepared for Ac.
[packages/python-psycopg2.git] / python-psycopg2.spec
index 471e82a99dde7b2ce0e4d2940d9fddc4af52d285..7df1843ec640efc6aa634e2e1d8deb5c96350fac 100644 (file)
@@ -7,17 +7,22 @@
 # mx.DateTime with your apps, but other see datetime datatype more
 # suitable for date and time as it is standard in Python.
 
+# Version 2.0.8 builds well with both datetime and mx.DateTime 
+# By default uses datetime
+# If sb really needs version _without_ mx pls do it on your own
+# with without_mx bcond
+
 %define        module  psycopg2
 
 Summary:       psycopg is a PostgreSQL database adapter for Python
 Summary(pl.UTF-8):     psycopg jest przeznaczonym dla Pythona interfejsem do bazy PostgreSQL
 Name:          python-%{module}
-Version:       2.0.5.1
-Release:       6
+Version:       2.0.8
+Release:       3
 License:       GPL
 Group:         Libraries/Python
 Source0:       http://initd.org/pub/software/psycopg/%{module}-%{version}.tar.gz
-# Source0-md5: 052e4b97dab47708fdcdc36ffb25af66
+# Source0-md5: 2c31827878d436b0c89e777989ff55af
 #Patch0:               %{name}-lib64.patch
 URL:           http://www.initd.org/software/psycopg/
 BuildRequires: autoconf
@@ -25,9 +30,8 @@ BuildRequires:        postgresql-backend-devel
 BuildRequires: postgresql-devel
 BuildRequires: python-devel
 BuildRequires: rpm-pythonprov
-# see note at the begining of the spec file
-#BuildRequires:        python-mx-DateTime-devel
-#Requires:     python-mx-DateTime
+BuildRequires: python-mx-DateTime-devel
+Requires:      python-mx-DateTime
 Requires:      postgresql-libs
 %pyrequires_eq python-modules
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -107,6 +111,9 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{py_sitedir}/%{module}
 %attr(755,root,root) %{py_sitedir}/%{module}/*.so
 %{py_sitedir}/%{module}/*.py[co]
+%if "%{py_ver}" > "2.4"
+%{py_sitedir}/*.egg-info
+%endif
 
 #%files -n Zope-%{zope_subname}
 #%defattr(644,root,root,755)
This page took 0.029029 seconds and 4 git commands to generate.