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