]> git.pld-linux.org Git - packages/python-psycopg2.git/commitdiff
- Release 2.
authorMateusz Korniak <matkor@pld-linux.org>
Fri, 10 Jul 2009 05:58:32 +0000 (05:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  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

python-psycopg2.spec

index 33cd3b2b9850fc8e0381c7013b37fc99b707a35d..2afc7ce3ace80984bf92527289ba15bd61cec347 100644 (file)
@@ -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
This page took 0.077076 seconds and 4 git commands to generate.