# - python 3 and python 2 subpackages?
# - consider dns_sd/Bonjour support (--with-bonjour)
# - think about pg_upgrade integration (sysconfig variable to allow upgrade from 8.3+ without dump/restore?)
+# create postgresqlM.N packages with parts of old pgsql required by pg_upgrade
# - test init script (db initialization)
#
# Conditional build:
Summary(uk.UTF-8): PostgreSQL - система керування базами даних
Summary(zh_CN.UTF-8): PostgreSQL 客户端程序和库文件
Name: postgresql
-Version: %{mver}.0
-Release: 0.2
+Version: %{mver}.3
+Release: 1
License: BSD
Group: Applications/Databases
Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.bz2
-# Source0-md5: 8c4c32a4abe8cf61b02c8366181ede50
+# Source0-md5: 59f42a93695b0186ed5eb03c2653a7d4
Source1: %{name}.init
Source2: pgsql-Database-HOWTO-html.tar.gz
# Source2-md5: 5b656ddf1db41965761f85204a14398e
BuildRequires: flex >= 2.5.31
BuildRequires: gettext-devel
%{?with_kerberos5:BuildRequires: heimdal-devel}
-%{?with_selinux:BuildRequires: libselinux-devel >= 2.0.93}
+%{?with_selinux:BuildRequires: libselinux-devel >= 2.0.99}
BuildRequires: libtool
BuildRequires: libxml2-devel >= 2.6.23
BuildRequires: libxslt-devel
Summary(pl.UTF-8): Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa
Group: Applications/Databases
Requires: %{name} = %{version}-%{release}
-Requires: libselinux >= 2.0.93
+Requires: libselinux >= 2.0.99
%description module-sepgsql
PostgreSQL external security provider using SELinux.
foundold=0
for pgdir in $PG_DB_CLUSTERS; do
if [ -f $pgdir/PG_VERSION ]; then
- if [ $(cat $pgdir/PG_VERSION) != '9.1' ]; then
+ if [ $(cat $pgdir/PG_VERSION) != '9.2' ]; then
echo "Found database(s) in older, incompatible format in cluster $pgdir."
foundold=1
fi
%{_mandir}/man1/pg_standby.1.gz
%{_mandir}/man1/pg_test_fsync.1.gz
%{_mandir}/man1/pg_test_timing.1.gz
-%{_mandir}/man1/pg_upgrade.1.gz
%{_mandir}/man1/pgbench.1.gz
%{_mandir}/man1/vacuumlo.1.gz
%{_mandir}/man1/pg_dump.1*
%{_mandir}/man1/pg_dumpall.1*
%{_mandir}/man1/pg_restore.1*
+%{_mandir}/man1/pg_upgrade.1.gz
%{_mandir}/man1/psql.1*
%{_mandir}/man1/reindexdb.1*
%{_mandir}/man1/vacuumdb.1*
%{_pgsqldir}/unaccent.control
%{_pgsqldir}/uuid-ossp--*.sql
%{_pgsqldir}/uuid-ossp.control
+