Make building of plpython3 dependent on Fedora version, per guidelines

This commit is contained in:
Tom Lane 2012-12-19 12:15:54 -05:00
parent 4ffe73e930
commit 73e3a6adf8

View File

@ -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@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@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