SPECS: python-psycopg2.spec - Release 3. Killed nonworking mx bcond. Prepar...

matkor matkor at pld-linux.org
Fri Dec 19 09:49:35 CET 2008


Author: matkor                       Date: Fri Dec 19 08:49:34 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Release 3. Killed nonworking mx bcond. Prepared for Ac.

---- Files affected:
SPECS:
   python-psycopg2.spec (1.61 -> 1.62) 

---- Diffs:

================================================================
Index: SPECS/python-psycopg2.spec
diff -u SPECS/python-psycopg2.spec:1.61 SPECS/python-psycopg2.spec:1.62
--- SPECS/python-psycopg2.spec:1.61	Tue Oct  7 19:41:56 2008
+++ SPECS/python-psycopg2.spec	Fri Dec 19 09:49:29 2008
@@ -1,8 +1,5 @@
 # $Revision$, $Date$
 #
-# Conditional build:
-%bcond_with mx	# build with egenix mx datetime support
-#
 # todo:
 # - zope adapter
 # - lib64 patch
@@ -11,13 +8,18 @@
 # 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.8
-Release:	2
+Release:	3
 License:	GPL
 Group:		Libraries/Python
 Source0:	http://initd.org/pub/software/psycopg/%{module}-%{version}.tar.gz
@@ -29,12 +31,8 @@
 BuildRequires:	postgresql-devel
 BuildRequires:	python-devel
 BuildRequires:	rpm-pythonprov
-%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)
@@ -114,7 +112,9 @@
 %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)
@@ -126,6 +126,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.62  2008/12/19 08:49:29  matkor
+- Release 3. Killed nonworking mx bcond. Prepared for Ac.
+
 Revision 1.61  2008/10/07 17:41:56  patrys
 - rel 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-psycopg2.spec?r1=1.61&r2=1.62&f=u



More information about the pld-cvs-commit mailing list