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