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