SPECS: python-psycopg2.spec - moved mx stuff into bcond (let's face it, dat...
wrobell
wrobell at pld-linux.org
Fri Sep 5 00:38:22 CEST 2008
Author: wrobell Date: Thu Sep 4 22:38:22 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- moved mx stuff into bcond (let's face it, datetime module introduced over
5 years ago means that mx datetime is bloat now)
- egg info file added
- rel. 2
---- Files affected:
SPECS:
python-psycopg2.spec (1.58 -> 1.59)
---- Diffs:
================================================================
Index: SPECS/python-psycopg2.spec
diff -u SPECS/python-psycopg2.spec:1.58 SPECS/python-psycopg2.spec:1.59
--- SPECS/python-psycopg2.spec:1.58 Tue Apr 15 10:28:09 2008
+++ SPECS/python-psycopg2.spec Fri Sep 5 00:38:17 2008
@@ -1,5 +1,8 @@
# $Revision$, $Date$
#
+# Conditional build:
+%bcond_with mx # build with egenix mx datetime support
+#
# todo:
# - zope adapter
# - lib64 patch
@@ -14,7 +17,7 @@
Summary(pl.UTF-8): psycopg jest przeznaczonym dla Pythona interfejsem do bazy PostgreSQL
Name: python-%{module}
Version: 2.0.7
-Release: 1
+Release: 2
License: GPL
Group: Libraries/Python
Source0: http://initd.org/pub/software/psycopg/%{module}-%{version}.tar.gz
@@ -26,9 +29,12 @@
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)
@@ -108,6 +114,7 @@
%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)
@@ -119,6 +126,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.59 2008/09/04 22:38:17 wrobell
+- moved mx stuff into bcond (let's face it, datetime module introduced over
+ 5 years ago means that mx datetime is bloat now)
+- egg info file added
+- rel. 2
+
Revision 1.58 2008/04/15 08:28:09 patrys
- 2.0.7
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-psycopg2.spec?r1=1.58&r2=1.59&f=u
More information about the pld-cvs-commit
mailing list