]> git.pld-linux.org Git - packages/python-psycopg2.git/commitdiff
Version 2.5.1-1. Trying to avoid python-psycopg2 R: python3-modules.
authorMateusz Korniak <matkor@pld-linux.org>
Thu, 8 Aug 2013 15:18:44 +0000 (17:18 +0200)
committerMateusz Korniak <matkor@pld-linux.org>
Thu, 8 Aug 2013 15:18:44 +0000 (17:18 +0200)
python-psycopg2.spec

index 26e8165daf315a7396859217a8383d18ca66d815..5ae3eff3955608501bdf2ed9897d30d8a0b11500 100644 (file)
@@ -1,5 +1,4 @@
-#
-# todo:
+# TODO:
 # - lib64 patch
 
 # Conditional build:
 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.5
+Version:       2.5.1
 Release:       1
 License:       GPL
 Group:         Libraries/Python
 Source0:       http://initd.org/psycopg/tarballs/PSYCOPG-2-5/%{module}-%{version}.tar.gz
-# Source0-md5: facd82faa067e99b80146a0ee2f842f6
+# Source0-md5: 1b433f83d50d1bc61e09026e906d84c7
 #Patch0:               %{name}-lib64.patch
 URL:           http://www.initd.org/software/psycopg/
 BuildRequires: autoconf
@@ -46,10 +45,6 @@ BuildConflicts:   python-egenix-mx-base
 %endif
 Requires:      python-pytz
 %endif
-%if %{with python3}
-Requires:      python3-modules
-Requires:      python3-pytz
-%endif
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -66,11 +61,17 @@ z założeniem że ma być bardzo mały, szybki i stabilny. Główna zaletą
 psycopg jest, że w jest pełni zgodny z standardem DBAPI-2.0 i jest
 'thread safe' na poziomie 2.
 
+
+%if %{with python3}
 %package -n python3-%{module}
 Summary:       psycopg is a PostgreSQL database adapter for Python
 Summary(pl.UTF-8):     psycopg jest przeznaczonym dla Pythona interfejsem do bazy PostgreSQL
 Group:         Libraries/Python
 
+Requires:      python3-modules
+Requires:      python3-pytz
+
+
 %description -n python3-%{module}
 psycopg is a PostgreSQL database adapter for the Python programming
 language (just like pygresql and popy.) It was written from scratch
@@ -85,6 +86,7 @@ z założeniem że ma być bardzo mały, szybki i stabilny. Główna zaletą
 psycopg jest, że w jest pełni zgodny z standardem DBAPI-2.0 i jest
 'thread safe' na poziomie 2.
 
+%endif
 
 %prep
 %setup -q -n %{module}-%{version}
This page took 0.104763 seconds and 4 git commands to generate.