From: Mateusz Korniak Date: Fri, 10 Jul 2009 05:58:32 +0000 (+0000) Subject: - Release 2. X-Git-Tag: auto/th/python-psycopg2-2_0_11-3~1 X-Git-Url: https://git.pld-linux.org/?p=packages%2Fpython-psycopg2.git;a=commitdiff_plain;h=0e0021ce7566f91e73f3600450a7ea00e936102d - Release 2. Disabled again nonworking (in Th) conditional build with python-mx-DateTime Build was failing on missing python-mx-DateTime-devel headers. Changed files: python-psycopg2.spec -> 1.70 --- diff --git a/python-psycopg2.spec b/python-psycopg2.spec index 33cd3b2..2afc7ce 100644 --- a/python-psycopg2.spec +++ b/python-psycopg2.spec @@ -8,7 +8,7 @@ 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.11 -Release: 1 +Release: 2 License: GPL Group: Libraries/Python Source0: http://initd.org/pub/software/psycopg/%{module}-%{version}.tar.gz @@ -22,18 +22,20 @@ BuildRequires: python-devel BuildRequires: rpm-pythonprov Requires: postgresql-libs Requires: python-modules -%if "%{pld_release}" == "ac" +# %if "%{pld_release}" == "ac" BuildRequires: python-mx-DateTime-devel Requires: python-mx-DateTime -%else +# %else # if somebody really needs mx.DateTime, then one can request mx.Datetime # usage on runtime; # it is pointless to use 'Requires' or 'Suggest' field because # - python provides its own datetime implementation # - one can request it on runtime (as said above) # - usage of mx.DateTime type is application specific -BuildConflicts: python-mx-DateTime -%endif +# Sure, but make mx-DateTime conditional build work +# # BuildConflicts: python-mx-DateTime +# %endif +Requires: python-pytz BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description