]> git.pld-linux.org Git - packages/python-psycopg2.git/blobdiff - python-psycopg2.spec
- up to 2.0.8
[packages/python-psycopg2.git] / python-psycopg2.spec
index e0f0eca2d17588c6dccfa5a89a4a5921735de1ad..abb0e3f322cbfc9cba88672198d094194f01b09c 100644 (file)
@@ -1,4 +1,7 @@
 #
+# Conditional build:
+%bcond_with mx # build with egenix mx datetime support
+#
 # todo:
 # - zope adapter
 # - lib64 patch
 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.6
+Version:       2.0.8
 Release:       1
 License:       GPL
 Group:         Libraries/Python
 Source0:       http://initd.org/pub/software/psycopg/%{module}-%{version}.tar.gz
-# Source0-md5: e22a478b8eac5af5111ce8c697abaaa8
+# Source0-md5: 2c31827878d436b0c89e777989ff55af
 #Patch0:               %{name}-lib64.patch
 URL:           http://www.initd.org/software/psycopg/
 BuildRequires: autoconf
@@ -25,9 +28,12 @@ BuildRequires:       postgresql-backend-devel
 BuildRequires: postgresql-devel
 BuildRequires: python-devel
 BuildRequires: rpm-pythonprov
-# see note at the begining of the spec file
+%if %{with mx}
 BuildRequires: python-mx-DateTime-devel
 Requires:      python-mx-DateTime
+%else
+BuildConflicts:        python-mx-DateTime
+%endif
 Requires:      postgresql-libs
 %pyrequires_eq python-modules
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -107,6 +113,7 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{py_sitedir}/%{module}
 %attr(755,root,root) %{py_sitedir}/%{module}/*.so
 %{py_sitedir}/%{module}/*.py[co]
+%{py_sitedir}/*.egg-info
 
 #%files -n Zope-%{zope_subname}
 #%defattr(644,root,root,755)
This page took 0.089642 seconds and 4 git commands to generate.