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