From 73e3a6adf88fa980bf7877367f0208282320e01e Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 19 Dec 2012 12:15:54 -0500 Subject: [PATCH] Make building of plpython3 dependent on Fedora version, per guidelines --- postgresql.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/postgresql.spec b/postgresql.spec index a876405..b94d35e 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -35,7 +35,11 @@ %{!?test:%global test 1} %{!?upgrade:%global upgrade 1} %{!?plpython:%global plpython 1} +%if 0%{?fedora} > 12 %{!?plpython3:%global plpython3 1} +%else +%{!?plpython3:%global plpython3 0} +%endif %{!?pltcl:%global pltcl 1} %{!?plperl:%global plperl 1} %{!?ssl:%global ssl 1} @@ -54,7 +58,7 @@ Summary: PostgreSQL client programs Name: postgresql %global majorversion 9.2 Version: 9.2.2 -Release: 1%{?dist} +Release: 2%{?dist} # The PostgreSQL license is very similar to other MIT licenses, but the OSI # recognizes it as an independent license, so we do as well. @@ -1081,6 +1085,10 @@ fi %endif %changelog +* Wed Dec 19 2012 Tom Lane 9.2.2-2 +- Make building of plpython3 dependent on Fedora version, per guidelines +Resolves: #888419 + * Thu Dec 6 2012 Tom Lane 9.2.2-1 - Update to PostgreSQL 9.2.2, for various fixes described at http://www.postgresql.org/docs/9.2/static/release-9-2-2.html