[postgresql] Make building of plpython3 dependent on Fedora version, per guidelines
Tom Lane
tgl at fedoraproject.org
Wed Dec 19 17:16:14 UTC 2012
commit 73e3a6adf88fa980bf7877367f0208282320e01e
Author: Tom Lane <tgl at redhat.com>
Date: Wed Dec 19 12:15:54 2012 -0500
Make building of plpython3 dependent on Fedora version, per guidelines
postgresql.spec | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
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 <tgl at redhat.com> 9.2.2-2
+- Make building of plpython3 dependent on Fedora version, per guidelines
+Resolves: #888419
+
* Thu Dec 6 2012 Tom Lane <tgl at redhat.com> 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
More information about the scm-commits
mailing list