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