From cf38e36a0fcbb329193306aa785698954499ab6e Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Fri, 3 Aug 2012 15:16:38 -0400 Subject: [PATCH] replace "python3.2dmu" with "python3-debug"; with_python3 fixes --- python-psycopg2.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/python-psycopg2.spec b/python-psycopg2.spec index d70d76c..b974a9f 100644 --- a/python-psycopg2.spec +++ b/python-psycopg2.spec @@ -3,8 +3,7 @@ %endif %if 0%{?with_python3} -%global python_runtimes python python-debug python3 python3.2dmu -# FIXME "python3.2dmu" should just be "python3-debug" +%global python_runtimes python python-debug python3 python3-debug %else %global python_runtimes python python-debug %endif # with_python3 @@ -29,7 +28,7 @@ Summary: A PostgreSQL database adapter for Python Name: python-psycopg2 Version: 2.4.5 -Release: 3%{?dist} +Release: 4%{?dist} # The exceptions allow linking to OpenSSL and PostgreSQL's libpq License: LGPLv3+ with exceptions Group: Applications/Databases @@ -40,8 +39,10 @@ Source0: http://initd.org/psycopg/tarballs/PSYCOPG-2-4/psycopg2-%{version}.tar.g BuildRequires: postgresql-devel BuildRequires: python-devel BuildRequires: python-debug +%if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: python3-debug +%endif # with_python3 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Conflicts: python-psycopg2-zope < %{version} @@ -192,6 +193,9 @@ rm -rf %{buildroot} %endif %changelog +* Fri Aug 3 2012 David Malcolm - 2.4.5-4 +- replace "python3.2dmu" with "python3-debug"; with_python3 fixes + * Fri Aug 3 2012 David Malcolm - 2.4.5-3 - add with_python3 conditional