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