7e2475
# This is the PostgreSQL Global Development Group Official RPMset spec file,
7e2475
# or a derivative thereof.
7e2475
# Copyright 2003-2009 Lamar Owen <lowen@pari.edu> <lamar.owen@wgcr.org>
7e2475
# and others listed.                 ** vi: ts=4 sw=4 noexpandtab nosmarttab
7e2475
7e2475
# Major Contributors:
7e2475
# ---------------
7e2475
# Lamar Owen
7e2475
# Trond Eivind Glomsrd <teg@redhat.com>
7e2475
# Thomas Lockhart
7e2475
# Reinhard Max
7e2475
# Karl DeBisschop
7e2475
# Peter Eisentraut
7e2475
# Joe Conway
7e2475
# Andrew Overholt
7e2475
# David Jee
7e2475
# Kaj J. Niemi
7e2475
# Sander Steffann
7e2475
# Tom Lane
7e2475
# and others in the Changelog....
7e2475
7e2475
# This spec file and ancillary files are licensed in accordance with
7e2475
# The PostgreSQL license.
7e2475
7e2475
# In this file you can find the default build package list macros.
7e2475
# These can be overridden by defining on the rpm command line:
7e2475
# rpm --define 'packagename 1' .... to force the package to build.
7e2475
# rpm --define 'packagename 0' .... to force the package NOT to build.
7e2475
# The base package, the libs package, the devel package, and the server package
7e2475
# always get built.
7e2475
7e2475
%{!?beta:%global beta 0}
7e2475
7e2475
%{!?test:%global test 1}
7e2475
%{!?upgrade:%global upgrade 1}
7e2475
%{!?plpython:%global plpython 0}
7e2475
%{!?plpython3:%global plpython3 1}
7e2475
%{!?pltcl:%global pltcl 1}
7e2475
%{!?plperl:%global plperl 1}
7e2475
%{!?ssl:%global ssl 1}
7e2475
%{!?kerberos:%global kerberos 1}
7e2475
%{!?ldap:%global ldap 1}
7e2475
%{!?nls:%global nls 1}
7e2475
%{!?uuid:%global uuid 1}
7e2475
%{!?xml:%global xml 1}
7e2475
%{!?pam:%global pam 1}
7e2475
%{!?sdt:%global sdt 1}
7e2475
%{!?selinux:%global selinux 1}
7e2475
%{!?runselftest:%global runselftest 1}
7e2475
7e2475
# By default, patch(1) creates backup files when chunks apply with offsets.
7e2475
# Turn that off to ensure such files don't get included in RPMs.
7e2475
%global _default_patch_flags --no-backup-if-mismatch
7e2475
7e2475
# https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_of_Additional_RPM_Macros
7e2475
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
7e2475
7e2475
Summary: PostgreSQL client programs
7e2475
Name: postgresql
7e2475
%global majorversion 10
fd9776
Version: %{majorversion}.17
7e2475
Release: 1%{?dist}
7e2475
7e2475
# The PostgreSQL license is very similar to other MIT licenses, but the OSI
7e2475
# recognizes it as an independent license, so we do as well.
7e2475
License: PostgreSQL
7e2475
Group: Applications/Databases
7e2475
Url: http://www.postgresql.org/
7e2475
7e2475
# This SRPM includes a copy of the previous major release, which is needed for
7e2475
# in-place upgrade of an old database.  In most cases it will not be critical
7e2475
# that this be kept up with the latest minor release of the previous series;
7e2475
# but update when bugs affecting pg_dump output are fixed.
7e2475
%global prevversion 9.2.24
7e2475
%global prevmajorversion 9.2
7e2475
%global prev_prefix %{_libdir}/pgsql/postgresql-%{prevmajorversion}
7e2475
%global precise_version %{?epoch:%epoch:}%version-%release
7e2475
7e2475
%global setup_version 8.2
7e2475
7e2475
%global service_name postgresql.service
7e2475
Source0: https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
7e2475
# The PDF file is generated by generate-pdf.sh, which see for comments
7e2475
Source1: postgresql-%{version}-US.pdf
7e2475
# generate-pdf.sh is not used during RPM build, but include for documentation
7e2475
Source2: generate-pdf.sh
7e2475
Source3: https://ftp.postgresql.org/pub/source/v%{prevversion}/postgresql-%{prevversion}.tar.bz2
7e2475
Source4: Makefile.regress
7e2475
Source9: postgresql.tmpfiles.d
7e2475
Source10: postgresql.pam
7e2475
Source11: postgresql-bashprofile
7e2475
7e2475
7e2475
# git: https://github.com/devexp-db/postgresql-setup
7e2475
Source12: https://github.com/devexp-db/postgresql-setup/releases/download/v%{setup_version}/postgresql-setup-%{setup_version}.tar.gz
7e2475
7e2475
# Those here are just to enforce packagers check that the tarball was downloaded
7e2475
# correctly.  Also, this allows us check that packagers-only tarballs do not
7e2475
# differ with publicly released ones.
7e2475
Source16: https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2.sha256
7e2475
Source17: https://ftp.postgresql.org/pub/source/v%{prevversion}/postgresql-%{prevversion}.tar.bz2.sha256
7e2475
7e2475
# Comments for these patches are in the patch files.
7e2475
Patch1: rpm-pgsql.patch
7e2475
Patch2: postgresql-logging.patch
7e2475
Patch5: postgresql-var-run-socket.patch
7e2475
Patch6: postgresql-man.patch
7e2475
Patch8: postgresql-no-libs.patch
7e2475
Patch9: postgresql-server-pg_config.patch
fd9776
Patch10: postgresql-10.15-contrib-dblink-expected-out.patch
7e2475
7e2475
BuildRequires: gcc
7e2475
BuildRequires: perl(ExtUtils::MakeMaker) glibc-devel bison flex gawk
7e2475
BuildRequires: perl(ExtUtils::Embed), perl-devel
7e2475
%if 0%{?fedora} || 0%{?rhel} > 7
7e2475
BuildRequires: perl-generators
7e2475
%endif
7e2475
BuildRequires: readline-devel zlib-devel
7e2475
BuildRequires: systemd systemd-devel util-linux
7e2475
BuildRequires: multilib-rpm-config
7e2475
BuildRequires: libpq-devel
7e2475
7e2475
# postgresql-setup build requires
7e2475
BuildRequires: m4 elinks docbook-utils help2man
7e2475
7e2475
%if %plpython
7e2475
BuildRequires: python2-devel
7e2475
%endif
7e2475
7e2475
%if %plpython3
7e2475
BuildRequires: python3-devel
7e2475
%endif
7e2475
7e2475
%if %pltcl
7e2475
BuildRequires: tcl-devel
7e2475
%endif
7e2475
7e2475
%if %ssl
7e2475
BuildRequires: openssl-devel
7e2475
%endif
7e2475
7e2475
%if %kerberos
7e2475
BuildRequires: krb5-devel
7e2475
%endif
7e2475
7e2475
%if %ldap
7e2475
BuildRequires: openldap-devel
7e2475
%endif
7e2475
7e2475
%if %nls
7e2475
BuildRequires: gettext >= 0.10.35
7e2475
%endif
7e2475
7e2475
%if %uuid
7e2475
BuildRequires: uuid-devel
7e2475
%endif
7e2475
7e2475
%if %xml
7e2475
BuildRequires: libxml2-devel libxslt-devel
7e2475
%endif
7e2475
7e2475
%if %pam
7e2475
BuildRequires: pam-devel
7e2475
%endif
7e2475
7e2475
%if %sdt
7e2475
BuildRequires: systemtap-sdt-devel
7e2475
%endif
7e2475
7e2475
%if %selinux
7e2475
BuildRequires: libselinux-devel
7e2475
%endif
7e2475
7e2475
# https://bugzilla.redhat.com/1464368
7e2475
%global __provides_exclude_from %{_libdir}/pgsql
7e2475
7e2475
%description
7e2475
PostgreSQL is an advanced Object-Relational database management system (DBMS).
7e2475
The base postgresql package contains the client programs that you'll need to
7e2475
access a PostgreSQL DBMS server, as well as HTML documentation for the whole
7e2475
system.  These client programs can be located on the same machine as the
7e2475
PostgreSQL server, or on a remote machine that accesses a PostgreSQL server
7e2475
over a network connection.  The PostgreSQL server can be found in the
7e2475
postgresql-server sub-package.
7e2475
7e2475
7e2475
%package server
7e2475
Summary: The programs needed to create and run a PostgreSQL server
7e2475
Group: Applications/Databases
7e2475
Requires: %{name}%{?_isa} = %precise_version
7e2475
Requires(pre): /usr/sbin/useradd
7e2475
# We require this to be present for %%{_prefix}/lib/tmpfiles.d
7e2475
Requires: systemd
7e2475
# Make sure it's there when scriptlets run, too
7e2475
%{?systemd_requires}
7e2475
# Packages which provide postgresql plugins should build-require
7e2475
# postgresql-server-devel and require
7e2475
# postgresql-server(:MODULE_COMPAT_%%{postgresql_major}).
7e2475
# This will automatically guard against incompatible server & plugin
7e2475
# installation (#1008939, #1007840)
7e2475
Provides: %{name}-server(:MODULE_COMPAT_%{majorversion})
7e2475
Provides: bundled(postgresql-setup) = %setup_version
7e2475
7e2475
%description server
7e2475
PostgreSQL is an advanced Object-Relational database management system (DBMS).
7e2475
The postgresql-server package contains the programs needed to create
7e2475
and run a PostgreSQL server, which will in turn allow you to create
7e2475
and maintain PostgreSQL databases.
7e2475
7e2475
7e2475
%package docs
7e2475
Summary: Extra documentation for PostgreSQL
7e2475
Group: Applications/Databases
7e2475
Requires: %{name}%{?_isa} = %precise_version
7e2475
# Just for more intuitive documentation installation
7e2475
Provides: %{name}-doc = %precise_version
7e2475
7e2475
%description docs
7e2475
The postgresql-docs package contains some additional documentation for
7e2475
PostgreSQL.  Currently, this includes the main documentation in PDF format
7e2475
and source files for the PostgreSQL tutorial.
7e2475
7e2475
7e2475
%package contrib
7e2475
Summary: Extension modules distributed with PostgreSQL
7e2475
Group: Applications/Databases
7e2475
Requires: %{name}%{?_isa} = %precise_version
7e2475
7e2475
%description contrib
7e2475
The postgresql-contrib package contains various extension modules that are
7e2475
included in the PostgreSQL distribution.
7e2475
7e2475
7e2475
%package server-devel
7e2475
Summary: PostgreSQL development header files and libraries
7e2475
Group: Development/Libraries
7e2475
7e2475
%description server-devel
7e2475
The postgresql-server-devel package contains the header files and libraries
7e2475
needed to compile C or C++ applications which will directly interact
7e2475
with a PostgreSQL database management server.  It also contains the ecpg
7e2475
Embedded C Postgres preprocessor. You need to install this package if you want
7e2475
to develop applications which will interact with a PostgreSQL server.
7e2475
7e2475
7e2475
%package test-rpm-macros
7e2475
Summary: Convenience RPM macros for build-time testing against PostgreSQL server
7e2475
Requires: %{name}-server = %precise_version
7e2475
7e2475
%description test-rpm-macros
7e2475
This package is meant to be added as BuildRequires: dependency of other packages
7e2475
that want to run build-time testsuite against running PostgreSQL server.
7e2475
7e2475
7e2475
%package static
7e2475
Summary: Statically linked PostgreSQL libraries
7e2475
Requires: %{name}-server-devel%{?_isa} = %precise_version
7e2475
7e2475
%description static
7e2475
Statically linked PostgreSQL libraries that do not have dynamically linked
7e2475
counterparts.
7e2475
7e2475
7e2475
%if %upgrade
7e2475
%package upgrade
7e2475
Summary: Support for upgrading from the previous major release of PostgreSQL
7e2475
Group: Applications/Databases
7e2475
Requires: %{name}-server%{?_isa} = %precise_version
7e2475
Provides: bundled(postgresql-libs) = %prevversion
7e2475
7e2475
%description upgrade
7e2475
The postgresql-upgrade package contains the pg_upgrade utility and supporting
7e2475
files needed for upgrading a PostgreSQL database from the previous major
7e2475
version of PostgreSQL.
7e2475
7e2475
7e2475
%package upgrade-devel
7e2475
Summary: Support for build of extensions required for upgrade process
7e2475
Group: Development/Libraries
7e2475
Requires: %{name}-upgrade%{?_isa} = %precise_version
7e2475
7e2475
%description upgrade-devel
7e2475
The postgresql-devel package contains the header files and libraries
7e2475
needed to compile C or C++ applications which are necessary in upgrade
7e2475
process.
7e2475
%endif
7e2475
7e2475
7e2475
%if %plperl
7e2475
%package plperl
7e2475
Summary: The Perl procedural language for PostgreSQL
7e2475
Group: Applications/Databases
7e2475
Requires: %{name}-server%{?_isa} = %precise_version
7e2475
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
7e2475
%if %runselftest
7e2475
BuildRequires: perl(Data::Dumper)
7e2475
%endif
7e2475
7e2475
%description plperl
7e2475
The postgresql-plperl package contains the PL/Perl procedural language,
7e2475
which is an extension to the PostgreSQL database server.
7e2475
Install this if you want to write database functions in Perl.
7e2475
%endif
7e2475
7e2475
7e2475
%if %plpython
7e2475
%package plpython
7e2475
Summary: The Python2 procedural language for PostgreSQL
7e2475
Group: Applications/Databases
7e2475
Requires: %{name}-server%{?_isa} = %precise_version
7e2475
Provides: %{name}-plpython2 = %precise_version
7e2475
7e2475
%description plpython
7e2475
The postgresql-plpython package contains the PL/Python procedural language,
7e2475
which is an extension to the PostgreSQL database server.
7e2475
Install this if you want to write database functions in Python 2.
7e2475
%endif
7e2475
7e2475
7e2475
%if %plpython3
7e2475
%package plpython3
7e2475
Summary: The Python3 procedural language for PostgreSQL
7e2475
Group: Applications/Databases
7e2475
Requires: %{name}-server%{?_isa} = %precise_version
7e2475
7e2475
%description plpython3
7e2475
The postgresql-plpython3 package contains the PL/Python3 procedural language,
7e2475
which is an extension to the PostgreSQL database server.
7e2475
Install this if you want to write database functions in Python 3.
7e2475
%endif
7e2475
7e2475
7e2475
%if %pltcl
7e2475
%package pltcl
7e2475
Summary: The Tcl procedural language for PostgreSQL
7e2475
Group: Applications/Databases
7e2475
Requires: %{name}-server%{?_isa} = %precise_version
7e2475
7e2475
%description pltcl
7e2475
The postgresql-pltcl package contains the PL/Tcl procedural language,
7e2475
which is an extension to the PostgreSQL database server.
7e2475
Install this if you want to write database functions in Tcl.
7e2475
%endif
7e2475
7e2475
7e2475
%if %test
7e2475
%package test
7e2475
Summary: The test suite distributed with PostgreSQL
7e2475
Group: Applications/Databases
7e2475
Requires: %{name}-server%{?_isa} = %precise_version
7e2475
Requires: %{name}-server-devel%{?_isa} = %precise_version
7e2475
7e2475
%description test
7e2475
The postgresql-test package contains files needed for various tests for the
7e2475
PostgreSQL database management system, including regression tests and
7e2475
benchmarks.
7e2475
%endif
7e2475
7e2475
7e2475
%prep
7e2475
( cd %_sourcedir; sha256sum -c %{SOURCE16}; sha256sum -c %{SOURCE17} )
7e2475
%setup -q -a 12
7e2475
%patch1 -p1
7e2475
%patch2 -p1
7e2475
%patch5 -p1
7e2475
%patch6 -p1
7e2475
%patch8 -p1
7e2475
%patch9 -p1
fd9776
%patch10 -p1
7e2475
7e2475
# We used to run autoconf here, but there's no longer any real need to,
7e2475
# since Postgres ships with a reasonably modern configure script.
7e2475
7e2475
cp -p %{SOURCE1} .
7e2475
7e2475
%if %upgrade
7e2475
tar xfj %{SOURCE3}
7e2475
7e2475
# apply once SOURCE3 is extracted
7e2475
%endif
7e2475
7e2475
# remove .gitignore files to ensure none get into the RPMs (bug #642210)
7e2475
find . -type f -name .gitignore | xargs rm
7e2475
7e2475
7e2475
%build
7e2475
# fail quickly and obviously if user tries to build as root
7e2475
%if %runselftest
7e2475
	if [ x"`id -u`" = x0 ]; then
7e2475
		echo "postgresql's regression tests fail if run as root."
7e2475
		echo "If you really need to build the RPM as root, use"
7e2475
		echo "--define='runselftest 0' to skip the regression tests."
7e2475
		exit 1
7e2475
	fi
7e2475
%endif
7e2475
7e2475
# Building postgresql-setup
7e2475
7e2475
cd postgresql-setup-%{setup_version}
7e2475
7e2475
%configure \
7e2475
    pgdocdir=%{_pkgdocdir} \
7e2475
    PGVERSION=%{version} \
7e2475
    PGMAJORVERSION=%{majorversion} \
7e2475
    NAME_DEFAULT_PREV_SERVICE=postgresql
7e2475
7e2475
make %{?_smp_mflags}
7e2475
cd ..
7e2475
7e2475
# Fiddling with CFLAGS.
7e2475
7e2475
CFLAGS="${CFLAGS:-%optflags}"
7e2475
%ifarch %{power64}
7e2475
# See the bug #1051075, ppc64 should benefit from -O3
7e2475
CFLAGS=`echo $CFLAGS | xargs -n 1 | sed 's|-O2|-O3|g' | xargs -n 100`
7e2475
%endif
7e2475
# Strip out -ffast-math from CFLAGS....
7e2475
CFLAGS=`echo $CFLAGS|xargs -n 1|grep -v ffast-math|xargs -n 100`
7e2475
export CFLAGS
7e2475
7e2475
# plpython requires separate configure/build runs to build against python 2
7e2475
# versus python 3.  Our strategy is to do the python 3 run first, then make
7e2475
# distclean and do it again for the "normal" build.  Note that the installed
7e2475
# Makefile.global will reflect the python 2 build, which seems appropriate
7e2475
# since that's still considered the default plpython version.
7e2475
common_configure_options='
7e2475
	--disable-rpath
7e2475
%if %beta
7e2475
	--enable-debug
7e2475
	--enable-cassert
7e2475
%endif
7e2475
%if %plperl
7e2475
	--with-perl
7e2475
%endif
7e2475
%if %pltcl
7e2475
	--with-tcl
7e2475
	--with-tclconfig=%_libdir
7e2475
%endif
7e2475
%if %ldap
7e2475
	--with-ldap
7e2475
%endif
7e2475
%if %ssl
7e2475
	--with-openssl
7e2475
%endif
7e2475
%if %pam
7e2475
	--with-pam
7e2475
%endif
7e2475
%if %kerberos
7e2475
	--with-gssapi
7e2475
%endif
7e2475
%if %uuid
7e2475
	--with-ossp-uuid
7e2475
%endif
7e2475
%if %xml
7e2475
	--with-libxml
7e2475
	--with-libxslt
7e2475
%endif
7e2475
%if %nls
7e2475
	--enable-nls
7e2475
%endif
7e2475
%if %sdt
7e2475
	--enable-dtrace
7e2475
%endif
7e2475
%if %selinux
7e2475
	--with-selinux
7e2475
%endif
7e2475
	--with-system-tzdata=%_datadir/zoneinfo
7e2475
	--datadir=%_datadir/pgsql
7e2475
	--with-systemd
7e2475
'
7e2475
7e2475
%if %plpython3
7e2475
7e2475
export PYTHON=/usr/bin/python3
7e2475
7e2475
# These configure options must match main build
7e2475
%configure $common_configure_options \
7e2475
	--with-python
7e2475
7e2475
# Fortunately we don't need to build much except plpython itself.
7e2475
make %{?_smp_mflags} -C src/pl/plpython all
7e2475
# save built form in a directory that "make distclean" won't touch
7e2475
cp -a src/pl/plpython src/pl/plpython3
7e2475
7e2475
# must also save this version of Makefile.global for later
7e2475
cp src/Makefile.global src/Makefile.global.python3
7e2475
7e2475
make distclean
7e2475
7e2475
%endif # %%plpython3
7e2475
7e2475
PYTHON=/usr/bin/python2
7e2475
7e2475
# Normal (python2) build begins here
7e2475
%configure $common_configure_options \
7e2475
%if %plpython
7e2475
	--with-python
7e2475
%endif
7e2475
7e2475
unset PYTHON
7e2475
7e2475
make %{?_smp_mflags} world
7e2475
7e2475
# Have to hack makefile to put correct path into tutorial scripts
7e2475
sed "s|C=\`pwd\`;|C=%{_libdir}/pgsql/tutorial;|" < src/tutorial/Makefile > src/tutorial/GNUmakefile
7e2475
make %{?_smp_mflags} -C src/tutorial NO_PGXS=1 all
7e2475
rm -f src/tutorial/GNUmakefile
7e2475
7e2475
# The object files shouldn't be copied to rpm bz#1187514
7e2475
rm -f src/tutorial/*.o
7e2475
7e2475
# run_testsuite WHERE
7e2475
# -------------------
7e2475
# Run 'make check' in WHERE path.  When that command fails, return the logs
7e2475
# given by PostgreSQL build system and set 'test_failure=1'.  This function
7e2475
# never exits directly nor stops rpmbuild where `set -e` is enabled.
7e2475
run_testsuite()
7e2475
{
7e2475
	make -k -C "$1" MAX_CONNECTIONS=5 check && return 0 || test_failure=1
7e2475
	(
7e2475
		set +x
7e2475
		echo "=== trying to find all regression.diffs files in build directory ==="
7e2475
		find "$1" -name 'regression.diffs' | \
7e2475
		while read line; do
7e2475
			echo "=== make failure: $line ==="
7e2475
			cat "$line"
7e2475
		done
7e2475
	)
7e2475
}
7e2475
7e2475
test_failure=0
7e2475
7e2475
%if %runselftest
7e2475
	run_testsuite "src/test/regress"
7e2475
	make clean -C "src/test/regress"
7e2475
	run_testsuite "src/pl"
7e2475
%if %plpython3
7e2475
	# must install Makefile.global that selects python3
7e2475
	mv src/Makefile.global src/Makefile.global.save
7e2475
	cp src/Makefile.global.python3 src/Makefile.global
7e2475
	touch -r src/Makefile.global.save src/Makefile.global
7e2475
	# because "make check" does "make install" on the whole tree,
7e2475
	# we must temporarily install plpython3 as src/pl/plpython,
7e2475
	# since that is the subdirectory src/pl/Makefile knows about
7e2475
	mv src/pl/plpython src/pl/plpython2
7e2475
	mv src/pl/plpython3 src/pl/plpython
7e2475
7e2475
	run_testsuite "src/pl/plpython"
7e2475
7e2475
	# and clean up our mess
7e2475
	mv src/pl/plpython src/pl/plpython3
7e2475
	mv src/pl/plpython2 src/pl/plpython
7e2475
	mv -f src/Makefile.global.save src/Makefile.global
7e2475
%endif
7e2475
	run_testsuite "contrib"
7e2475
%endif
7e2475
7e2475
# "assert(ALL_TESTS_OK)"
7e2475
test "$test_failure" -eq 0
7e2475
7e2475
%if %test
7e2475
	# undo the "make clean" above
7e2475
	make all -C src/test/regress
7e2475
%endif
7e2475
7e2475
%if %upgrade
7e2475
	pushd postgresql-%{prevversion}
7e2475
7e2475
	# The upgrade build can be pretty stripped-down, but make sure that
7e2475
	# any options that affect on-disk file layout match the previous
7e2475
	# major release!
7e2475
7e2475
	# The set of built server modules here should ideally create superset
7e2475
	# of modules we used to ship in %%prevversion (in the installation
7e2475
	# the user will upgrade from), including *-contrib or *-pl*
7e2475
	# subpackages.  This increases chances that the upgrade from
7e2475
	# %%prevversion will work smoothly.
7e2475
7e2475
upgrade_configure ()
7e2475
{
7e2475
	# Note we intentionally do not use %%configure here, because we *don't* want
7e2475
	# its ideas about installation paths.
7e2475
7e2475
	# The -fno-aggressive-loop-optimizations is hack for #993532
7e2475
	PYTHON="${PYTHON-/usr/bin/python2}" \
7e2475
	CFLAGS="$CFLAGS -fno-aggressive-loop-optimizations" ./configure \
7e2475
		--build=%{_build} \
7e2475
		--host=%{_host} \
7e2475
		--prefix=%prev_prefix \
7e2475
		--disable-rpath \
7e2475
%if %beta
7e2475
		--enable-debug \
7e2475
		--enable-cassert \
7e2475
%endif
7e2475
%if %plperl
7e2475
		--with-perl \
7e2475
%endif
7e2475
%if %pltcl
7e2475
		--with-tcl \
7e2475
%endif
7e2475
		--with-tclconfig=%_libdir \
7e2475
		--with-system-tzdata=/usr/share/zoneinfo \
7e2475
		"$@"
7e2475
}
7e2475
7e2475
%if %plpython3
7e2475
	export PYTHON=/usr/bin/python3
7e2475
	upgrade_configure --with-python
7e2475
	# upstream fixed this later 7107d58ec5a3c45967e77525809612a5f89b97f3
7e2475
	make %{?_smp_mflags} -C src/backend submake-errcodes
7e2475
	make %{?_smp_mflags} -C src/pl/plpython all
7e2475
	# save aside the only one file which we are interested here
7e2475
	cp src/pl/plpython/plpython3.so ./
7e2475
	unset PYTHON
7e2475
	make distclean
7e2475
%endif
7e2475
7e2475
	upgrade_configure \
7e2475
%if %plpython
7e2475
		--with-python
7e2475
%endif
7e2475
7e2475
	make %{?_smp_mflags} all
7e2475
	make -C contrib %{?_smp_mflags} all
7e2475
	popd
7e2475
%endif # %%upgrade
7e2475
7e2475
7e2475
%install
7e2475
cd postgresql-setup-%{setup_version}
7e2475
make install DESTDIR=$RPM_BUILD_ROOT
7e2475
cd ..
7e2475
7e2475
# For some reason, having '%%doc %%{_pkgdocdir}/README.rpm-dist' in %%files
7e2475
# causes FTBFS (at least on RHEL6), see rhbz#1250006.
7e2475
mv $RPM_BUILD_ROOT/%{_pkgdocdir}/README.rpm-dist ./
7e2475
7e2475
cat > $RPM_BUILD_ROOT%{_sysconfdir}/postgresql-setup/upgrade/postgresql.conf <
7e2475
id              postgresql
7e2475
major           %{prevmajorversion}
7e2475
data_default    %{_localstatedir}/pgsql/data
7e2475
package         postgresql-upgrade
7e2475
engine          %{_libdir}/pgsql/postgresql-%{prevmajorversion}/bin
7e2475
description     "Upgrade data from system PostgreSQL version (PostgreSQL %{prevmajorversion})"
7e2475
redhat_sockets_hack no
7e2475
EOF
7e2475
7e2475
make DESTDIR=$RPM_BUILD_ROOT install-world
7e2475
7e2475
# We ship pg_config through libpq-devel
7e2475
mv $RPM_BUILD_ROOT/%_mandir/man1/pg_{,server_}config.1
7e2475
rm $RPM_BUILD_ROOT/%_includedir/pg_config*.h
7e2475
rm $RPM_BUILD_ROOT/%_includedir/libpq/libpq-fs.h
7e2475
rm $RPM_BUILD_ROOT/%_includedir/postgres_ext.h
7e2475
rm -r $RPM_BUILD_ROOT/%_includedir/pgsql/internal/
7e2475
7e2475
%if %plpython3
7e2475
	mv src/Makefile.global src/Makefile.global.save
7e2475
	cp src/Makefile.global.python3 src/Makefile.global
7e2475
	touch -r src/Makefile.global.save src/Makefile.global
7e2475
	pushd src/pl/plpython3
7e2475
	make DESTDIR=$RPM_BUILD_ROOT install
7e2475
	popd
7e2475
	mv -f src/Makefile.global.save src/Makefile.global
7e2475
%endif
7e2475
7e2475
# make sure these directories exist even if we suppressed all contrib modules
7e2475
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/pgsql/contrib
7e2475
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/pgsql/extension
7e2475
7e2475
# multilib header hack
7e2475
for header in \
7e2475
	%{_includedir}/pgsql/server/pg_config.h \
7e2475
	%{_includedir}/pgsql/server/pg_config_ext.h
7e2475
do
7e2475
%multilib_fix_c_header --file "$header"
7e2475
done
7e2475
7e2475
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/pgsql/tutorial
7e2475
cp -p src/tutorial/* $RPM_BUILD_ROOT%{_libdir}/pgsql/tutorial
7e2475
7e2475
%if %pam
7e2475
install -d $RPM_BUILD_ROOT/etc/pam.d
7e2475
install -m 644 %{SOURCE10} $RPM_BUILD_ROOT/etc/pam.d/postgresql
7e2475
%endif
7e2475
7e2475
# Create the directory for sockets.
7e2475
install -d -m 755 $RPM_BUILD_ROOT%{?_localstatedir}/run/postgresql
7e2475
7e2475
# ... and make a tmpfiles script to recreate it at reboot.
7e2475
mkdir -p $RPM_BUILD_ROOT%{_tmpfilesdir}
7e2475
install -m 0644 %{SOURCE9} $RPM_BUILD_ROOT%{_tmpfilesdir}/postgresql.conf
7e2475
7e2475
# PGDATA needs removal of group and world permissions due to pg_pwd hole.
7e2475
install -d -m 700 $RPM_BUILD_ROOT%{?_localstatedir}/lib/pgsql/data
7e2475
7e2475
# backups of data go here...
7e2475
install -d -m 700 $RPM_BUILD_ROOT%{?_localstatedir}/lib/pgsql/backups
7e2475
7e2475
# postgres' .bash_profile
7e2475
install -m 644 %{SOURCE11} $RPM_BUILD_ROOT%{?_localstatedir}/lib/pgsql/.bash_profile
7e2475
7e2475
rm $RPM_BUILD_ROOT/%{_datadir}/man/man1/ecpg.1
7e2475
7e2475
%if %upgrade
7e2475
	pushd postgresql-%{prevversion}
7e2475
	make DESTDIR=$RPM_BUILD_ROOT install
7e2475
	make -C contrib DESTDIR=$RPM_BUILD_ROOT install
7e2475
%if %plpython3
7e2475
	install -m 755 plpython3.so \
7e2475
		$RPM_BUILD_ROOT/%_libdir/pgsql/postgresql-%prevmajorversion/lib
7e2475
%endif
7e2475
	popd
7e2475
7e2475
	# remove stuff we don't actually need for upgrade purposes
7e2475
	pushd $RPM_BUILD_ROOT%{_libdir}/pgsql/postgresql-%{prevmajorversion}
7e2475
	rm bin/clusterdb
7e2475
	rm bin/createdb
7e2475
	rm bin/createlang
7e2475
	rm bin/createuser
7e2475
	rm bin/dropdb
7e2475
	rm bin/droplang
7e2475
	rm bin/dropuser
7e2475
	rm bin/ecpg
7e2475
	rm bin/initdb
7e2475
	rm bin/pg_basebackup
7e2475
	rm bin/pg_dump
7e2475
	rm bin/pg_dumpall
7e2475
	rm bin/pg_restore
7e2475
	rm bin/psql
7e2475
	rm bin/reindexdb
7e2475
	rm bin/vacuumdb
7e2475
	rm -rf share/doc
7e2475
	rm -rf share/man
7e2475
	rm -rf share/tsearch_data
7e2475
	rm lib/*.a
7e2475
	# Drop libpq.  This might need some tweaks once there's
7e2475
	# soname bump between %%prevversion and %%version.
7e2475
	rm lib/libpq.so*
7e2475
	# Drop libraries.
7e2475
	rm lib/lib{ecpg,ecpg_compat,pgtypes}.so*
7e2475
	rm share/*.bki
7e2475
	rm share/*description
7e2475
	rm share/*.sample
7e2475
	rm share/*.sql
7e2475
	rm share/*.txt
7e2475
	rm share/extension/*.sql
7e2475
	rm share/extension/*.control
7e2475
	popd
7e2475
	cat <<EOF > $RPM_BUILD_ROOT%macrosdir/macros.%name-upgrade
7e2475
%%postgresql_upgrade_prefix %prev_prefix
7e2475
EOF
7e2475
%endif
7e2475
7e2475
7e2475
%if %test
7e2475
	# tests. There are many files included here that are unnecessary,
7e2475
	# but include them anyway for completeness.  We replace the original
7e2475
	# Makefiles, however.
7e2475
	mkdir -p $RPM_BUILD_ROOT%{_libdir}/pgsql/test
7e2475
	cp -a src/test/regress $RPM_BUILD_ROOT%{_libdir}/pgsql/test
7e2475
	# pg_regress binary should be only in one subpackage,
7e2475
	# there will be a symlink from -test to -devel
7e2475
	rm -f $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress/pg_regress
7e2475
	ln -sf ../../pgxs/src/test/regress/pg_regress $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress/pg_regress
7e2475
	pushd  $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress
7e2475
	rm -f GNUmakefile Makefile *.o
7e2475
	chmod 0755 pg_regress regress.so
7e2475
	popd
7e2475
	sed 's|@bindir@|%{_bindir}|g' \
7e2475
		< %{SOURCE4} \
7e2475
		> $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress/Makefile
7e2475
	chmod 0644 $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress/Makefile
7e2475
%endif
7e2475
7e2475
rm -rf doc/html # HACK! allow 'rpmbuild -bi --short-circuit'
7e2475
mv $RPM_BUILD_ROOT%{_docdir}/pgsql/html doc
7e2475
rm -rf $RPM_BUILD_ROOT%{_docdir}/pgsql
7e2475
7e2475
# remove files not to be packaged
7e2475
rm $RPM_BUILD_ROOT%{_libdir}/libpgfeutils.a
7e2475
7e2475
%if !%plperl
7e2475
rm -f $RPM_BUILD_ROOT%{_bindir}/pgsql/hstore_plperl.so
7e2475
%endif
7e2475
7e2475
%if !%plpython
7e2475
rm -f $RPM_BUILD_ROOT%{_bindir}/pgsql/hstore_plpython2.so
7e2475
%endif
7e2475
7e2475
# initialize file lists
7e2475
cp /dev/null main.lst
7e2475
cp /dev/null server.lst
7e2475
cp /dev/null contrib.lst
7e2475
cp /dev/null plperl.lst
7e2475
cp /dev/null pltcl.lst
7e2475
cp /dev/null plpython.lst
7e2475
cp /dev/null plpython3.lst
7e2475
7e2475
%if %nls
7e2475
find_lang_bins ()
7e2475
{
7e2475
	lstfile=$1 ; shift
7e2475
	for binary; do
7e2475
		%find_lang "$binary"-%{majorversion}
7e2475
		cat "$binary"-%{majorversion}.lang >>$lstfile
7e2475
	done
7e2475
}
7e2475
find_lang_bins devel.lst pg_server_config
7e2475
find_lang_bins server.lst \
7e2475
	initdb pg_basebackup pg_controldata pg_ctl pg_resetwal pg_rewind plpgsql postgres
7e2475
find_lang_bins contrib.lst \
7e2475
	pg_archivecleanup pg_test_fsync pg_test_timing pg_waldump
7e2475
find_lang_bins  main.lst \
7e2475
	pg_dump pg_upgrade pgscripts psql
7e2475
%if %plperl
7e2475
find_lang_bins plperl.lst plperl
7e2475
%endif
7e2475
%if %plpython
7e2475
find_lang_bins plpython.lst plpython
7e2475
%endif
7e2475
%if %plpython3
7e2475
# plpython3 shares message files with plpython
7e2475
find_lang_bins plpython3.lst plpython
7e2475
%endif
7e2475
%if %pltcl
7e2475
find_lang_bins pltcl.lst pltcl
7e2475
%endif
7e2475
%endif
7e2475
7e2475
%pre server
7e2475
/usr/sbin/groupadd -g 26 -o -r postgres >/dev/null 2>&1 || :
7e2475
/usr/sbin/useradd -M -N -g postgres -o -r -d /var/lib/pgsql -s /bin/bash \
7e2475
	-c "PostgreSQL Server" -u 26 postgres >/dev/null 2>&1 || :
7e2475
7e2475
%post server
7e2475
%systemd_post %service_name
7e2475
7e2475
7e2475
%preun server
7e2475
%systemd_preun %service_name
7e2475
7e2475
7e2475
%postun server
7e2475
%systemd_postun_with_restart %service_name
7e2475
7e2475
7e2475
%check
7e2475
%if %runselftest
7e2475
make -C postgresql-setup-%{setup_version} check
7e2475
%endif
7e2475
7e2475
7e2475
%clean
7e2475
7e2475
7e2475
# FILES sections.
7e2475
%files -f main.lst
7e2475
%doc doc/KNOWN_BUGS doc/MISSING_FEATURES doc/TODO
7e2475
%doc COPYRIGHT README HISTORY doc/bug.template
7e2475
%doc README.rpm-dist
7e2475
%{_bindir}/clusterdb
7e2475
%{_bindir}/createdb
7e2475
%{_bindir}/createuser
7e2475
%{_bindir}/dropdb
7e2475
%{_bindir}/dropuser
7e2475
%{_bindir}/pg_dump
7e2475
%{_bindir}/pg_dumpall
7e2475
%{_bindir}/pg_isready
7e2475
%{_bindir}/pg_restore
7e2475
%{_bindir}/pg_upgrade
7e2475
%{_bindir}/psql
7e2475
%{_bindir}/reindexdb
7e2475
%{_bindir}/vacuumdb
7e2475
%{_mandir}/man1/clusterdb.*
7e2475
%{_mandir}/man1/createdb.*
7e2475
%{_mandir}/man1/createuser.*
7e2475
%{_mandir}/man1/dropdb.*
7e2475
%{_mandir}/man1/dropuser.*
7e2475
%{_mandir}/man1/pg_dump.*
7e2475
%{_mandir}/man1/pg_dumpall.*
7e2475
%{_mandir}/man1/pg_isready.*
7e2475
%{_mandir}/man1/pg_restore.*
7e2475
%{_mandir}/man1/pg_upgrade.*
7e2475
%{_mandir}/man1/psql.*
7e2475
%{_mandir}/man1/reindexdb.*
7e2475
%{_mandir}/man1/vacuumdb.*
7e2475
%{_mandir}/man7/*
7e2475
7e2475
7e2475
%files docs
7e2475
%doc *-US.pdf
7e2475
%doc doc/html
7e2475
%{_libdir}/pgsql/tutorial/
7e2475
7e2475
7e2475
%files contrib -f contrib.lst
7e2475
%doc contrib/spi/*.example
7e2475
%{_bindir}/oid2name
7e2475
%{_bindir}/pg_archivecleanup
7e2475
%{_bindir}/pg_standby
7e2475
%{_bindir}/pg_test_fsync
7e2475
%{_bindir}/pg_test_timing
7e2475
%{_bindir}/pg_waldump
7e2475
%{_bindir}/pgbench
7e2475
%{_bindir}/vacuumlo
7e2475
%{_datadir}/pgsql/extension/adminpack*
7e2475
%{_datadir}/pgsql/extension/amcheck*
7e2475
%{_datadir}/pgsql/extension/autoinc*
7e2475
%{_datadir}/pgsql/extension/bloom*
7e2475
%{_datadir}/pgsql/extension/btree_gin*
7e2475
%{_datadir}/pgsql/extension/btree_gist*
7e2475
%{_datadir}/pgsql/extension/chkpass*
7e2475
%{_datadir}/pgsql/extension/citext*
7e2475
%{_datadir}/pgsql/extension/cube*
7e2475
%{_datadir}/pgsql/extension/dblink*
7e2475
%{_datadir}/pgsql/extension/dict_int*
7e2475
%{_datadir}/pgsql/extension/dict_xsyn*
7e2475
%{_datadir}/pgsql/extension/earthdistance*
7e2475
%{_datadir}/pgsql/extension/file_fdw*
7e2475
%{_datadir}/pgsql/extension/fuzzystrmatch*
7e2475
%{_datadir}/pgsql/extension/hstore*
7e2475
%{_datadir}/pgsql/extension/insert_username*
7e2475
%{_datadir}/pgsql/extension/intagg*
7e2475
%{_datadir}/pgsql/extension/intarray*
7e2475
%{_datadir}/pgsql/extension/isn*
7e2475
%{_datadir}/pgsql/extension/lo*
7e2475
%{_datadir}/pgsql/extension/ltree*
7e2475
%{_datadir}/pgsql/extension/moddatetime*
7e2475
%{_datadir}/pgsql/extension/pageinspect*
7e2475
%{_datadir}/pgsql/extension/pg_buffercache*
7e2475
%{_datadir}/pgsql/extension/pg_freespacemap*
7e2475
%{_datadir}/pgsql/extension/pg_prewarm*
7e2475
%{_datadir}/pgsql/extension/pg_stat_statements*
7e2475
%{_datadir}/pgsql/extension/pg_trgm*
7e2475
%{_datadir}/pgsql/extension/pg_visibility*
7e2475
%{_datadir}/pgsql/extension/pgcrypto*
7e2475
%{_datadir}/pgsql/extension/pgrowlocks*
7e2475
%{_datadir}/pgsql/extension/pgstattuple*
7e2475
%{_datadir}/pgsql/extension/postgres_fdw*
7e2475
%{_datadir}/pgsql/extension/refint*
7e2475
%{_datadir}/pgsql/extension/seg*
7e2475
%{_datadir}/pgsql/extension/tablefunc*
7e2475
%{_datadir}/pgsql/extension/tcn*
7e2475
%{_datadir}/pgsql/extension/timetravel*
7e2475
%{_datadir}/pgsql/extension/tsm_system_rows*
7e2475
%{_datadir}/pgsql/extension/tsm_system_time*
7e2475
%{_datadir}/pgsql/extension/unaccent*
7e2475
%{_libdir}/pgsql/_int.so
7e2475
%{_libdir}/pgsql/adminpack.so
7e2475
%{_libdir}/pgsql/amcheck.so
7e2475
%{_libdir}/pgsql/auth_delay.so
7e2475
%{_libdir}/pgsql/auto_explain.so
7e2475
%{_libdir}/pgsql/autoinc.so
7e2475
%{_libdir}/pgsql/bloom.so
7e2475
%{_libdir}/pgsql/btree_gin.so
7e2475
%{_libdir}/pgsql/btree_gist.so
7e2475
%{_libdir}/pgsql/chkpass.so
7e2475
%{_libdir}/pgsql/citext.so
7e2475
%{_libdir}/pgsql/cube.so
7e2475
%{_libdir}/pgsql/dblink.so
7e2475
%{_libdir}/pgsql/dict_int.so
7e2475
%{_libdir}/pgsql/dict_xsyn.so
7e2475
%{_libdir}/pgsql/earthdistance.so
7e2475
%{_libdir}/pgsql/file_fdw.so
7e2475
%{_libdir}/pgsql/fuzzystrmatch.so
7e2475
%{_libdir}/pgsql/hstore.so
7e2475
%if %plperl
7e2475
%{_libdir}/pgsql/hstore_plperl.so
7e2475
%endif
7e2475
%if %plpython
7e2475
%{_libdir}/pgsql/hstore_plpython2.so
7e2475
%endif
7e2475
%{_libdir}/pgsql/insert_username.so
7e2475
%{_libdir}/pgsql/isn.so
7e2475
%{_libdir}/pgsql/lo.so
7e2475
%{_libdir}/pgsql/ltree.so
7e2475
%if %plpython
7e2475
%{_libdir}/pgsql/ltree_plpython2.so
7e2475
%endif
7e2475
%{_libdir}/pgsql/moddatetime.so
7e2475
%{_libdir}/pgsql/pageinspect.so
7e2475
%{_libdir}/pgsql/passwordcheck.so
7e2475
%{_libdir}/pgsql/pg_buffercache.so
7e2475
%{_libdir}/pgsql/pg_freespacemap.so
7e2475
%{_libdir}/pgsql/pg_stat_statements.so
7e2475
%{_libdir}/pgsql/pg_trgm.so
7e2475
%{_libdir}/pgsql/pg_visibility.so
7e2475
%{_libdir}/pgsql/pgcrypto.so
7e2475
%{_libdir}/pgsql/pgrowlocks.so
7e2475
%{_libdir}/pgsql/pgstattuple.so
7e2475
%{_libdir}/pgsql/postgres_fdw.so
7e2475
%{_libdir}/pgsql/refint.so
7e2475
%{_libdir}/pgsql/seg.so
7e2475
%{_libdir}/pgsql/tablefunc.so
7e2475
%{_libdir}/pgsql/tcn.so
7e2475
%{_libdir}/pgsql/test_decoding.so
7e2475
%{_libdir}/pgsql/timetravel.so
7e2475
%{_libdir}/pgsql/tsm_system_rows.so
7e2475
%{_libdir}/pgsql/tsm_system_time.so
7e2475
%{_libdir}/pgsql/unaccent.so
7e2475
%{_mandir}/man1/oid2name.*
7e2475
%{_mandir}/man1/pg_archivecleanup.*
7e2475
%{_mandir}/man1/pg_recvlogical.*
7e2475
%{_mandir}/man1/pg_standby.*
7e2475
%{_mandir}/man1/pg_test_fsync.*
7e2475
%{_mandir}/man1/pg_test_timing.*
7e2475
%{_mandir}/man1/pg_waldump.*
7e2475
%{_mandir}/man1/pgbench.*
7e2475
%{_mandir}/man1/vacuumlo.*
7e2475
%{_mandir}/man3/dblink*
7e2475
%if %selinux
7e2475
%{_datadir}/pgsql/contrib/sepgsql.sql
7e2475
%{_libdir}/pgsql/sepgsql.so
7e2475
%endif
7e2475
%if %ssl
7e2475
%{_datadir}/pgsql/extension/sslinfo*
7e2475
%{_libdir}/pgsql/sslinfo.so
7e2475
%endif
7e2475
%if %uuid
7e2475
%{_datadir}/pgsql/extension/uuid-ossp*
7e2475
%{_libdir}/pgsql/uuid-ossp.so
7e2475
%endif
7e2475
%if %xml
7e2475
%{_datadir}/pgsql/extension/xml2*
7e2475
%{_libdir}/pgsql/pgxml.so
7e2475
%endif
7e2475
7e2475
%files server -f server.lst
7e2475
%{_bindir}/initdb
7e2475
%{_bindir}/pg_basebackup
7e2475
%{_bindir}/pg_controldata
7e2475
%{_bindir}/pg_ctl
7e2475
%{_bindir}/pg_receivewal
7e2475
%{_bindir}/pg_recvlogical
7e2475
%{_bindir}/pg_resetwal
7e2475
%{_bindir}/pg_rewind
7e2475
%{_bindir}/postgres
7e2475
%{_bindir}/postgresql-setup
7e2475
%{_bindir}/postmaster
7e2475
%dir %{_datadir}/pgsql
7e2475
%{_datadir}/pgsql/*.sample
7e2475
%dir %{_datadir}/pgsql/contrib
7e2475
%{_datadir}/pgsql/conversion_create.sql
7e2475
%dir %{_datadir}/pgsql/extension
7e2475
%{_datadir}/pgsql/extension/plpgsql*
7e2475
%{_datadir}/pgsql/information_schema.sql
7e2475
%{_datadir}/pgsql/postgres.bki
7e2475
%{_datadir}/pgsql/postgres.description
7e2475
%{_datadir}/pgsql/postgres.shdescription
7e2475
%{_datadir}/pgsql/snowball_create.sql
7e2475
%{_datadir}/pgsql/sql_features.txt
7e2475
%{_datadir}/pgsql/system_views.sql
7e2475
%{_datadir}/pgsql/timezonesets/
7e2475
%{_datadir}/pgsql/tsearch_data/
7e2475
%dir %{_datadir}/postgresql-setup
7e2475
%{_datadir}/postgresql-setup/library.sh
7e2475
%{_libdir}/pgsql/*_and_*.so
7e2475
%{_libdir}/pgsql/dict_snowball.so
7e2475
%{_libdir}/pgsql/euc2004_sjis2004.so
7e2475
%{_libdir}/pgsql/libpqwalreceiver.so
7e2475
%{_libdir}/pgsql/pg_prewarm.so
7e2475
%{_libdir}/pgsql/pgoutput.so
7e2475
%{_libdir}/pgsql/plpgsql.so
7e2475
%dir %{_libexecdir}/initscripts/legacy-actions/postgresql
7e2475
%{_libexecdir}/initscripts/legacy-actions/postgresql/*
7e2475
%{_libexecdir}/postgresql-check-db-dir
7e2475
%dir %{_sysconfdir}/postgresql-setup
7e2475
%dir %{_sysconfdir}/postgresql-setup/upgrade
7e2475
%config %{_sysconfdir}/postgresql-setup/upgrade/*.conf
7e2475
%{_mandir}/man1/initdb.*
7e2475
%{_mandir}/man1/pg_basebackup.*
7e2475
%{_mandir}/man1/pg_controldata.*
7e2475
%{_mandir}/man1/pg_ctl.*
7e2475
%{_mandir}/man1/pg_receivewal.*
7e2475
%{_mandir}/man1/pg_resetwal.*
7e2475
%{_mandir}/man1/pg_rewind.*
7e2475
%{_mandir}/man1/postgres.*
7e2475
%{_mandir}/man1/postgresql-new-systemd-unit.*
7e2475
%{_mandir}/man1/postgresql-setup.*
7e2475
%{_mandir}/man1/postmaster.*
7e2475
%{_sbindir}/postgresql-new-systemd-unit
7e2475
%{_tmpfilesdir}/postgresql.conf
7e2475
%{_unitdir}/*postgresql*.service
7e2475
%attr(700,postgres,postgres) %dir %{?_localstatedir}/lib/pgsql
7e2475
%attr(644,postgres,postgres) %config(noreplace) %{?_localstatedir}/lib/pgsql/.bash_profile
7e2475
%attr(700,postgres,postgres) %dir %{?_localstatedir}/lib/pgsql/backups
7e2475
%attr(700,postgres,postgres) %dir %{?_localstatedir}/lib/pgsql/data
7e2475
%attr(755,postgres,postgres) %dir %{?_localstatedir}/run/postgresql
7e2475
%if %pam
7e2475
%config(noreplace) /etc/pam.d/postgresql
7e2475
%endif
7e2475
7e2475
7e2475
%files server-devel -f devel.lst
7e2475
%{_bindir}/pg_server_config
7e2475
%dir %{_includedir}/pgsql
7e2475
%dir %{_includedir}/pgsql/server
7e2475
%{_includedir}/pgsql/server/*
7e2475
%{_libdir}/pgsql/pgxs/
7e2475
%{_mandir}/man1/pg_server_config.*
7e2475
%{_mandir}/man3/SPI_*
7e2475
%{macrosdir}/macros.%name
7e2475
7e2475
7e2475
%files test-rpm-macros
7e2475
%{_datadir}/postgresql-setup/postgresql_pkg_tests.sh
7e2475
%{macrosdir}/macros.%name-test
7e2475
7e2475
7e2475
%files static
7e2475
%{_libdir}/libpgcommon.a
7e2475
%{_libdir}/libpgport.a
7e2475
7e2475
7e2475
%if %upgrade
7e2475
%files upgrade
7e2475
%{_libdir}/pgsql/postgresql-%{prevmajorversion}/bin
7e2475
%exclude %{_libdir}/pgsql/postgresql-%{prevmajorversion}/bin/pg_config
7e2475
%{_libdir}/pgsql/postgresql-%{prevmajorversion}/lib
7e2475
%exclude %{_libdir}/pgsql/postgresql-%{prevmajorversion}/lib/pgxs
7e2475
%{_libdir}/pgsql/postgresql-%{prevmajorversion}/share
7e2475
7e2475
7e2475
%files upgrade-devel
7e2475
%{_libdir}/pgsql/postgresql-%{prevmajorversion}/bin/pg_config
7e2475
%{_libdir}/pgsql/postgresql-%{prevmajorversion}/include
7e2475
%{_libdir}/pgsql/postgresql-%{prevmajorversion}/lib/pgxs
7e2475
%{macrosdir}/macros.%name-upgrade
7e2475
%endif
7e2475
7e2475
7e2475
%if %plperl
7e2475
%files plperl -f plperl.lst
7e2475
%{_datadir}/pgsql/extension/plperl*
7e2475
%{_libdir}/pgsql/plperl.so
7e2475
%endif
7e2475
7e2475
7e2475
%if %pltcl
7e2475
%files pltcl -f pltcl.lst
7e2475
%{_datadir}/pgsql/extension/pltcl*
7e2475
%{_libdir}/pgsql/pltcl.so
7e2475
%endif
7e2475
7e2475
7e2475
%if %plpython
7e2475
%files plpython -f plpython.lst
7e2475
%{_datadir}/pgsql/extension/plpython2*
7e2475
%{_datadir}/pgsql/extension/plpythonu*
7e2475
%{_libdir}/pgsql/plpython2.so
7e2475
%endif
7e2475
7e2475
7e2475
%if %plpython3
7e2475
%files plpython3 -f plpython3.lst
7e2475
%{_datadir}/pgsql/extension/plpython3*
7e2475
%{_libdir}/pgsql/plpython3.so
7e2475
%endif
7e2475
7e2475
7e2475
%if %test
7e2475
%files test
7e2475
%attr(-,postgres,postgres) %{_libdir}/pgsql/test
7e2475
%endif
7e2475
7e2475
7e2475
%changelog
fd9776
* Tue Jun 1 2021 Filip Januš <fjanus@redhat.com> - 10.17-1
fd9776
- Update to 10.17
fd9776
  Resolves: #1964521
fd9776
  Fix: CVE-2021-32027, CVE-2021-32028
fd9776
7e2475
* Wed Nov 18 2020 Patrik Novotný <panovotn@redhat.com> - 10.15-1
7e2475
- Rebase to upstream release 10.15
fd9776
  Resolves: rhbz#1898214
fd9776
  Resolves: rhbz#1898342
fd9776
  Resolves: rhbz#1898248
7e2475
7e2475
* Tue Aug 11 2020 Patrik Novotný <panovotn@redhat.com> - 10.14-1
7e2475
- Rebase to upstream release 10.14
7e2475
  Fixes RHBZ#1727803
7e2475
  Fixes RHBZ#1741489
7e2475
  Fixes RHBZ#1709196
7e2475
7e2475
* Tue May 12 2020 Patrik Novotný <panovotn@redhat.com> - 10.13-1
7e2475
- Rebase to upstream release 10.13
7e2475
  Fixes RHBZ#1727803
7e2475
  Fixes RHBZ#1741489
7e2475
  Fixes RHBZ#1709196
7e2475
7e2475
* Thu Nov 15 2018 Pavel Raiskup <praiskup@redhat.com> - 10.6-1
7e2475
- update to 10.6 per release notes:
7e2475
  https://www.postgresql.org/docs/10/release-10-6.html
7e2475
7e2475
* Fri Aug 10 2018 Pavel Raiskup <praiskup@redhat.com> - 10.5-1
7e2475
- update to 10.5 per release notes:
7e2475
  https://www.postgresql.org/docs/10/static/release-10-5.html
7e2475
7e2475
* Thu Aug 02 2018 Pavel Raiskup <praiskup@redhat.com> - 10.4-4
7e2475
- new postgresql-setup, the %%postgresql_tests* macros now start
7e2475
  the build-time server on random port number
7e2475
7e2475
* Wed Aug 01 2018 Pavel Raiskup <praiskup@redhat.com> - 10.4-3
7e2475
- gcc is fixed (rhbz#1600395), dropping the workaround patch
7e2475
7e2475
* Thu Jul 12 2018 Pavel Raiskup <praiskup@redhat.com> - 10.4-2
7e2475
- fix pg_config-*.mo collision with libpq-devel
7e2475
7e2475
* Thu Jul 12 2018 Pavel Raiskup <praiskup@redhat.com> - 10.4-1
7e2475
- sync with fedora rawhide
7e2475
7e2475
* Thu Apr 26 2018 Pavel Raiskup <praiskup@redhat.com> - 10.3-5
7e2475
- pltcl: drop tcl-pltcl dependency (rhbz#1571181)
7e2475
7e2475
* Thu Apr 19 2018 Pavel Raiskup <praiskup@redhat.com> - 10.3-4
7e2475
- fix upgrade subpackage (sync with F28+)
7e2475
7e2475
* Wed Apr 18 2018 Pavel Raiskup <praiskup@redhat.com> - 10.3-3
7e2475
- missing *-devel => *-server-devel* changes (rhbz#1569041)
7e2475
7e2475
* Fri Apr 13 2018 Pavel Raiskup <praiskup@redhat.com> - 10.3-2
7e2475
- don't build *-libs subpackage
7e2475
- don't collide with libpq{,-devel}
7e2475
- sync with fedora rawhide
7e2475
7e2475
* Thu Mar 01 2018 Pavel Raiskup <praiskup@redhat.com> - 10.3-1
7e2475
- update to 10.3 per release notes:
7e2475
  https://www.postgresql.org/docs/10/static/release-10-3.html
7e2475
7e2475
* Tue Dec 19 2017 Pavel Raiskup <praiskup@redhat.com> - 10.1-2
7e2475
- build plpython3 subpackage
7e2475
7e2475
* Tue Dec 19 2017 Pavel Raiskup <praiskup@redhat.com> - 10.1-1
7e2475
- sync with Fedora 28 state
7e2475
- fix prevmajorversion to 9.2 (RHEL7 version)
7e2475
- reset Release to 1, for RHEL8 purposes
7e2475
7e2475
* Tue Aug 29 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.5-1
7e2475
- update to 9.6.5 per release notes:
7e2475
  https://www.postgresql.org/docs/9.6/static/release-9-6-5.html
7e2475
7e2475
* Tue Aug 08 2017 Petr Kubat <pkubat@redhat.com> - 9.6.4-1
7e2475
- update to 9.6.4 per release notes:
7e2475
  https://www.postgresql.org/docs/9.6/static/release-9-6-4.html
7e2475
7e2475
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9.6.3-9
7e2475
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
7e2475
7e2475
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9.6.3-8
7e2475
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
7e2475
7e2475
* Mon Jul 24 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-7
7e2475
- drop perl rpath patch; libperl.so* is now in %%_libdir (rhbz#1474417)
7e2475
7e2475
* Mon Jun 26 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-6
7e2475
- don't provide libpqwalreceiver.so() soname
7e2475
7e2475
* Wed Jun 21 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-5
7e2475
- drop the __os_install_post redefinition hack
7e2475
7e2475
* Mon Jun 12 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-4
7e2475
- drop -DLINUX_OOM_SCORE_ADJ=0 define from CFLAGS (rhbz#1110969, rhbz#1436554)
7e2475
7e2475
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 9.6.3-3
7e2475
- Perl 5.26 rebuild
7e2475
7e2475
* Mon May 22 2017 Petr Kubat <pkubat@redhat.com> - 9.6.3-2
7e2475
- fix indentation issues in hstore_plperlu test-case (rhbz#1453111)
7e2475
7e2475
* Thu May 11 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-1
7e2475
- update to 9.6.3 per release notes:
7e2475
  https://www.postgresql.org/docs/9.6/static/release-9-6-3.html
7e2475
7e2475
* Mon Apr 24 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.2-4
7e2475
- rebase to postgresql-setup 5.1
7e2475
7e2475
* Mon Apr 10 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.2-3
7e2475
- spring cleanup
7e2475
7e2475
* Mon Mar 27 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.2-2
7e2475
- rebuild for rhbz#1436006
7e2475
7e2475
* Wed Feb 22 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.2-1
7e2475
- update to 9.6.2 per release notes:
7e2475
  https://www.postgresql.org/docs/9.6/static/release-9-6-2.html
7e2475
- remove mistakenly isntalled libpgfeutils.a
7e2475
7e2475
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 9.6.1-3
7e2475
- Rebuild for readline 7.x
7e2475
7e2475
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 9.6.1-2
7e2475
- Rebuild for Python 3.6
7e2475
7e2475
* Wed Oct 26 2016 Pavel Raiskup <praiskup@redhat.com> - 9.6.1-1
7e2475
- update to 9.6.1 per release notes:
7e2475
  https://www.postgresql.org/docs/9.6/static/release-9-6-1.html
7e2475
- add gen_sources.sh script
7e2475
- remove plpython build hack, fixed upstream
7e2475
- remove aarch64 and ppc64p7 hacks, fixed by the %%configure call
7e2475
7e2475
* Tue Oct 04 2016 Pavel Raiskup <praiskup@redhat.com> - 9.6.0-1
7e2475
- rebase the postgresql-setup tarball
7e2475
7e2475
* Fri Sep 30 2016 Pavel Raiskup <praiskup@redhat.com> - 9.6.0-1
7e2475
- update to 9.6.0 per release notes:
7e2475
  https://www.postgresql.org/docs/9.6/static/release-9-6.html
7e2475
7e2475
* Fri Aug 12 2016 Petr Kubat <pkubat@redhat.com> - 9.5.4-1
7e2475
- update to 9.5.4 per release notes:
7e2475
  http://www.postgresql.org/docs/9.5/static/release-9-5-4.html
7e2475
7e2475
* Mon Jun 20 2016 Pavel Raiskup <praiskup@redhat.com> - 9.5.3-3
7e2475
- use multilib-rpm-config package for multilib hacks
7e2475
7e2475
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 9.5.3-2
7e2475
- Perl 5.24 rebuild
7e2475
7e2475
* Thu May 12 2016 Pavel Raiskup <praiskup@redhat.com> - 9.5.3-1
7e2475
- update to 9.5.3 per release notes:
7e2475
  http://www.postgresql.org/docs/9.5/static/release-9-5-3.html
7e2475
7e2475
* Mon May 09 2016 Pavel Raiskup <praiskup@redhat.com> - 9.5.2-2
7e2475
- fix the test subpackage, pg_regress now uses --bindir
7e2475
7e2475
* Sun Apr 03 2016 Pavel Raiskup <praiskup@redhat.com> - 9.5.2-1
7e2475
- update to 9.5.2 per release notes
7e2475
  http://www.postgresql.org/docs/9.5/static/release-9-5-2.html
7e2475
7e2475
* Fri Feb 26 2016 Pavel Raiskup <praiskup@redhat.com> - 9.5.1-2
7e2475
- package static libraries without dynamic counterparts (rhbz#784281)
7e2475
7e2475
* Tue Feb 09 2016 Pavel Raiskup <praiskup@redhat.com> - 9.5.1-1
7e2475
- update to 9.5.1 per release notes
7e2475
  http://www.postgresql.org/docs/9.5/static/release-9-5-1.html
7e2475
7e2475
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 9.5.0-2
7e2475
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
7e2475
7e2475
* Wed Jan 06 2016 Pavel Raiskup <praiskup@redhat.com> - 9.5.0-1
7e2475
- update to 9.5.0 per release notes
7e2475
  http://www.postgresql.org/docs/9.5/static/release-9-5.html
7e2475
- update postgresql-setup to v4.0 to reflect new packaging style
7e2475
7e2475
* Wed Dec 16 2015 Pavel Kajaba <pkajaba@redhat.com> - 9.4.5-5
7e2475
- fixed problem with xml2 test (rhbz#1286692)
7e2475
7e2475
* Thu Dec 3 2015 Pavel Kajaba <pkajaba@redhat.com> - 9.4.5-4
7e2475
- fixed short-circuit build
7e2475
7e2475
* Thu Nov 12 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.5-3
7e2475
- fix testsuite failure with new Python 3.5 (rhbz#1280404)
7e2475
7e2475
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.4.5-3
7e2475
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
7e2475
7e2475
* Fri Oct 16 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.5-2
7e2475
- devel package should not require the main package (rhbz#1272219)
7e2475
- multilib fix, more general solution (rhbz#1190346)
7e2475
7e2475
* Tue Oct 06 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.5-1
7e2475
- update to 9.4.5 per release notes
7e2475
  http://www.postgresql.org/docs/9.4/static/release-9-4-5.html
7e2475
7e2475
* Fri Sep 25 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.4-6
7e2475
- postgresql-setup rebase to 3.4 (rhbz#1265319, rhbz#1247477)
7e2475
7e2475
* Thu Sep 17 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.4-5
7e2475
- enable hardening (safe for kernel 4.1+) (see rhbz#952946 comment #24)
7e2475
7e2475
* Tue Aug 04 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.4-4
7e2475
- install README.rpm-dist properly (rhbz#1249708)
7e2475
7e2475
* Tue Jul 14 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.4-3
7e2475
- revert/fix part of e6acde1a9 commit related to multilib hack (rhbz#1242873)
7e2475
7e2475
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.4.4-2
7e2475
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7e2475
7e2475
* Mon Jun 15 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.4-1
7e2475
- fix for Perl 5.22 rebase (rhbz#1231279)
7e2475
7e2475
* Thu Jun 11 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.4-1
7e2475
- update to 9.4.4 per release notes
7e2475
  http://www.postgresql.org/docs/9.4/static/release-9-4-4.html
7e2475
7e2475
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 9.4.3-2
7e2475
- Perl 5.22 rebuild
7e2475
7e2475
* Wed Jun 03 2015 Jozef Mlich <jmlich@redhat.com> - 9.4.3-1
7e2475
- update to 9.4.3 per release notes
7e2475
  http://www.postgresql.org/docs/9.4/static/release-9-4-3.html
7e2475
7e2475
* Thu May 21 2015 Jozef Mlich <jmlich@redhat.com> - 9.4.2-1
7e2475
- update to 9.4.2 per release notes
7e2475
  http://www.postgresql.org/docs/9.4/static/release-9-4-2.html
7e2475
7e2475
* Thu May 21 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.1-4
7e2475
- make the %%check phase more verbose for FAIL cases
7e2475
- don't FTBFS on f23+ where hardening is on by default
7e2475
7e2475
* Wed Mar 25 2015 Jozef Mlich <jmlich@redhat.com> - 9.4.1-3
7e2475
- update to postgresql-setup 3.3
7e2475
7e2475
* Thu Mar 19 2015 Jozef Mlich <jmlich@redhat.com> - 9.4.1-2
7e2475
- Adding tcl-pgtcl into Requires of -tcl subpackage
7e2475
7e2475
* Wed Feb 04 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.1-1
7e2475
- update to 9.4.1 per release notes
7e2475
  http://www.postgresql.org/docs/9.4/static/release-9-4-1.html
7e2475
7e2475
* Tue Feb 03 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.0-2
7e2475
- sort file lists alphabetically
7e2475
7e2475
* Tue Dec 23 2014 Jozef Mlich <jmlich@redhat.com> - 9.4.0-1
7e2475
- update to 9.4.0 per release notes
7e2475
  http://www.postgresql.org/docs/9.4/static/index.html
7e2475
7e2475
* Mon Nov 24 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.5-8
7e2475
- print regression.diffs contents to stdout (#1118392)
7e2475
7e2475
* Mon Oct 20 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.5-7
7e2475
- be forgiving of variant spellings of locale names in pg_upgrade (#1007802)
7e2475
7e2475
* Sun Sep 21 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.5-6
7e2475
- postgresql-setup & relatives are now in separate tarball
7e2475
7e2475
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 9.3.5-5
7e2475
- Perl 5.20 rebuild
7e2475
7e2475
* Thu Aug 21 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.5-4
7e2475
- install macros.postgresql, not postgresql.macros
7e2475
7e2475
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.3.5-3
7e2475
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
7e2475
7e2475
* Thu Jul 24 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.5-2
7e2475
- fix the prevversion sum link and comment a little
7e2475
7e2475
* Tue Jul 22 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.5-1
7e2475
- update to 9.3.5 per release notes
7e2475
  http://www.postgresql.org/docs/9.3/static/release-9-3-5.html
7e2475
7e2475
* Fri Jul 18 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.4-8
7e2475
- provide postgresql-doc for postgresql-docs package (#1086420)
7e2475
- move html documentation to *-docs subpackage (#1086420)
7e2475
- provide postgresql-server(:MODULE_COMPAT_%%{postgresql_major}) to guard
7e2475
  against incompatible plugin installation (#1008939)
7e2475
7e2475
* Thu Jun 19 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.4-7
7e2475
- OOM handling compatible with 9.5+, by Tom Lane (#1110969)
7e2475
7e2475
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.3.4-6
7e2475
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
7e2475
7e2475
* Mon May 26 2014 Honza Horak <hhorak@redhat.com> - 9.3.4-5
7e2475
- Rebuild for Python 3.4
7e2475
7e2475
* Fri May 23 2014 Honza Horak <hhorak@redhat.com> - 9.3.4-4
7e2475
- Change plpython_do test a bit so it is universal for all python versions
7e2475
7e2475
* Wed May 21 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 9.3.4-3
7e2475
- Rebuilt for https://fedoraproject.org/wiki/Changes/f21tcl86
7e2475
7e2475
* Wed May 14 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.4-2
7e2475
- set basic $PATH when it is empty or unset, (#1097317)
7e2475
7e2475
* Thu Mar 20 2014 Jozef Mlich <jmlich@redhat.com> - 9.3.4-1
7e2475
- update to 9.3.4 minor version per release notes:
7e2475
  http://www.postgresql.org/docs/9.3/static/release-9-3-4.html
7e2475
7e2475
* Thu Mar 13 2014 Jozef Mlich <jmlich@redhat.com> - 9.3.3-2
7e2475
- Fix WAL replay of locking an updated tuple 
7e2475
  kudos to Alvaro Herrera 
7e2475
7e2475
* Thu Feb 20 2014 Jozef Mlich <jmlich@redhat.com> - 9.3.3-1
7e2475
- update to 9.3.3 minor version per release notes:
7e2475
  http://www.postgresql.org/docs/9.3/static/release-9-3-3.html
7e2475
7e2475
* Thu Jan 23 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.2-7
7e2475
- postgresql-setup: typos
7e2475
7e2475
* Tue Jan 21 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.2-6
7e2475
- add PGSETUP_PGUPGRADE_OPTIONS env var for postgresql-setup
7e2475
7e2475
* Mon Jan 20 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.2-5
7e2475
- fix the postgresql-setup --version option
7e2475
7e2475
* Mon Jan 20 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.2-4
7e2475
- postgresql-setup(upgrade): don't stop old server when it can not be started
7e2475
- postgresql-setup(initdb, upgrade): add $PGSETUP_INITDB_OPTIONS
7e2475
- postgresql-setup: do not pretend 'sh' compatibility
7e2475
- move script generation to proper place
7e2475
- postgresql-setup: document a little and genrate manual page
7e2475
7e2475
* Fri Jan 10 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.2-3
7e2475
- build with -O3 on ppc64 (private #1051075)
7e2475
7e2475
* Fri Dec 13 2013 Pavel Raiskup <praiskup@redhat.com> - 9.3.2-2
7e2475
- lint the postgresql-setup script
7e2475
7e2475
* Thu Dec 12 2013 Jozef Mlich <jmlich@redhat.com> - 9.3.2-2
7e2475
- don't fail if user has badly configure 'postgres' user access (#1040364)
7e2475
7e2475
* Thu Dec 05 2013 Jozef Mlich <jmlich@redhat.com> - 9.3.2-1
7e2475
- update to 9.3.2 minor version per release notes:
7e2475
  http://www.postgresql.org/docs/9.3/static/release-9-3-2.html
7e2475
7e2475
* Thu Oct 17 2013 Jozef Mlich <jmlich@redhat.com> - 9.3.1-2
7e2475
- the prevversion (see package upgrade process) is updated
7e2475
  from 9.2.4 to 9.2.5
7e2475
7e2475
* Thu Oct 10 2013 Jozef Mlich <jmlich@redhat.com> - 9.3.1-1
7e2475
- update to 9.3.1 minor version per release notes:
7e2475
  http://www.postgresql.org/docs/9.3/static/release-9-3-1.html
7e2475
7e2475
* Tue Sep 10 2013 Pavel Raiskup <praiskup@redhat.com> - 9.3.0-1
7e2475
- update to 9.3 major version per release notes:
7e2475
  http://www.postgresql.org/docs/9.3/static/release-9-3.html
7e2475
7e2475
* Thu Aug 15 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-11
7e2475
- upgrade: stop old server in case of permissions problem (#896161)
7e2475
7e2475
* Mon Aug 12 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-10
7e2475
- disable aggressive loop optimizations for old codebase (#993532)
7e2475
7e2475
* Wed Aug 07 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-9
7e2475
- generate links docdir links in postgresql-check-db-dir correctly (#994048)
7e2475
7e2475
* Tue Aug 06 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-8
7e2475
- allow `rpmbuild -bi --short-circuit`
7e2475
7e2475
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.2.4-7
7e2475
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
7e2475
7e2475
* Wed Jul 24 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-6
7e2475
- split aarch64 patch to allow build without postgresql-upgrade
7e2475
7e2475
* Tue Jul 23 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-5
7e2475
- fix testsuite to allow build against Perl 5.18
7e2475
7e2475
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 9.2.4-5
7e2475
- Perl 5.18 rebuild
7e2475
7e2475
* Tue Jul 09 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-4
7e2475
- do not use -b for manual page fixes
7e2475
7e2475
* Thu Jun 20 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-3
7e2475
- fix README.rpm-dist for the bug (#969050)
7e2475
- replace hard-wired path with %%{_datadir}
7e2475
7e2475
* Thu Jun 13 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-3
7e2475
- add atomic operations support for aarch64 to preupgrade version also (#970661)
7e2475
- apply the forgotten man-page-day patch (#948933)
7e2475
7e2475
* Thu Jun 13 2013 Jan Stanek <jstanek@redhat.com> - 9.2.4-3
7e2475
- added patch for manual pages (#948933)
7e2475
7e2475
* Tue Jun 11 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-2
7e2475
- postgresql-setup: don't create whole path to server's data to make sure that
7e2475
  the parent directory has correct permissions (#972425)
7e2475
7e2475
* Wed Jun 05 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-2
7e2475
- fix rpmlint warnings
7e2475
- fix aarch64 build by defining missing atomic operations (#970661)
7e2475
7e2475
* Thu Apr  4 2013 Tom Lane <tgl@redhat.com> 9.2.4-1
7e2475
- Update to PostgreSQL 9.2.4, for various fixes described at
7e2475
  http://www.postgresql.org/docs/9.2/static/release-9-2-4.html
7e2475
  including the fixes for CVE-2013-1899, CVE-2013-1900, CVE-2013-1901
7e2475
Resolves: #929223, #929255, #929328
7e2475
- fix build for aarch64 and ppc64p7
7e2475
7e2475
* Thu Feb  7 2013 Tom Lane <tgl@redhat.com> 9.2.3-1
7e2475
- Update to PostgreSQL 9.2.3, for various fixes described at
7e2475
  http://www.postgresql.org/docs/9.2/static/release-9-2-3.html
7e2475
  including the fix for CVE-2013-0255
7e2475
Resolves: #908722
7e2475
- Make the package build with selinux option disabled
7e2475
Resolves: #894367
7e2475
- Include old version of pg_controldata in postgresql-upgrade subpackage
7e2475
Related: #896161
7e2475
7e2475
* Thu Jan  3 2013 Tom Lane <tgl@redhat.com> 9.2.2-3
7e2475
- Prevent creation of TCP socket during pg_upgrade regression test, so that
7e2475
  concurrent RPM builds on the same machine won't fail
7e2475
Resolves: #891531
7e2475
- Make sure $PGDATA/pg_log/ gets the right SELinux label in postgresql-setup
7e2475
Resolves: #891547
7e2475
7e2475
* Wed Dec 19 2012 Tom Lane <tgl@redhat.com> 9.2.2-2
7e2475
- Make building of plpython3 dependent on Fedora version, per guidelines
7e2475
Resolves: #888419
7e2475
7e2475
* Thu Dec  6 2012 Tom Lane <tgl@redhat.com> 9.2.2-1
7e2475
- Update to PostgreSQL 9.2.2, for various fixes described at
7e2475
  http://www.postgresql.org/docs/9.2/static/release-9-2-2.html
7e2475
- Use new systemd install/uninstall trigger macros conditionally,
7e2475
  so that package can still be installed on pre-F18 branches
7e2475
7e2475
* Mon Sep 24 2012 Tom Lane <tgl@redhat.com> 9.2.1-1
7e2475
- Update to PostgreSQL 9.2.1, for various fixes described at
7e2475
  http://www.postgresql.org/docs/9.2/static/release-9-2-1.html
7e2475
  including a nasty data-loss bug
7e2475
- Adopt new systemd macros for server package install/uninstall triggers
7e2475
Resolves: #850277
7e2475
7e2475
* Mon Sep 10 2012 Tom Lane <tgl@redhat.com> 9.2.0-1
7e2475
- Update to PostgreSQL 9.2.0 (major version bump);
7e2475
  in-place upgrade support now works from 9.1.x as the previous version
7e2475
- Add postgresql-plpython3 subpackage with PL/Python built against Python 3
7e2475
7e2475
* Tue Aug 28 2012 Tom Lane <tgl@redhat.com> 9.1.5-2
7e2475
- Remove unnecessary ldconfig calls in pre/post triggers
7e2475
Resolves: #849344
7e2475
7e2475
* Fri Aug 17 2012 Tom Lane <tgl@redhat.com> 9.1.5-1
7e2475
- Update to PostgreSQL 9.1.5, for various fixes described at
7e2475
  http://www.postgresql.org/docs/9.1/static/release-9-1-5.html
7e2475
  including the fixes for CVE-2012-3488, CVE-2012-3489
7e2475
7e2475
* Mon Aug 13 2012 Tom Lane <tgl@redhat.com> 9.1.4-5
7e2475
- Back-port upstream support for postmaster listening on multiple Unix sockets
7e2475
- Configure postmaster to create sockets in both /var/run/postgresql and /tmp;
7e2475
  the former is now the default place for libpq to contact the postmaster.
7e2475
Resolves: #825448
7e2475
- Annotate postgresql.conf about not setting port number there
7e2475
- Minor specfile cleanup per suggestions from Tom Callaway
7e2475
Related: #845110
7e2475
7e2475
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.1.4-4
7e2475
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7e2475
7e2475
* Sat Jul 14 2012 Tom Lane <tgl@redhat.com> 9.1.4-3
7e2475
- Update code to use oom_score_adj not oom_adj, thereby suppressing
7e2475
  whining in the kernel log
7e2475
- Add "legacy action" scripts to support "service postgresql initdb" and
7e2475
  "service postgresql upgrade" in a now-approved fashion (requires a
7e2475
  recent version of initscripts to work)
7e2475
Resolves: #800416
7e2475
7e2475
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 9.1.4-2
7e2475
- Perl 5.16 rebuild
7e2475
7e2475
* Mon Jun  4 2012 Tom Lane <tgl@redhat.com> 9.1.4-1
7e2475
- Update to PostgreSQL 9.1.4, for various fixes described at
7e2475
  http://www.postgresql.org/docs/9.1/static/release-9-1-4.html
7e2475
  including the fixes for CVE-2012-2143, CVE-2012-2655
7e2475
Resolves: #826606
7e2475
- Update previous version (embedded in postgresql-upgrade) to 9.0.8
7e2475
  because fix in whole-row variable dumping could be needed for upgrades
7e2475
- Revert fix for bug #800416, per fedora-packaging discussion at
7e2475
  http://lists.fedoraproject.org/pipermail/packaging/2012-April/008314.html
7e2475
  "service postgresql initdb" is dead and will stay that way
7e2475
7e2475
* Sat Mar 17 2012 Tom Lane <tgl@redhat.com> 9.1.3-3
7e2475
- Fix postgresql-setup to rely on systemd to parse the unit file, instead
7e2475
  of using ad-hoc code
7e2475
Resolves: #804290
7e2475
7e2475
* Tue Mar 13 2012 Tom Lane <tgl@redhat.com> 9.1.3-2
7e2475
- Fix postgresql-setup to look for unit file in /usr/lib and to ignore
7e2475
  comments therein
7e2475
Resolves: #802835
7e2475
- Resurrect a now-mostly-dummy postgresql init script, so that people can
7e2475
  keep on using "service postgresql initdb" if they wish
7e2475
Resolves: #800416
7e2475
7e2475
* Mon Feb 27 2012 Tom Lane <tgl@redhat.com> 9.1.3-1
7e2475
- Update to PostgreSQL 9.1.3, for various fixes described at
7e2475
  http://www.postgresql.org/docs/9.1/static/release-9-1-3.html
7e2475
  including the fixes for CVE-2012-0866, CVE-2012-0867, CVE-2012-0868
7e2475
Resolves: #797918
7e2475
7e2475
* Mon Jan  9 2012 Tom Lane <tgl@redhat.com> 9.1.2-2
7e2475
- Make systemd unit file more user-friendly by resurrecting the old init
7e2475
  script's checks for data directory presence and version match
7e2475
Resolves: #771496
7e2475
7e2475
* Mon Dec  5 2011 Tom Lane <tgl@redhat.com> 9.1.2-1
7e2475
- Update to PostgreSQL 9.1.2, for various fixes described at
7e2475
  http://www.postgresql.org/docs/9.1/static/release-9-1-2.html
7e2475
7e2475
* Wed Nov 02 2011 Honza Horak <hhorak@redhat.com> 9.1.1-2
7e2475
- Create a symlink of pg_regress instead of full copy;
7e2475
  Don't strip symbols from regress libs
7e2475
Related: #729012
7e2475
7e2475
* Mon Sep 26 2011 Tom Lane <tgl@redhat.com> 9.1.1-1
7e2475
- Update to PostgreSQL 9.1.1, for various fixes described at
7e2475
  http://www.postgresql.org/docs/9.1/static/release-9-1-1.html
7e2475
- Enable build (but not test) of contrib/sepgsql
7e2475
- Clean up specfile build options so that turning options off works again
7e2475
7e2475
* Mon Sep 12 2011 Tom Lane <tgl@redhat.com> 9.1.0-1
7e2475
- Update to PostgreSQL 9.1.0 (major version bump);
7e2475
  in-place upgrade support now works from 9.0.x as the previous version
7e2475
7e2475
* Wed Jul 27 2011 Tom Lane <tgl@redhat.com> 9.0.4-8
7e2475
- Convert to systemd startup support
7e2475
Resolves: #696427
7e2475
7e2475
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 9.0.4-7
7e2475
- Perl mass rebuild
7e2475
7e2475
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 9.0.4-6
7e2475
- Perl mass rebuild
7e2475
7e2475
* Wed Jul  6 2011 Tom Lane <tgl@redhat.com> 9.0.4-5
7e2475
- Remove erroneously-included Default-Start line from LSB init block
7e2475
Related: #717024
7e2475
7e2475
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> 9.0.4-4
7e2475
- Perl mass rebuild
7e2475
- incorporate upstream patch to make it build with Perl 5.14
7e2475
7e2475
* Fri Jun 10 2011 Tom Lane <tgl@redhat.com> 9.0.4-3
7e2475
- Work around gcc 4.6.0 bug (temporary backport from next upstream release)
7e2475
7e2475
* Tue May 10 2011 Tom Lane <tgl@redhat.com> 9.0.4-2
7e2475
- Add LSB init block to initscript, to ensure sane ordering at system boot
7e2475
Resolves: #703215
7e2475
7e2475
* Mon Apr 18 2011 Tom Lane <tgl@redhat.com> 9.0.4-1
7e2475
- Update to PostgreSQL 9.0.4, for various fixes described at
7e2475
  http://www.postgresql.org/docs/9.0/static/release-9-0-4.html
7e2475
- Add %%{?_isa} to cross-subpackage Requires, per latest packaging guidelines
7e2475
7e2475
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.0.3-3
7e2475
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7e2475
7e2475
* Thu Feb  3 2011 Tom Lane <tgl@redhat.com> 9.0.3-2
7e2475
- Remove filter-requires-perl-Pg.sh, which doesn't seem to be needed now that
7e2475
  PyGreSQL has been split out; and our use of it isn't compatible with rpm 4.9
7e2475
  anyway
7e2475
7e2475
* Tue Feb  1 2011 Tom Lane <tgl@redhat.com> 9.0.3-1
7e2475
- Update to PostgreSQL 9.0.3, for various fixes described at
7e2475
  http://www.postgresql.org/docs/9.0/static/release-9-0-3.html
7e2475
  including the fix for CVE-2010-4015
7e2475
Resolves: #674296
7e2475
7e2475
* Tue Dec 28 2010 Tom Lane <tgl@redhat.com> 9.0.2-1
7e2475
- Update to PostgreSQL 9.0.2 (major version bump)
7e2475
- Create infrastructure for in-place database upgrade using pg_upgrade
7e2475
Resolves: #398221
7e2475
7e2475
* Thu Dec 16 2010 Tom Lane <tgl@redhat.com> 8.4.6-1
7e2475
- Update to PostgreSQL 8.4.6, for various fixes described at
7e2475
  http://www.postgresql.org/docs/8.4/static/release-8-4-6.html
7e2475
- Ensure we don't package any .gitignore files from the source tarball
7e2475
Related: #642210
7e2475
7e2475
* Tue Oct  5 2010 Tom Lane <tgl@redhat.com> 8.4.5-1
7e2475
- Update to PostgreSQL 8.4.5, for various fixes described at
7e2475
  http://www.postgresql.org/docs/8.4/static/release-8-4-5.html
7e2475
  including the fix for CVE-2010-3433
7e2475
Related: #639371
7e2475
- Add -p "$pidfile" to initscript's status call to improve corner cases.
7e2475
Related: #561010
7e2475
7e2475
* Sat Jul 31 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 8.4.4-3
7e2475
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
7e2475
- Duplicate COPYRIGHT in -libs subpackage, per revised packaging guidelines
7e2475
7e2475
* Wed Jun 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 8.4.4-2
7e2475
- Mass rebuild with perl-5.12.0
7e2475
7e2475
* Mon May 17 2010 Tom Lane <tgl@redhat.com> 8.4.4-1
7e2475
- Update to PostgreSQL 8.4.4, for various fixes described at
7e2475
  http://www.postgresql.org/docs/8.4/static/release-8-4-4.html
7e2475
  including fixes for CVE-2010-1169 and CVE-2010-1170
7e2475
Resolves: #593032
7e2475
7e2475
* Sun Mar 14 2010 Tom Lane <tgl@redhat.com> 8.4.3-1
7e2475
- Update to PostgreSQL 8.4.3, for various fixes described at
7e2475
  http://www.postgresql.org/docs/8.4/static/release-8-4-3.html
7e2475
7e2475
* Mon Feb 22 2010 Tom Lane <tgl@redhat.com> 8.4.2-8
7e2475
- Bring init script into some modicum of compliance with Fedora/LSB standards
7e2475
Resolves: #201043
7e2475
7e2475
* Thu Feb 18 2010 Tom "spot" Callaway <tcallawa@redhat.com> 8.4.2-7
7e2475
- adjust license tag to reflect OSI decision
7e2475
7e2475
* Tue Jan 26 2010 Tom Lane <tgl@redhat.com> 8.4.2-6
7e2475
- Emit explicit error message if user tries to build RPM as root
7e2475
Related: #558921
7e2475
7e2475
* Wed Jan 20 2010 Tom Lane <tgl@redhat.com> 8.4.2-5
7e2475
- Latest version of systemtap needs the probes.o file to be built again
7e2475
Resolves: #557266
7e2475
- Provide script and instructions for building the documentation PDF
7e2475
7e2475
* Mon Jan 11 2010 Tom Lane <tgl@redhat.com> 8.4.2-4
7e2475
- Arrange for the postmaster, but not any of its child processes, to be run
7e2475
  with oom_adj -17.  This compensates for the OOM killer not being smart about
7e2475
  accounting for shared memory usage.
7e2475
7e2475
* Sat Jan  9 2010 Tom Lane <tgl@redhat.com> 8.4.2-3
7e2475
- Remove the postgresql-python and postgresql-tcl subpackages.  These files
7e2475
  are now broken out as their own packages (PyGreSQL and tcl-pgtcl,
7e2475
  respectively), to reflect the now longstanding split of upstream projects.
7e2475
Related: #452306, #452321
7e2475
7e2475
* Tue Jan  5 2010 Tom Lane <tgl@redhat.com> 8.4.2-2
7e2475
- Remove static libraries (.a files) from package, per packaging guidelines
7e2475
- Change %%define to %%global, per packaging guidelines
7e2475
7e2475
* Wed Dec 16 2009 Tom Lane <tgl@redhat.com> 8.4.2-1
7e2475
- Update to PostgreSQL 8.4.2, for various fixes described at
7e2475
  http://www.postgresql.org/docs/8.4/static/release-8-4-2.html
7e2475
  including two security issues
7e2475
Related: #546321
7e2475
Related: #547662
7e2475
- Use -N not the obsolete -n in useradd call
7e2475
Resolves: #495727
7e2475
- Clean up specfile to eliminate rpmlint gripes, mainly by removing
7e2475
  no-longer-needed provisions for superseding rh-postgresql
7e2475
7e2475
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 8.4.1-5
7e2475
- rebuild against perl 5.10.1
7e2475
7e2475
* Thu Oct 15 2009 Tom Lane <tgl@redhat.com> 8.4.1-4
7e2475
- add sparc/sparc64 to multilib header support
7e2475
7e2475
* Mon Sep 21 2009 Tom Lane <tgl@redhat.com> 8.4.1-3
7e2475
- Ensure pgstartup.log gets the right ownership/permissions during initdb
7e2475
Resolves: #498959
7e2475
7e2475
* Wed Sep 16 2009 Tomas Mraz <tmraz@redhat.com> - 8.4.1-2
7e2475
- Use password-auth common PAM configuration instead of system-auth
7e2475
7e2475
* Wed Sep  9 2009 Tom Lane <tgl@redhat.com> 8.4.1-1
7e2475
- Update to PostgreSQL 8.4.1, for various fixes described at
7e2475
  http://www.postgresql.org/docs/8.4/static/release-8-4-1.html
7e2475
  including two security issues
7e2475
Related: #522085
7e2475
Related: #522092
7e2475
7e2475
* Tue Sep 01 2009 Karsten Hopp <karsten@redhat.com> 8.4.0-3.2
7e2475
- bump release and build again with the correct libssl
7e2475
7e2475
* Tue Sep 01 2009 Karsten Hopp <karsten@redhat.com> 8.4.0-3.1
7e2475
- disable dtrace on s390x as a workaround until #520469 has been fixed
7e2475
7e2475
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 8.4.0-3
7e2475
- rebuilt with new openssl
7e2475
7e2475
* Thu Aug 20 2009 Tom "spot" Callaway <tcallawa@redhat.com> 8.4.0-2
7e2475
- update License tag to MIT (PostgreSQL calls it "BSD", but it is MIT)
7e2475
- Note: This changes nothing from a license compatibility perspective.
7e2475
7e2475
* Mon Aug 17 2009 Tom Lane <tgl@redhat.com> 8.4.0-1
7e2475
- Update to PostgreSQL 8.4.0.  See release notes at
7e2475
  http://www.postgresql.org/docs/8.4/static/release-8-4.html
7e2475
7e2475
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.3.7-2
7e2475
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
7e2475
7e2475
* Sat Mar 21 2009 Tom Lane <tgl@redhat.com> 8.3.7-1
7e2475
- Update to PostgreSQL 8.3.7, for various fixes described at
7e2475
  http://www.postgresql.org/docs/8.3/static/release-8-3-7.html
7e2475
  notably the fix for CVE-2009-0922
7e2475
7e2475
* Tue Mar 10 2009 Tom Lane <tgl@redhat.com> 8.3.6-4
7e2475
- Prevent dependent packages from needing to include sys/sdt.h
7e2475
  (unintended side effect of previous patch)
7e2475
- Use -O1 on alpha, per report from Oliver Falk; -O2 tickles gcc bugs
7e2475
7e2475
* Sun Mar  8 2009 Tom Lane <tgl@redhat.com> 8.3.6-3
7e2475
- Enable tracing via systemtap
7e2475
Resolves: #488941
7e2475
7e2475
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.3.6-2
7e2475
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
7e2475
7e2475
* Sat Feb  7 2009 Tom Lane <tgl@redhat.com> 8.3.6-1
7e2475
- Update to PostgreSQL 8.3.6, for various fixes described at
7e2475
  http://www.postgresql.org/docs/8.3/static/release-8-3-6.html
7e2475
7e2475
* Wed Jan 21 2009 Dennis Gilmore <dennis@ausil.us> 8.3.5-4
7e2475
- use -O1 on sparc64
7e2475
7e2475
* Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 8.3.5-3
7e2475
- rebuild with new openssl
7e2475
7e2475
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 8.3.5-2
7e2475
- Rebuild for Python 2.6
7e2475
7e2475
* Sun Nov  2 2008 Tom Lane <tgl@redhat.com> 8.3.5-1
7e2475
- Update to PostgreSQL 8.3.5.
7e2475
- Improve display from init script's initdb action, per Michael Schwendt
7e2475
7e2475
* Thu Sep 25 2008 Tom Lane <tgl@redhat.com> 8.3.4-1
7e2475
- Update to PostgreSQL 8.3.4.
7e2475
7e2475
* Mon Jul 28 2008 Tom Lane <tgl@redhat.com> 8.3.3-3
7e2475
- Fix build failure caused by new default patch fuzz = 0 policy in rawhide.
7e2475
7e2475
* Fri Jun 20 2008 Tom Lane <tgl@redhat.com> 8.3.3-2
7e2475
- Install Pgtcl in /usr/lib/tcl$TCL_VERSION, not directly in /usr/lib.
7e2475
  Needed because tcl 8.5 no longer puts /usr/lib into its package search path.
7e2475
  NOTE: do not back-port this change into branches using pre-8.5 tcl, because
7e2475
  /usr/lib/tcl8.4 had been a symlink to /usr/share/tcl8.4, and /usr/share
7e2475
  is exactly where we must not put Pgtcl.
7e2475
Resolves: #228263
7e2475
7e2475
* Wed Jun 11 2008 Tom Lane <tgl@redhat.com> 8.3.3-1
7e2475
- Update to PostgreSQL 8.3.3.
7e2475
- Remove postgresql-prefer-ncurses.patch, no longer needed in recent
7e2475
  Fedora releases because libtermcap is gone.
7e2475
7e2475
* Sat May 17 2008 Tom Lane <tgl@redhat.com> 8.3.1-5
7e2475
- rebuild because of buildsystem hiccup
7e2475
7e2475
* Sat May 17 2008 Tom Lane <tgl@redhat.com> 8.3.1-4
7e2475
- Enable LDAP support
7e2475
Resolves: #445315
7e2475
- Use -Wl,--as-needed to suppress bogus dependencies for libraries that
7e2475
  are really only needed by some of the subpackages
7e2475
7e2475
* Mon Apr 28 2008 Tom Lane <tgl@redhat.com> 8.3.1-3
7e2475
- Fix build breakage on PPC due to incorrect configure test
7e2475
Related: #444317
7e2475
7e2475
* Sat Apr 26 2008 Tom Lane <tgl@redhat.com> 8.3.1-2
7e2475
- Clean up cross-subpackage Requires: to ensure that updating any one
7e2475
  subpackage brings in the matching versions of others.
7e2475
Resolves: #444271
7e2475
7e2475
* Tue Mar 25 2008 Tom Lane <tgl@redhat.com> 8.3.1-1
7e2475
- Update to PostgreSQL 8.3.1.
7e2475
7e2475
* Tue Mar 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> 8.3.0-3
7e2475
- add Requires for versioned perl (libperl.so)
7e2475
7e2475
* Wed Feb  6 2008 Tom Lane <tgl@redhat.com> 8.3.0-2
7e2475
- Enable the new GSSAPI support in 8.3.0.
7e2475
7e2475
* Mon Feb  4 2008 Tom Lane <tgl@redhat.com> 8.3.0-1
7e2475
- Update to PostgreSQL 8.3.0.
7e2475
7e2475
* Fri Jan 18 2008 Tom Lane <tgl@redhat.com> 8.3RC2-1
7e2475
- Update to PostgreSQL 8.3RC2 (not waiting for 8.3.0 because Fedora 9 alpha
7e2475
  should be 8.3-based not 8.2-based).
7e2475
- Update to pgtcl 1.6.2
7e2475
7e2475
* Mon Jan  7 2008 Tom Lane <tgl@redhat.com> 8.2.6-1
7e2475
- Update to PostgreSQL 8.2.6 to fix CVE-2007-4769, CVE-2007-4772,
7e2475
  CVE-2007-6067, CVE-2007-6600, CVE-2007-6601
7e2475
- Make initscript and pam config files be installed unconditionally;
7e2475
  seems new buildroots don't necessarily have those directories in place
7e2475
7e2475
* Wed Dec  5 2007 Tom Lane <tgl@redhat.com> 8.2.5-2
7e2475
- Rebuild for new openssl
7e2475
7e2475
* Thu Sep 20 2007 Tom Lane <tgl@redhat.com> 8.2.5-1
7e2475
- Update to PostgreSQL 8.2.5 and pgtcl 1.6.0
7e2475
7e2475
* Tue Sep  4 2007 Tom Lane <tgl@redhat.com> 8.2.4-6
7e2475
- Fix multilib problem for /usr/include/ecpg_config.h (which is new in 8.2.x)
7e2475
7e2475
* Sat Aug 25 2007 Tom Lane <tgl@redhat.com> 8.2.4-5
7e2475
- Use nicer solution for tzdata file substitution: upstream discussion
7e2475
  concluded that hardwiring the path was better than a symlink after all.
7e2475
7e2475
* Wed Aug 22 2007 Tom Lane <tgl@redhat.com> 8.2.4-4
7e2475
- Use tzdata package's data files instead of private copy, so that
7e2475
  postgresql-server need not be turned for routine timezone updates
7e2475
- Don't remove postgres user/group during RPM uninstall, per Fedora
7e2475
  packaging guidelines
7e2475
- Seems we need an explicit BuildRequires on gawk now
7e2475
- Rebuild to fix Fedora toolchain issues
7e2475
7e2475
* Sun Aug 12 2007 Tom Lane <tgl@redhat.com> 8.2.4-3
7e2475
- Recent perl changes in rawhide mean we need a more specific BuildRequires
7e2475
7e2475
* Wed Jun 20 2007 Tom Lane <tgl@redhat.com> 8.2.4-2
7e2475
- Fix oversight in postgresql-test makefile: pg_regress isn't a shell script
7e2475
  anymore.  Per upstream bug 3398.
7e2475
7e2475
* Tue Apr 24 2007 Tom Lane <tgl@redhat.com> 8.2.4-1
7e2475
- Update to PostgreSQL 8.2.4 for CVE-2007-2138, data loss bugs
7e2475
Resolves: #237682
7e2475
7e2475
* Wed Feb 14 2007 Karsten Hopp <karsten@redhat.com> 8.2.3-2
7e2475
- rebuild with tcl-8.4
7e2475
7e2475
* Wed Feb  7 2007 Tom Lane <tgl@redhat.com> 8.2.3-1
7e2475
- Update to PostgreSQL 8.2.3 due to regression induced by security fix
7e2475
Resolves: #227522
7e2475
7e2475
* Sun Feb  4 2007 Tom Lane <tgl@redhat.com> 8.2.2-1
7e2475
- Update to PostgreSQL 8.2.2 to fix CVE-2007-0555, CVE-2007-0556
7e2475
Related: #225496
7e2475
7e2475
* Fri Jan 12 2007 Tom Lane <tgl@redhat.com> 8.2.1-2
7e2475
- Split -pl subpackage into three new packages to reduce dependencies
7e2475
  and track upstream project's packaging.
7e2475
7e2475
* Wed Jan 10 2007 Tom Lane <tgl@redhat.com> 8.2.1-1
7e2475
- Update to PostgreSQL 8.2.1
7e2475
- Update to pgtcl 1.5.3
7e2475
- Be sure we link to libncurses, not libtermcap which is disappearing in Fedora
7e2475
7e2475
* Thu Dec  7 2006 Jeremy Katz <katzj@redhat.com> - 8.2.0-2
7e2475
- rebuild for python 2.5
7e2475
7e2475
* Mon Dec  4 2006 Tom Lane <tgl@redhat.com> 8.2.0-1
7e2475
- Update to PostgreSQL 8.2.0
7e2475
- Update to PyGreSQL 3.8.1
7e2475
- Fix chcon arguments in test/regress/Makefile
7e2475
Related: #201035
7e2475
- Adjust init script to not fool /etc/rc.d/rc
7e2475
Resolves: #161470
7e2475
- Change init script to not do initdb automatically, but require
7e2475
  manual "service postgresql initdb" for safety.  Per upstream discussions.
7e2475
7e2475
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 8.1.4-1.1
7e2475
- rebuild
7e2475
7e2475
* Mon May 22 2006 Tom Lane <tgl@redhat.com> 8.1.4-1
7e2475
- Update to PostgreSQL 8.1.4 (includes fixes for CVE-2006-2313, CVE-2006-2314;
7e2475
  see bug #192173)
7e2475
- Update to PyGreSQL 3.8
7e2475
- Suppress noise from chcon, per bug #187744
7e2475
7e2475
* Mon Mar 27 2006 Tom Lane <tgl@redhat.com> 8.1.3-2
7e2475
- Remove JDBC from this build; we will package it as separate SRPM
7e2475
7e2475
* Mon Feb 13 2006 Jesse Keating <jkeating@redhat.com> - 8.1.3-1.1
7e2475
- rebump for build order issues during double-long bump
7e2475
7e2475
* Mon Feb 13 2006 Tom Lane <tgl@redhat.com> 8.1.3-1
7e2475
- Update to PostgreSQL 8.1.3 (fixes bug #180617, CVE-2006-0553)
7e2475
- Update to jdbc driver build 405
7e2475
- Modify multilib header hack to not break non-RH arches, per bug #177564
7e2475
7e2475
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 8.1.2-1.1
7e2475
- rebuilt for new gcc4.1 snapshot and glibc changes
7e2475
7e2475
* Mon Jan  9 2006 Tom Lane <tgl@redhat.com> 8.1.2-1
7e2475
- Update to PostgreSQL 8.1.2
7e2475
- Repair extraneous quote in pgtcl configure script ... odd that bash
7e2475
  didn't use to spit up on this.
7e2475
7e2475
* Thu Dec 15 2005 Tom Lane <tgl@redhat.com> 8.1.1-3
7e2475
- fix pg_config.h for 64-bit and ppc platforms
7e2475
- update Makefile.regress (needs to --load-language=plpgsql)
7e2475
7e2475
* Wed Dec 14 2005 Tom Lane <tgl@redhat.com> 8.1.1-2
7e2475
- oops, looks like we want uname -i not uname -m
7e2475
7e2475
* Wed Dec 14 2005 Tom Lane <tgl@redhat.com> 8.1.1-1
7e2475
- Update to PostgreSQL 8.1.1
7e2475
- Make pg_config.h architecture-independent for multilib installs;
7e2475
  put the original pg_config.h into pg_config_$ARCH.h
7e2475
7e2475
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
7e2475
- rebuilt
7e2475
7e2475
* Sat Nov 12 2005 Tom Lane <tgl@redhat.com> 8.1.0-4
7e2475
- Update included PDF-format manual to 8.1.
7e2475
7e2475
* Wed Nov  9 2005 Tom Lane <tgl@redhat.com> 8.1.0-3
7e2475
- Rebuild due to openssl library update.
7e2475
7e2475
* Wed Nov  9 2005 Tom Lane <tgl@redhat.com> 8.1.0-2
7e2475
- Rebuild due to openssl library update.
7e2475
7e2475
* Mon Nov  7 2005 Tom Lane <tgl@redhat.com> 8.1.0-1
7e2475
- Update to PostgreSQL 8.1.0, PyGreSQL 3.7, and jdbc driver build 404
7e2475
- Fix PAM config file (must have account not only auth) (bug #167040)
7e2475
- Add BuildPrereq: libxslt-devel (bug #170141)
7e2475
- Sync with PGDG SRPM as much as feasible
7e2475
7e2475
* Fri Oct 14 2005 Tomas Mraz <tmraz@redhat.com>
7e2475
- use include instead of pam_stack in pam config
7e2475
7e2475
* Tue Oct  4 2005 Tom Lane <tgl@redhat.com> 8.0.4-2
7e2475
- Add rpath to plperl.so (bug #162198)
7e2475
7e2475
* Tue Oct  4 2005 Tom Lane <tgl@redhat.com> 8.0.4-1
7e2475
- Update to PostgreSQL 8.0.4, PyGreSQL 3.6.2, and jdbc driver build 312
7e2475
- Adjust pgtcl link command to ensure it binds to correct libpq (bug #166665)
7e2475
- Remove obsolete Conflicts: against other python versions (bug #166754)
7e2475
- Add /etc/pam.d/postgresql (bug #167040)
7e2475
- Include contrib/xml2 in build (bug #167492)
7e2475
7e2475
* Tue May 10 2005 Tom Lane <tgl@redhat.com> 8.0.3-1
7e2475
- Update to PostgreSQL 8.0.3 (includes security and data-loss fixes; see
7e2475
  bz#156727, CAN-2005-1409, CAN-2005-1410)
7e2475
- Update to jdbc driver build 311
7e2475
- Recreate postgres user after superseding an rh-postgresql install (bug #151911)
7e2475
- Ensure postgresql server is restarted if running during an upgrade
7e2475
7e2475
* Thu Apr 14 2005 Florian La Roche <laroche@redhat.com> 8.0.2-2
7e2475
- rebuild for postgresql-tcl
7e2475
7e2475
* Tue Apr 12 2005 Tom Lane <tgl@redhat.com> 8.0.2-1
7e2475
- Update to PostgreSQL 8.0.2.
7e2475
7e2475
* Fri Mar 11 2005 Tom Lane <tgl@redhat.com> 8.0.1-5
7e2475
- Remove unwanted rpath specification from pgtcl (bz#150649)
7e2475
7e2475
* Wed Mar  2 2005 Tom Lane <tgl@redhat.com> 8.0.1-4
7e2475
- Attach Obsoletes: declarations for rh-postgresql to subpackages (bz#144435)
7e2475
- Make Requires: and Prereq: package linkages specify release not only
7e2475
  version, as per recent mailing list discussion.
7e2475
7e2475
* Tue Mar  1 2005 Tomas Mraz <tmraz@redhat.com> 8.0.1-3
7e2475
- rebuild with openssl-0.9.7e
7e2475
7e2475
* Mon Feb 21 2005 Tom Lane <tgl@redhat.com> 8.0.1-2
7e2475
- Repair improper error message in init script when PGVERSION doesn't match.
7e2475
- Arrange for auto update of version embedded in init script.
7e2475
7e2475
* Sun Jan 30 2005 Tom Lane <tgl@redhat.com> 8.0.1-1
7e2475
- Update to PostgreSQL 8.0.1.
7e2475
- Add versionless symlinks to jar files (bz#145744)
7e2475
7e2475
* Wed Jan 19 2005 Tom Lane <tgl@redhat.com> 8.0.0-1
7e2475
- Update to PostgreSQL 8.0.0, PyGreSQL 3.6.1, pgtcl 1.5.2,
7e2475
  and jdbc driver build 309.
7e2475
- Extensive cleanout of obsolete cruft in patch set.
7e2475
- Regression tests are run during RPM build (NOTE: cannot build as root when
7e2475
  this is enabled).
7e2475
- Postmaster stderr goes someplace useful, not /dev/null (bz#76503, #103767)
7e2475
- Make init script return a useful exit status (bz#80782)
7e2475
- Move docs' tutorial directory to %%{_libdir}/pgsql/tutorial, since it
7e2475
  includes .so files that surely do not belong under /usr/share.
7e2475
- Remove useless .sgml files from docs RPM (bz#134450)
7e2475
- Put regression tests under /usr/lib64 on 64-bit archs, since .so files
7e2475
  are not architecture-independent.
7e2475
7e2475
* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> 7.4.6-5
7e2475
- Rebuilt for new readline.
7e2475
7e2475
* Tue Jan 11 2005 Dan Walsh <dwalsh@redhat.com> 7.4.6-4
7e2475
- Add restorecon to postgresql.init in order to restore database to correct
7e2475
- SELinux context.
7e2475
7e2475
* Thu Dec 16 2004 Tom Lane <tgl@redhat.com> 7.4.6-3
7e2475
- Update to PyGreSQL 3.6 (to fix bug #142711)
7e2475
- Adjust a few file permissions (bug #142431)
7e2475
- Assign %%{_libdir}/pgsql to base package instead of -server (bug #74003)
7e2475
7e2475
* Mon Nov 15 2004 Tom Lane <tgl@redhat.com> 7.4.6-2
7e2475
- Rebuild so python components play with python 2.4 (bug 139160)
7e2475
7e2475
* Sat Oct 23 2004 Tom Lane <tgl@redhat.com> 7.4.6-1
7e2475
- Update to PostgreSQL 7.4.6 (bugs 136947, 136949)
7e2475
- Make init script more paranoid about mkdir step of initializing a new
7e2475
  database (bugs 136947, 136949)
7e2475
7e2475
* Wed Oct 20 2004 Tom Lane <tgl@redhat.com> 7.4.5-4
7e2475
- Remove contrib/oidjoins stuff from installed fileset; it's of no use
7e2475
  to ordinary users and has a security issue (bugs 136300, 136301)
7e2475
- adjust chkconfig priority (bug 128852)
7e2475
7e2475
* Tue Oct 05 2004 Tom Lane <tgl@redhat.com> 7.4.5-3
7e2475
- Solve the stale lockfile problem (bugs 71295, 96981, 134090)
7e2475
- Use runuser instead of su for SELinux (bug 134588)
7e2475
7e2475
* Mon Aug 30 2004 Tom Lane <tgl@redhat.com> 7.4.5-2
7e2475
- Update to PyGreSQL 3.5.
7e2475
7e2475
* Tue Aug 24 2004 Tom Lane <tgl@redhat.com> 7.4.5-1
7e2475
- Update to PostgreSQL 7.4.5.
7e2475
- Update JDBC jars to driver build 215.
7e2475
- Add Obsoletes: entries for rh-postgresql packages, per bug 129278.
7e2475
7e2475
* Sat Jul 10 2004 Tom Lane <tgl@redhat.com> 7.4.3-3
7e2475
- Undo ill-considered chkconfig change that causes server to start
7e2475
  immediately upon install.  Mea culpa (bug 127552).
7e2475
7e2475
* Sat Jul 03 2004 Tom Lane <tgl@redhat.com> 7.4.3-2
7e2475
- Update JDBC jars to driver build 214.
7e2475
7e2475
* Wed Jun 23 2004 Tom Lane <tgl@redhat.com> 7.4.3-1
7e2475
- Update to PostgreSQL 7.4.3.
7e2475
- Uninstalling server RPM stops postmaster first, per bug 114846.
7e2475
- Fix su commands to not assume PG user's shell is sh-like, per bug 124024.
7e2475
- Fix permissions on postgresql-python doc files, per bug 124822.
7e2475
- Minor postgresql.init improvements.
7e2475
7e2475
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
7e2475
- rebuilt
7e2475
7e2475
* Wed Mar 10 2004 Tom Lane <tgl@redhat.com> 7.4.2-1
7e2475
- Update to PostgreSQL 7.4.2; sync with community SRPM as much as possible.
7e2475
- Support PGOPTS from /etc/sysconfig/pgsql, per bug 111504.
7e2475
- Fix permissions on /etc/sysconfig/pgsql, per bug 115278.
7e2475
- SELinux patch in init file: always su 
7e2475
- Rebuilt
7e2475
7e2475
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
7e2475
- rebuilt
7e2475
7e2475
* Wed Feb 25 2004 Tom Lane <tgl@redhat.com>
7e2475
- Update to PostgreSQL 7.4.1.
7e2475
- Rebuilt
7e2475
7e2475
* Tue Feb 24 2004 Tom Lane <tgl@redhat.com>
7e2475
- Fix chown syntax in postgresql.init also.
7e2475
- Rebuilt
7e2475
7e2475
* Mon Feb 23 2004 Tim Waugh <twaugh@redhat.com>
7e2475
- Use ':' instead of '.' as separator for chown.
7e2475
7e2475
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
7e2475
- rebuilt
7e2475
7e2475
* Fri Jan 9 2004 Lamar Owen <lowen@pari.edu>
7e2475
- 7.4.1-1PGDG
7e2475
- Merge Sander Steffann's changes up to 7.4-0.5PGDG
7e2475
- Proper 7.4.1 JDBC jars this time.
7e2475
- Patch for no pl/python from Alvaro
7e2475
7e2475
* Fri Dec 05 2003 David Jee <djee@redhat.com> 7.4-5
7e2475
- Rebuild for Perl 5.8.2.
7e2475
7e2475
* Mon Dec 01 2003 David Jee <djee@redhat.com> 7.4-4
7e2475
- Add PyGreSQL patch for deprecated column pg_type.typprtlen [Bug #111263]
7e2475
- Add headers patch which moves ecpg headers to /usr/include/ecpg
7e2475
  [Bug #111195]
7e2475
7e2475
* Fri Nov 28 2003 David Jee <djee@redhat.com> 7.4-3
7e2475
- uncomment buildrequires tcl-devel
7e2475
7e2475
* Fri Nov 28 2003 David Jee <djee@redhat.com> 7.4-2
7e2475
- rebuild
7e2475
7e2475
* Mon Nov 24 2003 David Jee <djee@redhat.com> 7.4-1
7e2475
- initial Red Hat build
7e2475
- move jars to /usr/share/java
7e2475
- fix rpm-multilib patch to use sysconfig
7e2475
7e2475
* Fri Nov 21 2003 Lamar Owen <lowen@pari.edu> <lamar.owen@wgcr.org>
7e2475
- 7.4-0.1PGDG
7e2475
- Development JDBC jars in addition to the 7.3 jars; will replace the
7e2475
- 7.3 jars once 7.4 official jars are released.
7e2475
- Changed to use the bzip2 source to save a little size.
7e2475
- Removed some commented out portions of the specfile.
7e2475
- Removed the 7.3.4 PDF docs.  Will replace with 7.4 PDF's once they
7e2475
- are ready.
7e2475
7e2475
* Tue Nov 18 2003 Kaj J. Niemi <kajtzu@fi.basen.net> 7.4-0.1
7e2475
- 7.4
7e2475
- Fixed Patch #1 (now rpm-pgsql-7.4.patch)
7e2475
- Fixed Patch #2 (now rpm-multilib-7.4.patch):
7e2475
- Patch #4 is unnecessary (upstream)
7e2475
- Fixed Patch #6 (now postgresql-7.4-src-tutorial.patch)
7e2475
- Added Patch #8 (postgresql-7.4-com_err.patch) as com_err()
7e2475
  is provided by e2fsprogs and CPPFLAGS gets lost somewhere
7e2475
  inside configure (bad macro?)
7e2475
- No 7.4 PDF docs available yet (Source #17)
7e2475
- PyGreSQL is separated from the upstream distribution but
7e2475
  we include it as usual (Source #18)
7e2475
- Default to compiling libpq and ECPG as fully thread-safe
7e2475
7e2475
- 7.4 Origin.  See previous spec files for previous history. Adapted
7e2475
- from Red Hat and PGDG's 7.3.4 RPM, directly descended from 
7e2475
- postgresql-7.3.4-2 as shipped in Fedora Core 1.