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