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