Blame SPECS/postgresql.spec

827358
# This is the PostgreSQL Global Development Group Official RPMset spec file,
827358
# or a derivative thereof.
827358
# Copyright 2003-2009 Lamar Owen <lowen@pari.edu> <lamar.owen@wgcr.org>
827358
# and others listed.                 ** vi: ts=4 sw=4 noexpandtab nosmarttab
827358
827358
# Major Contributors:
827358
# ---------------
827358
# Lamar Owen
827358
# Trond Eivind Glomsrd <teg@redhat.com>
827358
# Thomas Lockhart
827358
# Reinhard Max
827358
# Karl DeBisschop
827358
# Peter Eisentraut
827358
# Joe Conway
827358
# Andrew Overholt
827358
# David Jee
827358
# Kaj J. Niemi
827358
# Sander Steffann
827358
# Tom Lane
827358
# and others in the Changelog....
827358
827358
# This spec file and ancillary files are licensed in accordance with
827358
# The PostgreSQL license.
827358
827358
# In this file you can find the default build package list macros.
827358
# These can be overridden by defining on the rpm command line:
827358
# rpm --define 'packagename 1' .... to force the package to build.
827358
# rpm --define 'packagename 0' .... to force the package NOT to build.
827358
# The base package, the libs package, the devel package, and the server package
827358
# always get built.
827358
%{?scl:%scl_package postgresql}
827358
827358
%{!?beta:%global beta 0}
827358
%{!?test:%global test 1}
827358
%{!?plpython:%global plpython 1}
827358
%if 0%{?fedora} > 12
827358
%{!?plpython3:%global plpython3 1}
827358
%else
827358
%{!?plpython3:%global plpython3 0}
827358
%endif
827358
%{!?pltcl:%global pltcl 1}
827358
%{!?plperl:%global plperl 1}
827358
%{!?ssl:%global ssl 1}
827358
%{!?kerberos:%global kerberos 1}
827358
%{!?ldap:%global ldap 1}
827358
%{!?nls:%global nls 1}
827358
%{!?uuid:%global uuid 1}
827358
%{!?xml:%global xml 1}
827358
%{!?pam:%global pam 1}
827358
%{!?sdt:%global sdt 1}
827358
%if 0%{?fedora} || 0%{?rhel} >= 7
827358
%{!?selinux:%global selinux 1}
827358
%{!?systemd_build:%global systemd_build 1}
827358
%else
827358
%{!?selinux:%global selinux 0}
827358
%{!?systemd_build:%global systemd_build 0}
827358
%endif
827358
%{!?runselftest:%global runselftest 1}
827358
827358
# By default, patch(1) creates backup files when chunks apply with offsets.
827358
# Turn that off to ensure such files don't get included in RPMs.
827358
%global _default_patch_flags --no-backup-if-mismatch
827358
827358
# https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_of_Additional_RPM_Macros
827358
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{!?scl:%_sysconfdir}%{?scl:%_root_sysconfdir}/rpm; echo $d)
827358
827358
Summary: PostgreSQL client programs
827358
Name: %{?scl_prefix}postgresql
827358
%global majorversion 9.6
ec0e2e
Version: 9.6.10
ec0e2e
Release: 1%{?dist}
827358
827358
# The PostgreSQL license is very similar to other MIT licenses, but the OSI
827358
# recognizes it as an independent license, so we do as well.
827358
License: PostgreSQL
827358
Group: Applications/Databases
827358
Url: http://www.postgresql.org/
827358
4c07af
%global setup_version 6.0
827358
827358
%global service_name %{?scl_prefix}postgresql.service
827358
Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
827358
# The PDF file is generated by generate-pdf.sh, which see for comments
827358
Source1: postgresql-%{version}-US.pdf
827358
# generate-pdf.sh is not used during RPM build, but include for documentation
827358
Source2: generate-pdf.sh
827358
Source4: Makefile.regress
827358
Source9: postgresql.tmpfiles.d
827358
Source10: postgresql.pam
827358
Source11: postgresql-bashprofile
827358
827358
827358
# git: https://github.com/devexp-db/postgresql-setup
827358
Source12: https://github.com/devexp-db/postgresql-setup/releases/download/v%{setup_version}/postgresql-setup-%{setup_version}.tar.gz
827358
827358
# Those here are just to enforce packagers check that the tarball was downloaded
827358
# correctly.  Also, this allows us check that packagers-only tarballs do not
827358
# differ with publicly released ones.
827358
Source16: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2.sha256
827358
827358
# Comments for these patches are in the patch files.
827358
Patch1: rpm-pgsql.patch
827358
Patch2: postgresql-logging.patch
827358
Patch3: postgresql-perl-rpath.patch
827358
Patch5: postgresql-var-run-socket.patch
827358
Patch6: postgresql-man.patch
827358
Patch7: postgresql-socket-dirs-pgupgrade.patch
827358
827358
BuildRequires: perl(ExtUtils::MakeMaker) glibc-devel bison flex gawk
827358
BuildRequires: perl(ExtUtils::Embed), perl-devel
827358
%if 0%{?fedora} || 0%{?rhel} > 7
827358
BuildRequires: perl-generators
827358
%endif
827358
BuildRequires: readline-devel zlib-devel
827358
%if %systemd_build
827358
BuildRequires: systemd-units
827358
%endif
827358
BuildRequires: util-linux
827358
# We don't have to take care of multilib in SCL.
827358
BuildRequires: multilib-rpm-config
827358
827358
# postgresql-setup build requires
827358
BuildRequires: m4 elinks docbook-utils help2man
827358
827358
%if %plpython
827358
BuildRequires: python-devel
827358
%endif
827358
827358
%if %plpython3
827358
BuildRequires: python3-devel
827358
%endif
827358
827358
%if %pltcl
827358
BuildRequires: tcl-devel
827358
%endif
827358
827358
%if %ssl
827358
BuildRequires: openssl-devel
827358
%endif
827358
827358
%if %kerberos
827358
BuildRequires: krb5-devel
827358
%endif
827358
827358
%if %ldap
827358
BuildRequires: openldap-devel
827358
%endif
827358
827358
%if %nls
827358
BuildRequires: gettext >= 0.10.35
827358
%endif
827358
827358
%if %uuid
827358
BuildRequires: uuid-devel
827358
%endif
827358
827358
%if %xml
827358
BuildRequires: libxml2-devel libxslt-devel
827358
%endif
827358
827358
%if %pam
827358
BuildRequires: pam-devel
827358
%endif
827358
827358
%if %sdt
827358
BuildRequires: systemtap-sdt-devel
827358
%endif
827358
827358
%if %selinux
827358
BuildRequires: libselinux-devel
827358
%endif
827358
827358
# main package requires -libs subpackage
827358
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
827358
%{?scl:Requires:%scl_runtime}
827358
827358
# Needed for:
827358
# - RHEL6 SCL (every single plugin, including tutorial files)
827358
# - RHEL7 lib* plugins
827358
# - https://bugzilla.redhat.com/1464368 elsewhere
827358
# Filtering: https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering
827358
%if 0%{?rhel} <= 6
827358
%filter_provides_in %{_libdir}/pgsql
827358
%filter_setup
827358
%else
827358
%global __provides_exclude_from %{_libdir}/pgsql
827358
%endif
827358
827358
827358
%description
827358
PostgreSQL is an advanced Object-Relational database management system (DBMS).
827358
The base postgresql package contains the client programs that you'll need to
827358
access a PostgreSQL DBMS server, as well as HTML documentation for the whole
827358
system.  These client programs can be located on the same machine as the
827358
PostgreSQL server, or on a remote machine that accesses a PostgreSQL server
827358
over a network connection.  The PostgreSQL server can be found in the
827358
postgresql-server sub-package.
827358
827358
827358
%package libs
827358
Summary: The shared libraries required for any PostgreSQL clients
827358
Group: Applications/Databases
827358
%{!?scl:Provides: libpq.so = %{version}-%{release}}
827358
# for /sbin/ldconfig
827358
Requires(post): glibc
827358
Requires(postun): glibc
827358
%{?scl:Requires:%scl_runtime}
827358
%description libs
827358
The postgresql-libs package provides the essential shared libraries for any 
827358
PostgreSQL client program or interface. You will need to install this package
827358
to use any other PostgreSQL package or any clients that need to connect to a
827358
PostgreSQL server.
827358
827358
827358
%package server
827358
Summary: The programs needed to create and run a PostgreSQL server
827358
Group: Applications/Databases
827358
Requires: %{name}%{?_isa} = %{version}-%{release}
827358
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
827358
%{?scl:Requires: /usr/bin/scl_source}
827358
Requires(pre): /usr/sbin/useradd
827358
%if 0%{?fedora} || 0%{?rhel} >= 7
827358
# We require this to be present for %%{_prefix}/lib/tmpfiles.d
827358
Requires: systemd-units
827358
# Make sure it's there when scriptlets run, too
827358
%{?systemd_requires}
827358
%else
827358
Requires(post): chkconfig
827358
Requires(preun): initscripts
827358
Requires(postun): initscripts
827358
Requires(post): policycoreutils
827358
%endif
827358
827358
# Packages which provide postgresql plugins should build-require
827358
# postgresql-devel and require
827358
# postgresql-server(:MODULE_COMPAT_%%{postgresql_major}).
827358
# This will automatically guard against incompatible server & plugin
827358
# installation (#1008939, #1007840)
827358
Provides: %{name}-server(:MODULE_COMPAT_%{majorversion})
827358
827358
%{?scl:Requires:%scl_runtime}
827358
827358
%description server
827358
PostgreSQL is an advanced Object-Relational database management system (DBMS).
827358
The postgresql-server package contains the programs needed to create
827358
and run a PostgreSQL server, which will in turn allow you to create
827358
and maintain PostgreSQL databases.
827358
827358
827358
%package docs
827358
Summary: Extra documentation for PostgreSQL
827358
Group: Applications/Databases
827358
Requires: %{name}%{?_isa} = %{version}-%{release}
827358
# Just for more intuitive documentation installation
827358
Provides: %{name}-doc = %{version}-%{release}
827358
%{?scl:Requires:%scl_runtime}
827358
827358
%description docs
827358
The postgresql-docs package contains some additional documentation for
827358
PostgreSQL.  Currently, this includes the main documentation in PDF format
827358
and source files for the PostgreSQL tutorial.
827358
827358
827358
%package contrib
827358
Summary: Extension modules distributed with PostgreSQL
827358
Group: Applications/Databases
827358
Requires: %{name}%{?_isa} = %{version}-%{release}
827358
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
827358
%{?scl:Requires:%scl_runtime}
827358
827358
%description contrib
827358
The postgresql-contrib package contains various extension modules that are
827358
included in the PostgreSQL distribution.
827358
827358
827358
%package devel
827358
Summary: PostgreSQL development header files and libraries
827358
Group: Development/Libraries
827358
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
827358
827358
%description devel
827358
The postgresql-devel package contains the header files and libraries
827358
needed to compile C or C++ applications which will directly interact
827358
with a PostgreSQL database management server.  It also contains the ecpg
827358
Embedded C Postgres preprocessor. You need to install this package if you want
827358
to develop applications which will interact with a PostgreSQL server.
827358
827358
827358
%package static
827358
Summary: Statically linked PostgreSQL libraries
827358
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
827358
827358
%description static
827358
Statically linked PostgreSQL libraries that do not have dynamically linked
827358
counterparts.
827358
827358
827358
%if %plperl
827358
%package plperl
827358
Summary: The Perl procedural language for PostgreSQL
827358
Group: Applications/Databases
827358
Requires: %{name}-server%{?_isa} = %{version}-%{release}
827358
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
827358
%if %runselftest
827358
BuildRequires: perl(Data::Dumper)
827358
%endif
827358
%{?scl:Requires:%scl_runtime}
827358
827358
%description plperl
827358
The postgresql-plperl package contains the PL/Perl procedural language,
827358
which is an extension to the PostgreSQL database server.
827358
Install this if you want to write database functions in Perl.
827358
%endif
827358
827358
%if %plpython
827358
%package plpython
827358
Summary: The Python2 procedural language for PostgreSQL
827358
Group: Applications/Databases
827358
Requires: %{name}-server%{?_isa} = %{version}-%{release}
827358
%{?scl:Requires:%scl_runtime}
827358
827358
%description plpython
827358
The postgresql-plpython package contains the PL/Python procedural language,
827358
which is an extension to the PostgreSQL database server.
827358
Install this if you want to write database functions in Python 2.
827358
%endif
827358
827358
%if %plpython3
827358
%package plpython3
827358
Summary: The Python3 procedural language for PostgreSQL
827358
Group: Applications/Databases
827358
Requires: %{name}-server%{?_isa} = %{version}-%{release}
827358
%{?scl:Requires:%scl_runtime}
827358
827358
%description plpython3
827358
The postgresql-plpython3 package contains the PL/Python3 procedural language,
827358
which is an extension to the PostgreSQL database server.
827358
Install this if you want to write database functions in Python 3.
827358
%endif
827358
827358
%if %pltcl
827358
%package pltcl
827358
Summary: The Tcl procedural language for PostgreSQL
827358
Group: Applications/Databases
827358
Requires: %{name}-server%{?_isa} = %{version}-%{release}
827358
Requires: tcl-pgtcl
827358
%{?scl:Requires:%scl_runtime}
827358
827358
%description pltcl
827358
The postgresql-pltcl package contains the PL/Tcl procedural language,
827358
which is an extension to the PostgreSQL database server.
827358
Install this if you want to write database functions in Tcl.
827358
%endif
827358
827358
%if %test
827358
%package test
827358
Summary: The test suite distributed with PostgreSQL
827358
Group: Applications/Databases
827358
Requires: %{name}-server%{?_isa} = %{version}-%{release}
827358
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
827358
%{?scl:Requires:%scl_runtime}
827358
827358
%description test
827358
The postgresql-test package contains files needed for various tests for the
827358
PostgreSQL database management system, including regression tests and
827358
benchmarks.
827358
%endif
827358
827358
%if 0%{?scl:1}
827358
%scl_syspaths_package -d
827358
%scl_syspaths_package contrib -d
827358
%scl_syspaths_package server -d
827358
%endif
827358
827358
827358
%prep
827358
( cd %_sourcedir; sha256sum -c %{SOURCE16} )
827358
%setup -q %{?scl:-n %{pkg_name}-%{version}} -a 12
827358
%patch1 -p1
827358
%patch2 -p1
827358
%if 0%{?rhel:1} && 0%{?rhel} <= 7
827358
%patch3 -p1
827358
%endif
827358
%patch5 -p1
827358
%patch6 -p1
827358
%patch7 -p1
827358
827358
# We used to run autoconf here, but there's no longer any real need to,
827358
# since Postgres ships with a reasonably modern configure script.
827358
827358
cp -p %{SOURCE1} .
827358
827358
# We need to add an extra setting of SCL environment into the service file
827358
# and some checks into scripts that can be possibly run without scl enable,
827358
# but only if we build the package in SCL environment. 
827358
%if 0%{?scl:1}
827358
%global scl_sed_patches 1
827358
find . -type f -name Makefile -exec sed -i -e "s/SO_MAJOR_VERSION=\s\?\([0-9]\+\)/SO_MAJOR_VERSION= %{?scl}-\1/" {} \;
827358
%endif
827358
827358
# remove .gitignore files to ensure none get into the RPMs (bug #642210)
827358
find . -type f -name .gitignore | xargs rm
827358
827358
%build
827358
827358
# fail quickly and obviously if user tries to build as root
827358
%if %runselftest
827358
	if [ x"`id -u`" = x0 ]; then
827358
		echo "postgresql's regression tests fail if run as root."
827358
		echo "If you really need to build the RPM as root, use"
827358
		echo "--define='runselftest 0' to skip the regression tests."
827358
		exit 1
827358
	fi
827358
%endif
827358
827358
# Building postgresql-setup
827358
827358
cd postgresql-setup-%{setup_version}
827358
827358
%configure \
827358
    pgdocdir=%{_pkgdocdir} \
827358
    PGVERSION=%{version} \
827358
    PGMAJORVERSION=%{majorversion} \
827358
%if 0%{?scl:1}
827358
    SCLS=%{?scl} \
827358
    NAME_SRV_PFX=%{?scl}- \
827358
    NAME_PKG_PFX=%{?scl}- \
827358
%endif
827358
    NAME_DEFAULT_PREV_SERVICE=postgresql
827358
827358
make %{?_smp_mflags}
827358
cd ..
827358
827358
# Fiddling with CFLAGS.
827358
827358
CFLAGS="${CFLAGS:-%optflags}"
827358
%ifarch %{power64}
827358
# See the bug #1051075, ppc64 should benefit from -O3
827358
CFLAGS=`echo $CFLAGS | xargs -n 1 | sed 's|-O2|-O3|g' | xargs -n 100`
827358
%endif
827358
# Strip out -ffast-math from CFLAGS....
827358
CFLAGS=`echo $CFLAGS|xargs -n 1|grep -v ffast-math|xargs -n 100`
827358
export CFLAGS
827358
827358
# plpython requires separate configure/build runs to build against python 2
827358
# versus python 3.  Our strategy is to do the python 3 run first, then make
827358
# distclean and do it again for the "normal" build.  Note that the installed
827358
# Makefile.global will reflect the python 2 build, which seems appropriate
827358
# since that's still considered the default plpython version.
827358
%if %plpython3
827358
827358
export PYTHON=/usr/bin/python3
827358
827358
# These configure options must match main build
827358
%configure --disable-rpath \
827358
%if %beta
827358
	--enable-debug \
827358
	--enable-cassert \
827358
%endif
827358
%if %plperl
827358
	--with-perl \
827358
%endif
827358
%if %pltcl
827358
	--with-tcl \
827358
	--with-tclconfig=%{?scl:%_root_libdir}%{!?scl:%_libdir} \
827358
%endif
827358
%if %plpython3
827358
	--with-python \
827358
%endif
827358
%if %ldap
827358
	--with-ldap \
827358
%endif
827358
%if %ssl
827358
	--with-openssl \
827358
%endif
827358
%if %pam
827358
	--with-pam \
827358
%endif
827358
%if %kerberos
827358
	--with-krb5 \
827358
	--with-gssapi \
827358
%endif
827358
%if %uuid
827358
	--with-ossp-uuid \
827358
%endif
827358
%if %xml
827358
	--with-libxml \
827358
	--with-libxslt \
827358
%endif
827358
%if %nls
827358
	--enable-nls \
827358
%endif
827358
%if %sdt
827358
	--enable-dtrace \
827358
%endif
827358
%if %selinux
827358
	--with-selinux \
827358
%endif
827358
	--with-system-tzdata=%{?scl:%_root_datadir}%{!?scl:%_datadir}/zoneinfo \
827358
	--datadir=%{_datadir}/pgsql
827358
827358
# Fortunately we don't need to build much except plpython itself.
827358
make %{?_smp_mflags} -C src/pl/plpython all
827358
# save built form in a directory that "make distclean" won't touch
827358
cp -a src/pl/plpython src/pl/plpython3
827358
827358
# must also save this version of Makefile.global for later
827358
cp src/Makefile.global src/Makefile.global.python3
827358
827358
make distclean
827358
827358
%endif
827358
827358
unset PYTHON
827358
827358
# Normal (not python3) build begins here
827358
827358
%configure --disable-rpath \
827358
%if %beta
827358
	--enable-debug \
827358
	--enable-cassert \
827358
%endif
827358
%if %plperl
827358
	--with-perl \
827358
%endif
827358
%if %pltcl
827358
	--with-tcl \
827358
	--with-tclconfig=%{?scl:%_root_libdir}%{!?scl:%_libdir} \
827358
%endif
827358
%if %plpython
827358
	--with-python \
827358
%endif
827358
%if %ldap
827358
	--with-ldap \
827358
%endif
827358
%if %ssl
827358
	--with-openssl \
827358
%endif
827358
%if %pam
827358
	--with-pam \
827358
%endif
827358
%if %kerberos
827358
	--with-krb5 \
827358
	--with-gssapi \
827358
%endif
827358
%if %uuid
827358
	--with-ossp-uuid \
827358
%endif
827358
%if %xml
827358
	--with-libxml \
827358
	--with-libxslt \
827358
%endif
827358
%if %nls
827358
	--enable-nls \
827358
%endif
827358
%if %sdt
827358
	--enable-dtrace \
827358
%endif
827358
%if %selinux
827358
	--with-selinux \
827358
%endif
827358
	--with-system-tzdata=%{?scl:%_root_datadir}%{!?scl:%_datadir}/zoneinfo \
827358
	--datadir=%_datadir/pgsql
827358
827358
make %{?_smp_mflags} world
827358
827358
# Have to hack makefile to put correct path into tutorial scripts
827358
sed "s|C=\`pwd\`;|C=%{_libdir}/pgsql/tutorial;|" < src/tutorial/Makefile > src/tutorial/GNUmakefile
827358
make %{?_smp_mflags} -C src/tutorial NO_PGXS=1 all
827358
rm -f src/tutorial/GNUmakefile
827358
827358
# The object files shouldn't be copied to rpm bz#1187514
827358
rm -f src/tutorial/*.o
827358
827358
# run_testsuite WHERE
827358
# -------------------
827358
# Run 'make check' in WHERE path.  When that command fails, return the logs
827358
# given by PostgreSQL build system and set 'test_failure=1'.  This function
827358
# never exits directly nor stops rpmbuild where `set -e` is enabled.
827358
run_testsuite()
827358
{
827358
	make -k -C "$1" MAX_CONNECTIONS=5 check && return 0 || test_failure=1
827358
	(
827358
		set +x
827358
		echo "=== trying to find all regression.diffs files in build directory ==="
827358
		find "$1" -name 'regression.diffs' | \
827358
		while read line; do
827358
			echo "=== make failure: $line ==="
827358
			cat "$line"
827358
		done
827358
	)
827358
}
827358
827358
test_failure=0
827358
827358
%if %runselftest
827358
	run_testsuite "src/test/regress"
827358
	make clean -C "src/test/regress"
827358
	run_testsuite "src/pl"
827358
%if %plpython3
827358
	# must install Makefile.global that selects python3
827358
	mv src/Makefile.global src/Makefile.global.save
827358
	cp src/Makefile.global.python3 src/Makefile.global
827358
	touch -r src/Makefile.global.save src/Makefile.global
827358
	# because "make check" does "make install" on the whole tree,
827358
	# we must temporarily install plpython3 as src/pl/plpython,
827358
	# since that is the subdirectory src/pl/Makefile knows about
827358
	mv src/pl/plpython src/pl/plpython2
827358
	mv src/pl/plpython3 src/pl/plpython
827358
827358
	run_testsuite "src/pl/plpython"
827358
827358
	# and clean up our mess
827358
	mv src/pl/plpython src/pl/plpython3
827358
	mv src/pl/plpython2 src/pl/plpython
827358
	mv -f src/Makefile.global.save src/Makefile.global
827358
%endif
827358
	run_testsuite "contrib"
827358
%endif
827358
827358
# "assert(ALL_TESTS_OK)"
827358
test "$test_failure" -eq 0
827358
827358
%if %test
827358
	# undo the "make clean" above
827358
	make all -C src/test/regress
827358
%endif
827358
827358
%install
827358
cd postgresql-setup-%{setup_version}
827358
make install DESTDIR=$RPM_BUILD_ROOT
827358
cd ..
827358
827358
# For some reason, having '%%doc %%{_pkgdocdir}/README.rpm-dist' in %%files
827358
# causes FTBFS (at least on RHEL6), see rhbz#1250006.
827358
mv $RPM_BUILD_ROOT/%{_pkgdocdir}/README.rpm-dist ./
827358
827358
case "%{?rhel}" in
827358
7) sys_pg_version=9.2 upgrade_hacks='redhat_sockets_hack yes' ;;
827358
6) sys_pg_version=8.4 upgrade_hacks='pghost_override /tmp' ;;
827358
esac
827358
827358
cat > $RPM_BUILD_ROOT%{_sysconfdir}/postgresql-setup/upgrade/postgresql.conf <
827358
id              postgresql
827358
major           $sys_pg_version
827358
data_default    /var/lib/pgsql/data
827358
engine          /usr/bin
827358
description     "Upgrade data from system PostgreSQL version (PostgreSQL $sys_pg_version)"
827358
$upgrade_hacks
827358
EOF
827358
827358
cat > $RPM_BUILD_ROOT%{_sysconfdir}/postgresql-setup/upgrade/postgresql92.conf <
827358
id              postgresql92-postgresql
827358
major           9.2
827358
data_default    /opt/rh/postgresql92/root/var/lib/pgsql/data
827358
engine          /opt/rh/postgresql92/root/usr/bin
827358
description     "Upgrade data from RHSCL PostgreSQL version (PostgreSQL 9.2)"
827358
scls            "postgresql92"
827358
redhat_sockets_hack yes
827358
EOF
827358
827358
cat > $RPM_BUILD_ROOT%{_sysconfdir}/postgresql-setup/upgrade/rh-postgresql94.conf <
827358
id              rh-postgresql94-postgresql
827358
major           9.4
827358
data_default    /var/opt/rh/rh-postgresql94/lib/pgsql/data
827358
engine          /opt/rh/rh-postgresql94/root/usr/bin
827358
description     "Upgrade data from RHSCL PostgreSQL version (PostgreSQL 9.4)"
827358
scls            "rh-postgresql94"
827358
EOF
827358
827358
cat > $RPM_BUILD_ROOT%{_sysconfdir}/postgresql-setup/upgrade/rh-postgresql95.conf <
827358
id              rh-postgresql95-postgresql
827358
major           9.5
827358
data_default    /var/opt/rh/rh-postgresql95/lib/pgsql/data
827358
engine          /opt/rh/rh-postgresql95/root/usr/bin
827358
description     "Upgrade data from RHSCL PostgreSQL version (PostgreSQL 9.5)"
827358
scls            "rh-postgresql95"
827358
EOF
827358
827358
make DESTDIR=$RPM_BUILD_ROOT install-world
827358
827358
%if %plpython3
827358
	mv src/Makefile.global src/Makefile.global.save
827358
	cp src/Makefile.global.python3 src/Makefile.global
827358
	touch -r src/Makefile.global.save src/Makefile.global
827358
	pushd src/pl/plpython3
827358
	make DESTDIR=$RPM_BUILD_ROOT install
827358
	popd
827358
	mv -f src/Makefile.global.save src/Makefile.global
827358
%endif
827358
827358
# make sure these directories exist even if we suppressed all contrib modules
827358
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/pgsql/contrib
827358
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/pgsql/extension
827358
827358
# multilib header hack; some headers are installed in two places!
827358
for header in \
827358
	%{_includedir}/pg_config.h \
827358
	%{_includedir}/pg_config_ext.h \
827358
	%{_includedir}/ecpg_config.h \
827358
	%{_includedir}/pgsql/server/pg_config.h \
827358
	%{_includedir}/pgsql/server/pg_config_ext.h
827358
do
827358
%multilib_fix_c_header --file "$header"
827358
done
827358
827358
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/pgsql/tutorial
827358
cp -p src/tutorial/* $RPM_BUILD_ROOT%{_libdir}/pgsql/tutorial
827358
827358
%if %pam
827358
install -d $RPM_BUILD_ROOT/etc/pam.d
827358
install -m 644 %{SOURCE10} $RPM_BUILD_ROOT/etc/pam.d/%{?scl_prefix}postgresql
827358
%endif
827358
827358
# Create the directory for sockets.
827358
install -d -m 755 $RPM_BUILD_ROOT%{?!scl:%_localstatedir}%{?scl:%_root_localstatedir}/run/postgresql
827358
827358
%if %systemd_build
827358
# ... and make a tmpfiles script to recreate it at reboot.
827358
mkdir -p $RPM_BUILD_ROOT%{_tmpfilesdir}
827358
install -m 0644 %{SOURCE9} $RPM_BUILD_ROOT%{_tmpfilesdir}/%{?scl_prefix}postgresql.conf
827358
%endif
827358
827358
# PGDATA needs removal of group and world permissions due to pg_pwd hole.
827358
install -d -m 700 $RPM_BUILD_ROOT%{?_localstatedir}/lib/pgsql/data
827358
827358
%if 0%{?scl:1}
827358
# make sure /var/lib/pgsql also exists, see bz#1023113
827358
mkdir -p -m 700 $RPM_BUILD_ROOT%{?_root_localstatedir}/lib/pgsql
827358
# macros file is not yet ready for SCLs in postgresql-setup
827358
rm -r $RPM_BUILD_ROOT/%{macrosdir}/macros.postgresql
827358
%endif
827358
827358
# backups of data go here...
827358
install -d -m 700 $RPM_BUILD_ROOT%{?_localstatedir}/lib/pgsql/backups
827358
827358
%if 0%{!?scl:1}
827358
# postgres' .bash_profile
827358
install -m 644 %{SOURCE11} $RPM_BUILD_ROOT%{?_localstatedir}/lib/pgsql/.bash_profile
827358
%endif
827358
827358
827358
%if %test
827358
	# tests. There are many files included here that are unnecessary,
827358
	# but include them anyway for completeness.  We replace the original
827358
	# Makefiles, however.
827358
	mkdir -p $RPM_BUILD_ROOT%{_libdir}/pgsql/test
827358
	cp -a src/test/regress $RPM_BUILD_ROOT%{_libdir}/pgsql/test
827358
	# pg_regress binary should be only in one subpackage, 
827358
	# there will be a symlink from -test to -devel
827358
	rm -f $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress/pg_regress
827358
	ln -sf ../../pgxs/src/test/regress/pg_regress $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress/pg_regress
827358
	pushd  $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress
827358
	rm -f GNUmakefile Makefile *.o
827358
	chmod 0755 pg_regress regress.so
827358
	popd
827358
	sed 's|@bindir@|%{_bindir}|g' \
827358
		< %{SOURCE4} \
827358
		> $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress/Makefile
827358
	chmod 0644 $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress/Makefile
827358
%endif
827358
827358
rm -rf doc/html # HACK! allow 'rpmbuild -bi --short-circuit'
827358
mv $RPM_BUILD_ROOT%{_docdir}/pgsql/html doc
827358
rm -rf $RPM_BUILD_ROOT%{_docdir}/pgsql
827358
827358
# remove files not to be packaged
827358
rm $RPM_BUILD_ROOT%{_libdir}/lib{ecpg,pq,ecpg_compat,pgfeutils,pgtypes}.a
827358
827358
%if !%plperl
827358
rm -f $RPM_BUILD_ROOT%{_bindir}/pgsql/hstore_plperl.so
827358
%endif
827358
827358
%if !%plpython
827358
rm -f $RPM_BUILD_ROOT%{_bindir}/pgsql/hstore_plpython2.so
827358
%endif
827358
827358
# initialize file lists
827358
cp /dev/null main.lst
827358
cp /dev/null libs.lst
827358
cp /dev/null server.lst
827358
cp /dev/null devel.lst
827358
cp /dev/null plperl.lst
827358
cp /dev/null pltcl.lst
827358
cp /dev/null plpython.lst
827358
cp /dev/null plpython3.lst
827358
827358
%if %nls
827358
%find_lang ecpg-%{majorversion}
827358
cat ecpg-%{majorversion}.lang >>devel.lst
827358
%find_lang ecpglib%{?scl_prefix}6-%{majorversion}
827358
cat ecpglib%{?scl_prefix}6-%{majorversion}.lang >>libs.lst
827358
%find_lang initdb-%{majorversion}
827358
cat initdb-%{majorversion}.lang >>server.lst
827358
%find_lang libpq%{?scl_prefix}5-%{majorversion}
827358
cat libpq%{?scl_prefix}5-%{majorversion}.lang >>libs.lst
827358
%find_lang pg_basebackup-%{majorversion}
827358
cat pg_basebackup-%{majorversion}.lang >>server.lst
827358
%find_lang pg_controldata-%{majorversion}
827358
cat pg_controldata-%{majorversion}.lang >>server.lst
827358
%find_lang pg_ctl-%{majorversion}
827358
cat pg_ctl-%{majorversion}.lang >>server.lst
827358
%find_lang pg_config-%{majorversion}
827358
cat pg_config-%{majorversion}.lang >>main.lst
827358
%find_lang pg_dump-%{majorversion}
827358
cat pg_dump-%{majorversion}.lang >>main.lst
827358
%find_lang pg_resetxlog-%{majorversion}
827358
cat pg_resetxlog-%{majorversion}.lang >>server.lst
827358
%find_lang pg_rewind-%{majorversion}
827358
cat pg_rewind-%{majorversion}.lang >>server.lst
827358
%find_lang pgscripts-%{majorversion}
827358
cat pgscripts-%{majorversion}.lang >>main.lst
827358
%if %plperl
827358
%find_lang plperl-%{majorversion}
827358
cat plperl-%{majorversion}.lang >>plperl.lst
827358
%endif
827358
%find_lang plpgsql-%{majorversion}
827358
cat plpgsql-%{majorversion}.lang >>server.lst
827358
%if %plpython
827358
%find_lang plpython-%{majorversion}
827358
cat plpython-%{majorversion}.lang >>plpython.lst
827358
%endif
827358
%if %plpython3
827358
# plpython3 shares message files with plpython
827358
%find_lang plpython-%{majorversion}
827358
cat plpython-%{majorversion}.lang >>plpython3.lst
827358
%endif
827358
%if %pltcl
827358
%find_lang pltcl-%{majorversion}
827358
cat pltcl-%{majorversion}.lang >>pltcl.lst
827358
%endif
827358
%find_lang postgres-%{majorversion}
827358
cat postgres-%{majorversion}.lang >>server.lst
827358
%find_lang psql-%{majorversion}
827358
cat psql-%{majorversion}.lang >>main.lst
827358
%endif
827358
827358
%if 0%{?scl:1}
827358
server_binaries='initdb pg_basebackup pg_controldata pg_ctl pg_receivexlog
827358
pg_recvlogical pg_resetxlog pg_rewind postgres postgresql-setup postmaster
827358
'
827358
827358
contrib_binaries='
827358
oid2name pg_archivecleanup pgbench pg_standby pg_test_fsync pg_test_timing
827358
pg_xlogdump vacuumlo
827358
'
827358
827358
binaries='clusterdb createdb createlang createuser dropdb droplang dropuser
827358
pg_dump pg_dumpall pg_isready pg_restore pg_upgrade psql reindexdb vacuumdb
827358
'
827358
827358
for pkg in '' contrib server; do
827358
	mans= sep= pkg_name=postgresql${pkg:+-$pkg}
827358
	eval "list=\$${pkg:+${pkg}_}binaries"
827358
	for bin in $list; do mans+="${sep}man1/$bin.1.gz" ; sep=' '; done
827358
	%scl_syspaths_install_wrappers -n $pkg_name -m script -p bin $list
827358
	%scl_syspaths_install_wrappers -n $pkg_name -m link -p man $mans
827358
done
827358
827358
%if 0%{?rhel} == 6
827358
	mkdir -p %buildroot%_root_initddir
827358
	cat >%buildroot%_root_initddir/postgresql <<\EOF
827358
#! /bin/sh
827358
%_root_initddir/%{scl_prefix}postgresql "$@"
827358
EOF
827358
chmod 755 %buildroot%_root_initddir/postgresql
827358
%else
827358
	for service in postgresql postgresql@; do
827358
		%scl_syspaths_install_wrapper -n postgresql-server -m link \
827358
			%{_unitdir}/%{scl_prefix}$service.service \
827358
			%{_unitdir}/$service.service
827358
	done
827358
	%scl_syspaths_install_wrapper -n postgresql-server -m link \
827358
			%_root_libexecdir/initscripts/legacy-actions/%{scl_prefix}postgresql \
827358
			%_root_libexecdir/initscripts/legacy-actions/postgresql
827358
%endif
827358
%endif # %{?scl:1}
827358
827358
827358
%post libs -p /sbin/ldconfig 
827358
%postun libs -p /sbin/ldconfig 
827358
827358
%pre server
827358
/usr/sbin/groupadd -g 26 -o -r postgres >/dev/null 2>&1 || :
827358
/usr/sbin/useradd -M -g postgres -o -r -d /var/lib/pgsql -s /bin/bash \
827358
%if 0%{?rhel} >= 6
827358
-N \
827358
%endif
827358
	-c "PostgreSQL Server" -u 26 postgres >/dev/null 2>&1 || :
827358
827358
%post server
827358
%if %systemd_build
827358
%systemd_post %service_name
827358
%else
827358
if [ $1 -eq 1 ] ; then
827358
    # Initial installation
827358
    /sbin/chkconfig --add %{?scl_prefix}postgresql
827358
fi
827358
%endif
827358
827358
%if 0%{?scl:1}
827358
%if %systemd_build
827358
semanage fcontext -a -e "%{_unitdir}/postgresql.service" "%{_unitdir}/%{scl_prefix}postgresql.service" >/dev/null 2>&1 || :
827358
%else
827358
semanage fcontext -a -e "/etc/rc.d/init.d/postgresql" "/etc/rc.d/init.d/%{scl_prefix}postgresql" >/dev/null 2>&1 || :
827358
%endif
827358
# Per hhorak's report:	It seems that we can't simply use
827358
# semanage fcontext -a -e %%{_root_bindir}/pg_ctl %%{_root_libexecdir}/postgresql-ctl
827358
# because the equivalence (-e, --equal) rules are not transitive thus the
827358
# %%{_libexec}/postgresql-ctl would get wrong context.
827358
semanage fcontext -a -t postgresql_exec_t %{_root_libexecdir}/postgresql-ctl || :
827358
selinuxenabled && load_policy || :
827358
restorecon -R "%{?_scl_root}/" >/dev/null 2>&1 || :
827358
restorecon -R "%{_sysconfdir}" >/dev/null 2>&1 || :
827358
restorecon -R "%{_localstatedir}" >/dev/null 2>&1 || :
827358
%if %systemd_build
827358
restorecon -R "%{_unitdir}/%{scl_prefix}postgresql.service" >/dev/null 2>&1 || :
827358
%else
827358
restorecon -R "/etc/rc.d/init.d/%{scl_prefix}postgresql" >/dev/null 2>&1 || :
827358
%endif
827358
%endif
827358
827358
827358
%preun server
827358
%if %systemd_build
827358
%systemd_preun %service_name
827358
%else
827358
if [ $1 -eq 0 ] ; then
827358
    # Package removal, not upgrade
827358
    /sbin/service %{?scl_prefix}postgresql stop >/dev/null 2>&1
827358
    /sbin/chkconfig --del %{?scl_prefix}postgresql
827358
fi
827358
%endif
827358
827358
%postun server
827358
%if %systemd_build
827358
%systemd_postun_with_restart %service_name
827358
if [ $1 -ge 1 ] ; then
827358
    /sbin/service %{?scl_prefix}postgresql condrestart >/dev/null 2>&1 || :
827358
fi
827358
%endif
827358
827358
827358
%check
827358
%if %runselftest
827358
make -C postgresql-setup-%{setup_version} check
827358
%endif
827358
827358
827358
%clean
827358
827358
# FILES section.
827358
827358
%files -f main.lst
827358
%doc doc/KNOWN_BUGS doc/MISSING_FEATURES doc/TODO
827358
%doc COPYRIGHT README HISTORY doc/bug.template
827358
%doc README.rpm-dist
827358
%{_bindir}/clusterdb
827358
%{_bindir}/createdb
827358
%{_bindir}/createlang
827358
%{_bindir}/createuser
827358
%{_bindir}/dropdb
827358
%{_bindir}/droplang
827358
%{_bindir}/dropuser
827358
%{_bindir}/pg_dump
827358
%{_bindir}/pg_dumpall
827358
%{_bindir}/pg_isready
827358
%{_bindir}/pg_restore
827358
%{_bindir}/pg_upgrade
827358
%{_bindir}/psql
827358
%{_bindir}/reindexdb
827358
%{_bindir}/vacuumdb
827358
%{_mandir}/man1/clusterdb.*
827358
%{_mandir}/man1/createdb.*
827358
%{_mandir}/man1/createlang.*
827358
%{_mandir}/man1/createuser.*
827358
%{_mandir}/man1/dropdb.*
827358
%{_mandir}/man1/droplang.*
827358
%{_mandir}/man1/dropuser.*
827358
%{_mandir}/man1/pg_dump.*
827358
%{_mandir}/man1/pg_dumpall.*
827358
%{_mandir}/man1/pg_isready.*
827358
%{_mandir}/man1/pg_restore.*
827358
%{_mandir}/man1/pg_upgrade.*
827358
%{_mandir}/man1/psql.*
827358
%{_mandir}/man1/reindexdb.*
827358
%{_mandir}/man1/vacuumdb.*
827358
%{_mandir}/man7/*
827358
827358
827358
%if 0%{?scl:1}
827358
%scl_syspaths_files
827358
%scl_syspaths_files contrib
827358
%scl_syspaths_files server
827358
%if 0%{?rhel} == 6
827358
%_root_initddir/postgresql
827358
%endif
827358
%endif
827358
827358
827358
%files docs
827358
%doc *-US.pdf
827358
%doc doc/html
827358
%{_libdir}/pgsql/tutorial/
827358
827358
%files contrib
827358
%doc contrib/spi/*.example
827358
%{_bindir}/oid2name
827358
%{_bindir}/pg_archivecleanup
827358
%{_bindir}/pg_standby
827358
%{_bindir}/pg_test_fsync
827358
%{_bindir}/pg_test_timing
827358
%{_bindir}/pg_xlogdump
827358
%{_bindir}/pgbench
827358
%{_bindir}/vacuumlo
827358
%{_datadir}/pgsql/extension/adminpack*
827358
%{_datadir}/pgsql/extension/autoinc*
827358
%{_datadir}/pgsql/extension/bloom*
827358
%{_datadir}/pgsql/extension/btree_gin*
827358
%{_datadir}/pgsql/extension/btree_gist*
827358
%{_datadir}/pgsql/extension/chkpass*
827358
%{_datadir}/pgsql/extension/citext*
827358
%{_datadir}/pgsql/extension/cube*
827358
%{_datadir}/pgsql/extension/dblink*
827358
%{_datadir}/pgsql/extension/dict_int*
827358
%{_datadir}/pgsql/extension/dict_xsyn*
827358
%{_datadir}/pgsql/extension/earthdistance*
827358
%{_datadir}/pgsql/extension/file_fdw*
827358
%{_datadir}/pgsql/extension/fuzzystrmatch*
827358
%{_datadir}/pgsql/extension/hstore*
827358
%{_datadir}/pgsql/extension/insert_username*
827358
%{_datadir}/pgsql/extension/intagg*
827358
%{_datadir}/pgsql/extension/intarray*
827358
%{_datadir}/pgsql/extension/isn*
827358
%{_datadir}/pgsql/extension/lo*
827358
%{_datadir}/pgsql/extension/ltree*
827358
%{_datadir}/pgsql/extension/moddatetime*
827358
%{_datadir}/pgsql/extension/pageinspect*
827358
%{_datadir}/pgsql/extension/pg_buffercache*
827358
%{_datadir}/pgsql/extension/pg_freespacemap*
827358
%{_datadir}/pgsql/extension/pg_prewarm*
827358
%{_datadir}/pgsql/extension/pg_stat_statements*
827358
%{_datadir}/pgsql/extension/pg_trgm*
827358
%{_datadir}/pgsql/extension/pg_visibility*
827358
%{_datadir}/pgsql/extension/pgcrypto*
827358
%{_datadir}/pgsql/extension/pgrowlocks*
827358
%{_datadir}/pgsql/extension/pgstattuple*
827358
%{_datadir}/pgsql/extension/postgres_fdw*
827358
%{_datadir}/pgsql/extension/refint*
827358
%{_datadir}/pgsql/extension/seg*
827358
%{_datadir}/pgsql/extension/tablefunc*
827358
%{_datadir}/pgsql/extension/tcn*
827358
%{_datadir}/pgsql/extension/timetravel*
827358
%{_datadir}/pgsql/extension/tsearch2*
827358
%{_datadir}/pgsql/extension/tsm_system_rows*
827358
%{_datadir}/pgsql/extension/tsm_system_time*
827358
%{_datadir}/pgsql/extension/unaccent*
827358
%{_libdir}/pgsql/_int.so
827358
%{_libdir}/pgsql/adminpack.so
827358
%{_libdir}/pgsql/auth_delay.so
827358
%{_libdir}/pgsql/auto_explain.so
827358
%{_libdir}/pgsql/autoinc.so
827358
%{_libdir}/pgsql/bloom.so
827358
%{_libdir}/pgsql/btree_gin.so
827358
%{_libdir}/pgsql/btree_gist.so
827358
%{_libdir}/pgsql/chkpass.so
827358
%{_libdir}/pgsql/citext.so
827358
%{_libdir}/pgsql/cube.so
827358
%{_libdir}/pgsql/dblink.so
827358
%{_libdir}/pgsql/dict_int.so
827358
%{_libdir}/pgsql/dict_xsyn.so
827358
%{_libdir}/pgsql/earthdistance.so
827358
%{_libdir}/pgsql/file_fdw.so
827358
%{_libdir}/pgsql/fuzzystrmatch.so
827358
%{_libdir}/pgsql/hstore.so
827358
%if %plperl
827358
%{_libdir}/pgsql/hstore_plperl.so
827358
%endif
827358
%if %plpython
827358
%{_libdir}/pgsql/hstore_plpython2.so
827358
%endif
827358
%{_libdir}/pgsql/insert_username.so
827358
%{_libdir}/pgsql/isn.so
827358
%{_libdir}/pgsql/lo.so
827358
%{_libdir}/pgsql/ltree.so
827358
%if %plpython
827358
%{_libdir}/pgsql/ltree_plpython2.so
827358
%endif
827358
%{_libdir}/pgsql/moddatetime.so
827358
%{_libdir}/pgsql/pageinspect.so
827358
%{_libdir}/pgsql/passwordcheck.so
827358
%{_libdir}/pgsql/pg_buffercache.so
827358
%{_libdir}/pgsql/pg_freespacemap.so
827358
%{_libdir}/pgsql/pg_stat_statements.so
827358
%{_libdir}/pgsql/pg_trgm.so
827358
%{_libdir}/pgsql/pg_visibility.so
827358
%{_libdir}/pgsql/pgcrypto.so
827358
%{_libdir}/pgsql/pgrowlocks.so
827358
%{_libdir}/pgsql/pgstattuple.so
827358
%{_libdir}/pgsql/postgres_fdw.so
827358
%{_libdir}/pgsql/refint.so
827358
%{_libdir}/pgsql/seg.so
827358
%{_libdir}/pgsql/tablefunc.so
827358
%{_libdir}/pgsql/tcn.so
827358
%{_libdir}/pgsql/test_decoding.so
827358
%{_libdir}/pgsql/timetravel.so
827358
%{_libdir}/pgsql/tsearch2.so
827358
%{_libdir}/pgsql/tsm_system_rows.so
827358
%{_libdir}/pgsql/tsm_system_time.so
827358
%{_libdir}/pgsql/unaccent.so
827358
%{_mandir}/man1/oid2name.*
827358
%{_mandir}/man1/pg_archivecleanup.*
827358
%{_mandir}/man1/pg_recvlogical.*
827358
%{_mandir}/man1/pg_standby.*
827358
%{_mandir}/man1/pg_test_fsync.*
827358
%{_mandir}/man1/pg_test_timing.*
827358
%{_mandir}/man1/pg_xlogdump.*
827358
%{_mandir}/man1/pgbench.*
827358
%{_mandir}/man1/vacuumlo.*
827358
%{_mandir}/man3/dblink*
827358
%if %selinux
827358
%{_datadir}/pgsql/contrib/sepgsql.sql
827358
%{_libdir}/pgsql/sepgsql.so
827358
%endif
827358
%if %ssl
827358
%{_datadir}/pgsql/extension/sslinfo*
827358
%{_libdir}/pgsql/sslinfo.so
827358
%endif
827358
%if %uuid
827358
%{_datadir}/pgsql/extension/uuid-ossp*
827358
%{_libdir}/pgsql/uuid-ossp.so
827358
%endif
827358
%if %xml
827358
%{_datadir}/pgsql/extension/xml2*
827358
%{_libdir}/pgsql/pgxml.so
827358
%endif
827358
827358
%files libs -f libs.lst
827358
%doc COPYRIGHT
827358
%dir %{_libdir}/pgsql
827358
%{_libdir}/libecpg.so.*
827358
%{_libdir}/libecpg_compat.so.*
827358
%{_libdir}/libpgtypes.so.*
827358
%{_libdir}/libpq.so.*
827358
827358
%files server -f server.lst
827358
%{_bindir}/initdb
827358
%{_bindir}/pg_basebackup
827358
%{_bindir}/pg_controldata
827358
%{_bindir}/pg_ctl
827358
%{_bindir}/pg_receivexlog
827358
%{_bindir}/pg_recvlogical
827358
%{_bindir}/pg_resetxlog
827358
%{_bindir}/pg_rewind
827358
%{_bindir}/postgres
827358
%{_bindir}/postgresql-setup
827358
%{_bindir}/postmaster
827358
%dir %{_datadir}/pgsql
827358
%{_datadir}/pgsql/*.sample
827358
%dir %{_datadir}/pgsql/contrib
827358
%{_datadir}/pgsql/conversion_create.sql
827358
%dir %{_datadir}/pgsql/extension
827358
%{_datadir}/pgsql/extension/plpgsql*
827358
%{_datadir}/pgsql/information_schema.sql
827358
%{_datadir}/pgsql/postgres.bki
827358
%{_datadir}/pgsql/postgres.description
827358
%{_datadir}/pgsql/postgres.shdescription
827358
%{_datadir}/pgsql/snowball_create.sql
827358
%{_datadir}/pgsql/sql_features.txt
827358
%{_datadir}/pgsql/system_views.sql
827358
%{_datadir}/pgsql/timezonesets/
827358
%{_datadir}/pgsql/tsearch_data/
827358
%dir %{_datadir}/postgresql-setup
827358
%{_datadir}/postgresql-setup/library.sh
827358
%{_datadir}/postgresql-setup/postgresql_pkg_tests.sh
827358
%{_libdir}/pgsql/*_and_*.so
827358
%{_libdir}/pgsql/dict_snowball.so
827358
%{_libdir}/pgsql/euc2004_sjis2004.so
827358
%{_libdir}/pgsql/libpqwalreceiver.so
827358
%{_libdir}/pgsql/pg_prewarm.so
827358
%{_libdir}/pgsql/plpgsql.so
827358
%if %systemd_build
827358
%dir %{?scl:%_root_libexecdir}%{!?scl:%_libexecdir}/initscripts/legacy-actions/%{?scl_prefix}postgresql
827358
%{?scl:%_root_libexecdir}%{!?scl:%_libexecdir}/initscripts/legacy-actions/%{?scl_prefix}postgresql/*
827358
%endif
827358
%{_libexecdir}/postgresql-check-db-dir
827358
%{_libexecdir}/postgresql-ctl
827358
%dir %{_sysconfdir}/postgresql-setup
827358
%dir %{_sysconfdir}/postgresql-setup/upgrade
827358
%config %{_sysconfdir}/postgresql-setup/upgrade/*.conf
827358
%{_mandir}/man1/initdb.*
827358
%{_mandir}/man1/pg_basebackup.*
827358
%{_mandir}/man1/pg_controldata.*
827358
%{_mandir}/man1/pg_ctl.*
827358
%{_mandir}/man1/pg_receivexlog.*
827358
%{_mandir}/man1/pg_resetxlog.*
827358
%{_mandir}/man1/pg_rewind.*
827358
%{_mandir}/man1/postgres.*
4c07af
%if %systemd_build
4c07af
%{_mandir}/man1/postgresql-new-systemd-unit.*
4c07af
%endif
827358
%{_mandir}/man1/postgresql-setup.*
827358
%{_mandir}/man1/postmaster.*
827358
%if %systemd_build
4c07af
%{_sbindir}/postgresql-new-systemd-unit
827358
%{_tmpfilesdir}/%{?scl_prefix}postgresql.conf
827358
%{_unitdir}/*%{?scl_prefix}postgresql*.service
827358
%else
827358
/etc/rc.d/init.d/%{?scl_prefix}postgresql
827358
%endif
827358
%attr(700,postgres,postgres) %dir %{?_localstatedir}/lib/pgsql
827358
%{!?scl:%attr(644,postgres,postgres) %config(noreplace) %{?_localstatedir}/lib/pgsql/.bash_profile}
827358
%attr(700,postgres,postgres) %dir %{?_localstatedir}/lib/pgsql/backups
827358
%attr(700,postgres,postgres) %dir %{?_localstatedir}/lib/pgsql/data
827358
%attr(755,postgres,postgres) %dir %{?!scl:%_localstatedir}%{?scl:%_root_localstatedir}/run/postgresql
827358
%if %pam
827358
%config(noreplace) /etc/pam.d/%{?scl_prefix}postgresql
827358
%endif
827358
827358
%if 0%{?scl:1}
827358
# Still needed because /var/lib/pgsql is postgres's $HOMEDIR
827358
%attr(700,postgres,postgres) %dir %{?_root_localstatedir}/lib/pgsql
827358
%endif
827358
827358
%files devel -f devel.lst
827358
%{_bindir}/ecpg
827358
%{_bindir}/pg_config
827358
%{_includedir}/*
827358
%{_libdir}/libecpg.so
827358
%{_libdir}/libecpg_compat.so
827358
%{_libdir}/libpgtypes.so
827358
%{_libdir}/libpq.so
827358
%{_libdir}/pgsql/pgxs/
827358
%if 0%{?scl:1}
827358
# https://bugzilla.redhat.com/show_bug.cgi?id=1431962
827358
%dir %{_libdir}/pkgconfig
827358
%endif
827358
%{_libdir}/pkgconfig/*.pc
827358
%{_mandir}/man1/ecpg.*
827358
%{_mandir}/man1/pg_config.*
827358
%{_mandir}/man3/SPI_*
827358
%{?!scl:%{macrosdir}/*}
827358
827358
%files static
827358
%{_libdir}/libpgcommon.a
827358
%{_libdir}/libpgport.a
827358
827358
%if %plperl
827358
%files plperl -f plperl.lst
827358
%{_datadir}/pgsql/extension/plperl*
827358
%{_libdir}/pgsql/plperl.so
827358
%endif
827358
827358
%if %pltcl
827358
%files pltcl -f pltcl.lst
827358
%{_bindir}/pltcl_delmod
827358
%{_bindir}/pltcl_listmod
827358
%{_bindir}/pltcl_loadmod
827358
%{_datadir}/pgsql/extension/pltcl*
827358
%{_datadir}/pgsql/unknown.pltcl
827358
%{_libdir}/pgsql/pltcl.so
827358
%endif
827358
827358
%if %plpython
827358
%files plpython -f plpython.lst
827358
%{_datadir}/pgsql/extension/plpython2*
827358
%{_datadir}/pgsql/extension/plpythonu*
827358
%{_libdir}/pgsql/plpython2.so
827358
%endif
827358
827358
%if %plpython3
827358
%files plpython3 -f plpython3.lst
827358
%{_datadir}/pgsql/extension/plpython3*
827358
%{_libdir}/pgsql/plpython3.so
827358
%endif
827358
827358
%if %test
827358
%files test
827358
%attr(-,postgres,postgres) %{_libdir}/pgsql/test
827358
%endif
827358
827358
%changelog
ec0e2e
* Thu Aug 09 2018 Pavel Raiskup <praiskup@redhat.com> - 9.6.10-1
ec0e2e
- update to 9.6.10 per release notes:
ec0e2e
  https://www.postgresql.org/docs/9.6/static/release-9-6-6.html
ec0e2e
  https://www.postgresql.org/docs/9.6/static/release-9-6-7.html
ec0e2e
  https://www.postgresql.org/docs/9.6/static/release-9-6-8.html
ec0e2e
  https://www.postgresql.org/docs/9.6/static/release-9-6-9.html
ec0e2e
  https://www.postgresql.org/docs/9.6/static/release-9-6-10.html
ec0e2e
4c07af
* Mon Nov 06 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.5-2
4c07af
- fix CVE-2017-15097 by rebasing postgresql-setup to the latest version
4c07af
827358
* Fri Sep 22 2017 Petr Kubat <pkubat@redhat.com> - 9.6.5-1
827358
- the latest upstream minor release, per release notes:
827358
  https://www.postgresql.org/docs/9.6/static/release-9-6-5.html
827358
827358
* Tue Sep 05 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.4-2
827358
- move %%_libdir/pgsql into *-libs subpackage
827358
827358
* Wed Aug 09 2017 Petr Kubat <pkubat@redhat.com> - 9.6.4-1
827358
- the latest upstream minor release, per release notes:
827358
  https://www.postgresql.org/docs/9.6/static/release-9-6-4.html
827358
827358
* Fri Jul 28 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-9
827358
- disable rpath in plperl/plpython (rhbz#1469431)
827358
- own pkgconfig dir in scls
827358
827358
* Mon Jun 26 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-8
827358
- don't include syspaths' wrappers into server subpackage
827358
827358
* Mon Jun 26 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-7
827358
- initscript must be executable script
827358
827358
* Mon Jun 26 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-6
827358
- remove leftover symlink for initscript
827358
827358
* Mon Jun 26 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-5
827358
- fix 'service initdb postgresql' on RHEL6 for syspaths
827358
- fix provides filtering
827358
827358
* Fri Jun 23 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-4
827358
- provide symlinks to initscripts and unit files
827358
827358
* Fri Jun 23 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-3
827358
- fix provides to not include plugins as sonames
827358
- fix syspaths wrappers installation (spotted by Marek Skalický)
827358
- add *contrib-syspaths wrappers
827358
827358
* Wed Jun 21 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-2
827358
- drop scl-utils-build-helpers BR, resolved by *-build metapackage
827358
827358
* Wed Jun 21 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-1
827358
- first build against rh-postgresql96 metapackage
827358
827358
* Wed Jun 21 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-1
827358
- fix *-syspaths PoC
827358
827358
* Fri Jun 16 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-0.1
827358
- initial *-syspaths PoC
827358
827358
* Mon Jun 12 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.3-0.0
827358
- the latest upstream minor release, per release notes:
827358
  https://www.postgresql.org/docs/9.6/static/release-9-6-3.html
827358
827358
* Mon Jun 12 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.2-0.3
827358
- drop -DLINUX_OOM_SCORE_ADJ=0 define from CFLAGS (rhbz#1110969, rhbz#1436554)
827358
827358
* Mon Apr 10 2017 Pavel Raiskup <praiskup@redhat.com> - 9.6.2-0.2
827358
- initial packaging for {sclo,rh}-postgresql96
827358
- synced spec file with latest Fedora package
827358
- properly generate man page for postgresql-setup
827358
827358
* Mon Sep 26 2016 Pavel Raiskup <praiskup@redhat.com> - 9.5.4-2
827358
- fix upgrade from postgresql92-postgresql (rhbz#1378787)
827358
827358
* Thu Aug 18 2016 Petr Kubat <pkubat@redhat.com> - 9.5.4-1
827358
- Rebase to 9.5.4 per release notes
827358
  http://www.postgresql.org/docs/9.5/static/release-9-5-4.html
827358
  http://www.postgresql.org/docs/9.5/static/release-9-5-3.html
827358
827358
* Wed Jul 27 2016 Pavel Raiskup <praiskup@redhat.com> - 9.5.2-3
827358
- rebuild for s390x
827358
827358
* Mon May 09 2016 Pavel Raiskup <praiskup@redhat.com> - 9.5.2-2
827358
- fix upgrade path from rh-postgresql94 (rhbz#1334351)
827358
- fix path to binary directory in Makefile.regress (rhbz#1334706)
827358
827358
* Mon Apr 4 2016 Pavel Kajaba <pkajaba@redhat.com> - 9.5.2-1
827358
- Rebase to 9.5.2 (CVE-2016-3065) per release notes
827358
  http://www.postgresql.org/docs/9.5/static/release-9-5-2.html
827358
827358
* Tue Mar 29 2016 Pavel Kajaba <pkajaba@redhat.com> - 9.5.1-4
827358
- Inlude missing files into files section (rhbz#1321915)
827358
827358
* Thu Mar 10 2016 Pavel Kajaba <pkajaba@redhat.com> - 9.5.1-3
827358
- package static libraries without dynamic counterparts (rhbz#1314796)
827358
827358
* Wed Feb 17 2016 Pavel Kajaba <pkajaba@redhat.com> - 9.5.1-2
827358
- Removed upgrade package because it was empty.
827358
827358
* Tue Feb 16 2016 Pavel Raiskup <praiskup@redhat.com> - 9.5.1-1
827358
- Rebase to 9.5.1 (CVE-2016-0773) per release notes
827358
  http://www.postgresql.org/docs/9.5/static/release-9-5-1.html
827358
827358
* Fri Feb 12 2016 Honza Horak <hhorak@redhat.com> - 9.5.0-5
827358
- Rebuild with newer scl-utils
827358
827358
* Thu Feb 11 2016 Honza Horak <hhorak@redhat.com> - 9.5.0-4
827358
- Rebuild with newer scl-utils in buildroot
827358
827358
* Tue Feb 09 2016 Honza Horak <hhorak@redhat.com> - 9.5.0-3
827358
- Bump spec cause we have release 2 in centos already
827358
827358
* Wed Nov 18 2015 Pavel Kajaba <pkajaba@redhat.com> - 9.5-1
827358
- Rebase to 9.5.0 per release notes
827358
  http://www.postgresql.org/docs/9.5/static/release-9-5.html
827358
827358
* Wed Oct 21 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.5-1
827358
- update to 9.4.5 per release notes
827358
  http://www.postgresql.org/docs/9.4/static/release-9-4-5.html
827358
827358
* Mon Jun 15 2015 Jozef Mlich <jmlich@redhat.com> - 9.4.4-1
827358
- rebase to 9.4.4 due to security issues
827358
  CVE-2015-3165 CVE-2015-3167 CVE-2015-3166
827358
  Resolves: #1225798
827358
827358
* Sun Mar 22 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.1-8
827358
- postgresql-setup 3.3 - per several initscript start() issues
827358
827358
* Fri Mar 20 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.1-7
827358
- set the postgresql-ctl context in main package
827358
- rebase the postgresql-setup to v3.2 to fix --initdb for multiple
827358
  postmasters scenario
827358
827358
* Thu Mar 19 2015 Jozef Mlich <jmlich@redhat.com> - 9.4.1-6
827358
- postgreql-setup was updated to 3.1
827358
827358
* Thu Mar 19 2015 Jozef Mlich <jmlich@redhat.com> - 9.4.1-5
827358
- adding tcl-pgtcl to requires of -tcl subpackage
827358
  Resolves: #1199466
827358
827358
* Mon Mar 02 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.1-4
827358
- use postgresql-setup.tar.gz
827358
827358
* Tue Feb 24 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.1-3
827358
- allow pg_upgrade from postgresql92-postgresql (#1196030)
827358
827358
* Wed Feb 18 2015 Honza Horak <hhorak@redhat.com> - 9.4.1-2
827358
- Remove NFS register feature for questionable usage for DBs
827358
827358
* Wed Feb 18 2015 Honza Horak <hhorak@redhat.com> - 9.4.1-1
827358
- Update to 9.4.1
827358
  This also fixes CVE-2015-0244 CVE-2014-8161 CVE-2015-0241 CVE-2015-0243
827358
  Resolves: #1192910
827358
827358
* Thu Jan 29 2015 Jozef Mlich <jmlich@redhat.com> 9.4.0-1
827358
- update to 9.4.0
827358
827358
* Fri Oct  3 2014 Marcela Mašláňová <mmaslano@redhat.com> 9.2.8-2.1
827358
- global must be used in systemd_post, otherwise scriptlets fail
827358
  Resolves: #1149257
827358
827358
* Mon Apr 07 2014 Jozef Mlich <jmlich@redhat.com> 9.2.8-2
827358
- added two dashes into scl-legacy.patch
827358
  Resolves: #1060767
827358
827358
* Wed Mar 26 2014 Jozef Mlich <jmlich@redhat.com> 9.2.8-1
827358
- update to 9.2.8 minor version per release notes:
827358
  http://www.postgresql.org/docs/9.2/static/release-9-2-8.html
827358
  Resolves: #1079994
827358
827358
* Thu Feb 20 2014 Jozef Mlich <jmlich@redhat.com> 9.2.7-2
827358
- update to 9.2.7 minor version per release notes:
827358
  http://www.postgresql.org/docs/9.2/static/release-9-2-7.html
827358
  Resolves: #1065861
827358
  including fixes for CVE-2014-0066 CVE-2014-0064 CVE-2014-0065
827358
  CVE-2014-0062 CVE-2014-0063 CVE-2014-0060 CVE-2014-0061
827358
827358
* Mon Feb 17 2014 Jozef Mlich <jmlich@redhat.com> 9.2.6-8
827358
- Legacy scripts are using scl enable
827358
  Resolves: #1060767
827358
- Release bump to -8 in order to get builds from brew
827358
827358
* Thu Feb 13 2014 Jozef Mlich <jmlich@redhat.com> 9.2.6-4
827358
- Require /usr/bin/scl_source that is not in every scl-utils
827358
  Resolves: #1054261
827358
827358
* Wed Dec 18 2013 Jozef Mlich <jmlich@redhat.com> 9.2.6-3
827358
- release bump to avoid name colision with rhel7 when using
827358
  rhpkg build 
827358
827358
* Wed Dec 18 2013 Jozef Mlich <jmlich@redhat.com> 9.2.6-1
827358
- rebase to 9.2.6
827358
  http://www.postgresql.org/docs/9.2/static/release-9-2-6.html
827358
  Resolves: #1038693
827358
- More details about replication issues are at
827358
  https://wiki.postgresql.org/wiki/Nov2013ReplicationIssue
827358
827358
* Wed Nov 27 2013 Honza Horak <hhorak@redhat.com> 9.2.5-9
827358
- Rebuild for openssl dependency issues
827358
827358
* Wed Nov 27 2013 Honza Horak <hhorak@redhat.com> 9.2.5-8
827358
- Use --no-backup-if-mismatch to avoid inclusion patch left-overs
827358
827358
* Mon Nov 25 2013 Honza Horak <hhorak@redhat.com> 9.2.5-7
827358
- Fix wrongly patched postgresql-setup
827358
827358
* Fri Nov 22 2013 Honza Horak <hhorak@redhat.com> 9.2.5-6
827358
- Restore SCL environment after runuser
827358
827358
* Tue Nov 19 2013 Honza Horak <hhorak@redhat.com> 9.2.5-5
827358
- Port to RHEL-7
827358
827358
* Tue Nov 19 2013 Honza Horak <hhorak@redhat.com> 9.2.5-4
827358
- Remove rpath usage and proper enable SCL environment after su instead
827358
827358
* Mon Nov 18 2013 Jozef Mlich <jmlich@redhat.com> 9.2.5-1
827358
- rebase to 9.2.5
827358
  http://www.postgresql.org/docs/9.2/static/release-9-2-5.html
827358
- modified useradd command
827358
  Resolves #1023113
827358
- modified bash-profile
827358
  Resolves #1009365
827358
827358
* Wed Oct  9 2013 Jozef Mlich <jmlich@redhat.com> 9.2.4-8
827358
- release bump to scl 1.1
827358
827358
* Wed May 15 2013 Honza Horak <hhorak@redhat.com> 9.2.4-7
827358
- Run restorecon to init script as well
827358
  Resolves: #962391
827358
827358
* Tue May 14 2013 Honza Horak <hhorak@redhat.com> 9.2.4-6
827358
- Move lock file under collection root
827358
  Resolves: #962872
827358
827358
* Mon May 13 2013 Honza Horak <hhorak@redhat.com> 9.2.4-5
827358
- Run restorecon in %%post section of -server
827358
  Resolves: #962391
827358
827358
* Thu May  2 2013 Honza Horak <hhorak@redhat.com> 9.2.4-4
827358
- Do not include daemon of the previous version and support upgrade from
827358
  the core system version 8.4
827358
- Pidfile used by init script should be in /opt
827358
- Fix advice in the init script to use proper service name
827358
- Include -devel sub-package for developing server-sice extensions
827358
- Prefix major soname version of all libraries with collection name
827358
827358
* Thu Apr 25 2013 Honza Horak <hhorak@redhat.com> 9.2.4-3
827358
- All sub-packages require SCL runtime
827358
- Use only one Unix socket in /tmp
827358
- Use rpath since we call some commands by runuser in init script,
827358
  so LD_LIBRARY_PATH doesn't work here
827358
827358
* Thu Apr 18 2013 Honza Horak <hhorak@redhat.com> 9.2.4-2
827358
- Remove RHEL-7 stuff
827358
827358
* Thu Apr  4 2013 Tom Lane <tgl@redhat.com> 9.2.4-1
827358
- Update to PostgreSQL 9.2.4, for various fixes described at
827358
  http://www.postgresql.org/docs/9.2/static/release-9-2-4.html
827358
  including the fixes for CVE-2013-1899, CVE-2013-1900, CVE-2013-1901
827358
Resolves: #929223, #929255, #929328
827358
- fix build for aarch64 and ppc64p7
827358
827358
* Wed Feb 13 2013 Honza Horak <hhorak@redhat.com> 9.2.3-1
827358
- Update to PostgreSQL 9.2.3, for various fixes described at
827358
  http://www.postgresql.org/docs/9.2/static/release-9-2-3.html
827358
  including the fix for CVE-2013-0255
827358
Resolves: #908722
827358
- Make the package build with selinux option disabled
827358
Resolves: #894367
827358
- Include old version of pg_controldata in postgresql-upgrade subpackage
827358
Related: #896161
827358
827358
* Fri Jan  4 2013 Honza Horak <hhorak@redhat.com> 9.2.2-1
827358
- Update to PostgreSQL 9.2.2, for various fixes described at
827358
  http://www.postgresql.org/docs/9.2/static/release-9-2-2.html
827358
- Prevent creation of TCP socket during pg_upgrade regression test, so that
827358
  concurrent RPM builds on the same machine won't fail
827358
Resolves: #891531
827358
- Make sure $PGDATA/pg_log/ gets the right SELinux label in postgresql-setup
827358
Resolves: #891547
827358
827358
* Mon Nov 12 2012 Honza Horak <hhorak@redhat.com> 9.2.1-4
827358
- Rebuild for ppc64
827358
827358
* Thu Oct 25 2012 Honza Horak <hhorak@redhat.com> 9.2.1-3
827358
- Run self tests during build
827358
- Use a config file for specifying SCLS enabled when starting service
827358
- Use sclname as a prefix of major number of libpq soname
827358
- Edit spec file for RHEL-5
827358
- Changed way how patch files are enhanced with scl macros values
827358
- Disable uuid module, since e2fsprogs is not compatible
827358
- Basic scripts fail if not run in scl environment
827358
- Use scl-service wrapper to fix systemd start issues
827358
- Fix paths in systemd service file
827358
- Remove quotes from the service file, otherwise arguments are passed
827358
  wrongly to scl-service
827358
827358
* Thu Oct 18 2012 Honza Horak <hhorak@redhat.com> 9.2.1-2
827358
- Initial import into postgresql92 scl branch
827358
827358
* Mon Sep 24 2012 Tom Lane <tgl@redhat.com> 9.2.1-1
827358
- Update to PostgreSQL 9.2.1, for various fixes described at
827358
  http://www.postgresql.org/docs/9.2/static/release-9-2-1.html
827358
  including a nasty data-loss bug
827358
- Adopt new systemd macros for server package install/uninstall triggers
827358
Resolves: #850277
827358
827358
* Mon Sep 10 2012 Tom Lane <tgl@redhat.com> 9.2.0-1
827358
- Update to PostgreSQL 9.2.0 (major version bump);
827358
  in-place upgrade support now works from 9.1.x as the previous version
827358
- Add postgresql-plpython3 subpackage with PL/Python built against Python 3
827358
827358
* Tue Aug 28 2012 Tom Lane <tgl@redhat.com> 9.1.5-2
827358
- Remove unnecessary ldconfig calls in pre/post triggers
827358
Resolves: #849344
827358
827358
* Fri Aug 17 2012 Tom Lane <tgl@redhat.com> 9.1.5-1
827358
- Update to PostgreSQL 9.1.5, for various fixes described at
827358
  http://www.postgresql.org/docs/9.1/static/release-9-1-5.html
827358
  including the fixes for CVE-2012-3488, CVE-2012-3489
827358
827358
* Mon Aug 13 2012 Tom Lane <tgl@redhat.com> 9.1.4-5
827358
- Back-port upstream support for postmaster listening on multiple Unix sockets
827358
- Configure postmaster to create sockets in both /var/run/postgresql and /tmp;
827358
  the former is now the default place for libpq to contact the postmaster.
827358
Resolves: #825448
827358
- Annotate postgresql.conf about not setting port number there
827358
- Minor specfile cleanup per suggestions from Tom Callaway
827358
Related: #845110
827358
827358
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.1.4-4
827358
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
827358
827358
* Sat Jul 14 2012 Tom Lane <tgl@redhat.com> 9.1.4-3
827358
- Update code to use oom_score_adj not oom_adj, thereby suppressing
827358
  whining in the kernel log
827358
- Add "legacy action" scripts to support "service postgresql initdb" and
827358
  "service postgresql upgrade" in a now-approved fashion (requires a
827358
  recent version of initscripts to work)
827358
Resolves: #800416
827358
827358
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 9.1.4-2
827358
- Perl 5.16 rebuild
827358
827358
* Mon Jun  4 2012 Tom Lane <tgl@redhat.com> 9.1.4-1
827358
- Update to PostgreSQL 9.1.4, for various fixes described at
827358
  http://www.postgresql.org/docs/9.1/static/release-9-1-4.html
827358
  including the fixes for CVE-2012-2143, CVE-2012-2655
827358
Resolves: #826606
827358
- Update previous version (embedded in postgresql-upgrade) to 9.0.8
827358
  because fix in whole-row variable dumping could be needed for upgrades
827358
- Revert fix for bug #800416, per fedora-packaging discussion at
827358
  http://lists.fedoraproject.org/pipermail/packaging/2012-April/008314.html
827358
  "service postgresql initdb" is dead and will stay that way
827358
827358
* Sat Mar 17 2012 Tom Lane <tgl@redhat.com> 9.1.3-3
827358
- Fix postgresql-setup to rely on systemd to parse the unit file, instead
827358
  of using ad-hoc code
827358
Resolves: #804290
827358
827358
* Tue Mar 13 2012 Tom Lane <tgl@redhat.com> 9.1.3-2
827358
- Fix postgresql-setup to look for unit file in /usr/lib and to ignore
827358
  comments therein
827358
Resolves: #802835
827358
- Resurrect a now-mostly-dummy postgresql init script, so that people can
827358
  keep on using "service postgresql initdb" if they wish
827358
Resolves: #800416
827358
827358
* Mon Feb 27 2012 Tom Lane <tgl@redhat.com> 9.1.3-1
827358
- Update to PostgreSQL 9.1.3, for various fixes described at
827358
  http://www.postgresql.org/docs/9.1/static/release-9-1-3.html
827358
  including the fixes for CVE-2012-0866, CVE-2012-0867, CVE-2012-0868
827358
Resolves: #797918
827358
827358
* Mon Jan  9 2012 Tom Lane <tgl@redhat.com> 9.1.2-2
827358
- Make systemd unit file more user-friendly by resurrecting the old init
827358
  script's checks for data directory presence and version match
827358
Resolves: #771496
827358
827358
* Mon Dec  5 2011 Tom Lane <tgl@redhat.com> 9.1.2-1
827358
- Update to PostgreSQL 9.1.2, for various fixes described at
827358
  http://www.postgresql.org/docs/9.1/static/release-9-1-2.html
827358
827358
* Wed Nov 02 2011 Honza Horak <hhorak@redhat.com> 9.1.1-2
827358
- Create a symlink of pg_regress instead of full copy;
827358
  Don't strip symbols from regress libs
827358
Related: #729012
827358
827358
* Mon Sep 26 2011 Tom Lane <tgl@redhat.com> 9.1.1-1
827358
- Update to PostgreSQL 9.1.1, for various fixes described at
827358
  http://www.postgresql.org/docs/9.1/static/release-9-1-1.html
827358
- Enable build (but not test) of contrib/sepgsql
827358
- Clean up specfile build options so that turning options off works again
827358
827358
* Mon Sep 12 2011 Tom Lane <tgl@redhat.com> 9.1.0-1
827358
- Update to PostgreSQL 9.1.0 (major version bump);
827358
  in-place upgrade support now works from 9.0.x as the previous version
827358
827358
* Wed Jul 27 2011 Tom Lane <tgl@redhat.com> 9.0.4-8
827358
- Convert to systemd startup support
827358
Resolves: #696427
827358
827358
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 9.0.4-7
827358
- Perl mass rebuild
827358
827358
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 9.0.4-6
827358
- Perl mass rebuild
827358
827358
* Wed Jul  6 2011 Tom Lane <tgl@redhat.com> 9.0.4-5
827358
- Remove erroneously-included Default-Start line from LSB init block
827358
Related: #717024
827358
827358
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> 9.0.4-4
827358
- Perl mass rebuild
827358
- incorporate upstream patch to make it build with Perl 5.14
827358
827358
* Fri Jun 10 2011 Tom Lane <tgl@redhat.com> 9.0.4-3
827358
- Work around gcc 4.6.0 bug (temporary backport from next upstream release)
827358
827358
* Tue May 10 2011 Tom Lane <tgl@redhat.com> 9.0.4-2
827358
- Add LSB init block to initscript, to ensure sane ordering at system boot
827358
Resolves: #703215
827358
827358
* Mon Apr 18 2011 Tom Lane <tgl@redhat.com> 9.0.4-1
827358
- Update to PostgreSQL 9.0.4, for various fixes described at
827358
  http://www.postgresql.org/docs/9.0/static/release-9-0-4.html
827358
- Add %%{?_isa} to cross-subpackage Requires, per latest packaging guidelines
827358
827358
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.0.3-3
827358
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
827358
827358
* Thu Feb  3 2011 Tom Lane <tgl@redhat.com> 9.0.3-2
827358
- Remove filter-requires-perl-Pg.sh, which doesn't seem to be needed now that
827358
  PyGreSQL has been split out; and our use of it isn't compatible with rpm 4.9
827358
  anyway
827358
827358
* Tue Feb  1 2011 Tom Lane <tgl@redhat.com> 9.0.3-1
827358
- Update to PostgreSQL 9.0.3, for various fixes described at
827358
  http://www.postgresql.org/docs/9.0/static/release-9-0-3.html
827358
  including the fix for CVE-2010-4015
827358
Resolves: #674296
827358
827358
* Tue Dec 28 2010 Tom Lane <tgl@redhat.com> 9.0.2-1
827358
- Update to PostgreSQL 9.0.2 (major version bump)
827358
- Create infrastructure for in-place database upgrade using pg_upgrade
827358
Resolves: #398221
827358
827358
* Thu Dec 16 2010 Tom Lane <tgl@redhat.com> 8.4.6-1
827358
- Update to PostgreSQL 8.4.6, for various fixes described at
827358
  http://www.postgresql.org/docs/8.4/static/release-8-4-6.html
827358
- Ensure we don't package any .gitignore files from the source tarball
827358
Related: #642210
827358
827358
* Tue Oct  5 2010 Tom Lane <tgl@redhat.com> 8.4.5-1
827358
- Update to PostgreSQL 8.4.5, for various fixes described at
827358
  http://www.postgresql.org/docs/8.4/static/release-8-4-5.html
827358
  including the fix for CVE-2010-3433
827358
Related: #639371
827358
- Add -p "$pidfile" to initscript's status call to improve corner cases.
827358
Related: #561010
827358
827358
* Sat Jul 31 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 8.4.4-3
827358
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
827358
- Duplicate COPYRIGHT in -libs subpackage, per revised packaging guidelines
827358
827358
* Wed Jun 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 8.4.4-2
827358
- Mass rebuild with perl-5.12.0
827358
827358
* Mon May 17 2010 Tom Lane <tgl@redhat.com> 8.4.4-1
827358
- Update to PostgreSQL 8.4.4, for various fixes described at
827358
  http://www.postgresql.org/docs/8.4/static/release-8-4-4.html
827358
  including fixes for CVE-2010-1169 and CVE-2010-1170
827358
Resolves: #593032
827358
827358
* Sun Mar 14 2010 Tom Lane <tgl@redhat.com> 8.4.3-1
827358
- Update to PostgreSQL 8.4.3, for various fixes described at
827358
  http://www.postgresql.org/docs/8.4/static/release-8-4-3.html
827358
827358
* Mon Feb 22 2010 Tom Lane <tgl@redhat.com> 8.4.2-8
827358
- Bring init script into some modicum of compliance with Fedora/LSB standards
827358
Resolves: #201043
827358
827358
* Thu Feb 18 2010 Tom "spot" Callaway <tcallawa@redhat.com> 8.4.2-7
827358
- adjust license tag to reflect OSI decision
827358
827358
* Tue Jan 26 2010 Tom Lane <tgl@redhat.com> 8.4.2-6
827358
- Emit explicit error message if user tries to build RPM as root
827358
Related: #558921
827358
827358
* Wed Jan 20 2010 Tom Lane <tgl@redhat.com> 8.4.2-5
827358
- Latest version of systemtap needs the probes.o file to be built again
827358
Resolves: #557266
827358
- Provide script and instructions for building the documentation PDF
827358
827358
* Mon Jan 11 2010 Tom Lane <tgl@redhat.com> 8.4.2-4
827358
- Arrange for the postmaster, but not any of its child processes, to be run
827358
  with oom_adj -17.  This compensates for the OOM killer not being smart about
827358
  accounting for shared memory usage.
827358
827358
* Sat Jan  9 2010 Tom Lane <tgl@redhat.com> 8.4.2-3
827358
- Remove the postgresql-python and postgresql-tcl subpackages.  These files
827358
  are now broken out as their own packages (PyGreSQL and tcl-pgtcl,
827358
  respectively), to reflect the now longstanding split of upstream projects.
827358
Related: #452306, #452321
827358
827358
* Tue Jan  5 2010 Tom Lane <tgl@redhat.com> 8.4.2-2
827358
- Remove static libraries (.a files) from package, per packaging guidelines
827358
- Change %%define to %%global, per packaging guidelines
827358
827358
* Wed Dec 16 2009 Tom Lane <tgl@redhat.com> 8.4.2-1
827358
- Update to PostgreSQL 8.4.2, for various fixes described at
827358
  http://www.postgresql.org/docs/8.4/static/release-8-4-2.html
827358
  including two security issues
827358
Related: #546321
827358
Related: #547662
827358
- Use -N not the obsolete -n in useradd call
827358
Resolves: #495727
827358
- Clean up specfile to eliminate rpmlint gripes, mainly by removing
827358
  no-longer-needed provisions for superseding rh-postgresql
827358
827358
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 8.4.1-5
827358
- rebuild against perl 5.10.1
827358
827358
* Thu Oct 15 2009 Tom Lane <tgl@redhat.com> 8.4.1-4
827358
- add sparc/sparc64 to multilib header support
827358
827358
* Mon Sep 21 2009 Tom Lane <tgl@redhat.com> 8.4.1-3
827358
- Ensure pgstartup.log gets the right ownership/permissions during initdb
827358
Resolves: #498959
827358
827358
* Wed Sep 16 2009 Tomas Mraz <tmraz@redhat.com> - 8.4.1-2
827358
- Use password-auth common PAM configuration instead of system-auth
827358
827358
* Wed Sep  9 2009 Tom Lane <tgl@redhat.com> 8.4.1-1
827358
- Update to PostgreSQL 8.4.1, for various fixes described at
827358
  http://www.postgresql.org/docs/8.4/static/release-8-4-1.html
827358
  including two security issues
827358
Related: #522085
827358
Related: #522092
827358
827358
* Tue Sep 01 2009 Karsten Hopp <karsten@redhat.com> 8.4.0-3.2
827358
- bump release and build again with the correct libssl
827358
827358
* Tue Sep 01 2009 Karsten Hopp <karsten@redhat.com> 8.4.0-3.1
827358
- disable dtrace on s390x as a workaround until #520469 has been fixed
827358
827358
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 8.4.0-3
827358
- rebuilt with new openssl
827358
827358
* Thu Aug 20 2009 Tom "spot" Callaway <tcallawa@redhat.com> 8.4.0-2
827358
- update License tag to MIT (PostgreSQL calls it "BSD", but it is MIT)
827358
- Note: This changes nothing from a license compatibility perspective.
827358
827358
* Mon Aug 17 2009 Tom Lane <tgl@redhat.com> 8.4.0-1
827358
- Update to PostgreSQL 8.4.0.  See release notes at
827358
  http://www.postgresql.org/docs/8.4/static/release-8-4.html
827358
827358
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.3.7-2
827358
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
827358
827358
* Sat Mar 21 2009 Tom Lane <tgl@redhat.com> 8.3.7-1
827358
- Update to PostgreSQL 8.3.7, for various fixes described at
827358
  http://www.postgresql.org/docs/8.3/static/release-8-3-7.html
827358
  notably the fix for CVE-2009-0922
827358
827358
* Tue Mar 10 2009 Tom Lane <tgl@redhat.com> 8.3.6-4
827358
- Prevent dependent packages from needing to include sys/sdt.h
827358
  (unintended side effect of previous patch)
827358
- Use -O1 on alpha, per report from Oliver Falk; -O2 tickles gcc bugs
827358
827358
* Sun Mar  8 2009 Tom Lane <tgl@redhat.com> 8.3.6-3
827358
- Enable tracing via systemtap
827358
Resolves: #488941
827358
827358
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.3.6-2
827358
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
827358
827358
* Sat Feb  7 2009 Tom Lane <tgl@redhat.com> 8.3.6-1
827358
- Update to PostgreSQL 8.3.6, for various fixes described at
827358
  http://www.postgresql.org/docs/8.3/static/release-8-3-6.html
827358
827358
* Wed Jan 21 2009 Dennis Gilmore <dennis@ausil.us> 8.3.5-4
827358
- use -O1 on sparc64
827358
827358
* Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 8.3.5-3
827358
- rebuild with new openssl
827358
827358
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 8.3.5-2
827358
- Rebuild for Python 2.6
827358
827358
* Sun Nov  2 2008 Tom Lane <tgl@redhat.com> 8.3.5-1
827358
- Update to PostgreSQL 8.3.5.
827358
- Improve display from init script's initdb action, per Michael Schwendt
827358
827358
* Thu Sep 25 2008 Tom Lane <tgl@redhat.com> 8.3.4-1
827358
- Update to PostgreSQL 8.3.4.
827358
827358
* Mon Jul 28 2008 Tom Lane <tgl@redhat.com> 8.3.3-3
827358
- Fix build failure caused by new default patch fuzz = 0 policy in rawhide.
827358
827358
* Fri Jun 20 2008 Tom Lane <tgl@redhat.com> 8.3.3-2
827358
- Install Pgtcl in /usr/lib/tcl$TCL_VERSION, not directly in /usr/lib.
827358
  Needed because tcl 8.5 no longer puts /usr/lib into its package search path.
827358
  NOTE: do not back-port this change into branches using pre-8.5 tcl, because
827358
  /usr/lib/tcl8.4 had been a symlink to /usr/share/tcl8.4, and /usr/share
827358
  is exactly where we must not put Pgtcl.
827358
Resolves: #228263
827358
827358
* Wed Jun 11 2008 Tom Lane <tgl@redhat.com> 8.3.3-1
827358
- Update to PostgreSQL 8.3.3.
827358
- Remove postgresql-prefer-ncurses.patch, no longer needed in recent
827358
  Fedora releases because libtermcap is gone.
827358
827358
* Sat May 17 2008 Tom Lane <tgl@redhat.com> 8.3.1-5
827358
- rebuild because of buildsystem hiccup
827358
827358
* Sat May 17 2008 Tom Lane <tgl@redhat.com> 8.3.1-4
827358
- Enable LDAP support
827358
Resolves: #445315
827358
- Use -Wl,--as-needed to suppress bogus dependencies for libraries that
827358
  are really only needed by some of the subpackages
827358
827358
* Mon Apr 28 2008 Tom Lane <tgl@redhat.com> 8.3.1-3
827358
- Fix build breakage on PPC due to incorrect configure test
827358
Related: #444317
827358
827358
* Sat Apr 26 2008 Tom Lane <tgl@redhat.com> 8.3.1-2
827358
- Clean up cross-subpackage Requires: to ensure that updating any one
827358
  subpackage brings in the matching versions of others.
827358
Resolves: #444271
827358
827358
* Tue Mar 25 2008 Tom Lane <tgl@redhat.com> 8.3.1-1
827358
- Update to PostgreSQL 8.3.1.
827358
827358
* Tue Mar 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> 8.3.0-3
827358
- add Requires for versioned perl (libperl.so)
827358
827358
* Wed Feb  6 2008 Tom Lane <tgl@redhat.com> 8.3.0-2
827358
- Enable the new GSSAPI support in 8.3.0.
827358
827358
* Mon Feb  4 2008 Tom Lane <tgl@redhat.com> 8.3.0-1
827358
- Update to PostgreSQL 8.3.0.
827358
827358
* Fri Jan 18 2008 Tom Lane <tgl@redhat.com> 8.3RC2-1
827358
- Update to PostgreSQL 8.3RC2 (not waiting for 8.3.0 because Fedora 9 alpha
827358
  should be 8.3-based not 8.2-based).
827358
- Update to pgtcl 1.6.2
827358
827358
* Mon Jan  7 2008 Tom Lane <tgl@redhat.com> 8.2.6-1
827358
- Update to PostgreSQL 8.2.6 to fix CVE-2007-4769, CVE-2007-4772,
827358
  CVE-2007-6067, CVE-2007-6600, CVE-2007-6601
827358
- Make initscript and pam config files be installed unconditionally;
827358
  seems new buildroots don't necessarily have those directories in place
827358
827358
* Wed Dec  5 2007 Tom Lane <tgl@redhat.com> 8.2.5-2
827358
- Rebuild for new openssl
827358
827358
* Thu Sep 20 2007 Tom Lane <tgl@redhat.com> 8.2.5-1
827358
- Update to PostgreSQL 8.2.5 and pgtcl 1.6.0
827358
827358
* Tue Sep  4 2007 Tom Lane <tgl@redhat.com> 8.2.4-6
827358
- Fix multilib problem for /usr/include/ecpg_config.h (which is new in 8.2.x)
827358
827358
* Sat Aug 25 2007 Tom Lane <tgl@redhat.com> 8.2.4-5
827358
- Use nicer solution for tzdata file substitution: upstream discussion
827358
  concluded that hardwiring the path was better than a symlink after all.
827358
827358
* Wed Aug 22 2007 Tom Lane <tgl@redhat.com> 8.2.4-4
827358
- Use tzdata package's data files instead of private copy, so that
827358
  postgresql-server need not be turned for routine timezone updates
827358
- Don't remove postgres user/group during RPM uninstall, per Fedora
827358
  packaging guidelines
827358
- Seems we need an explicit BuildRequires on gawk now
827358
- Rebuild to fix Fedora toolchain issues
827358
827358
* Sun Aug 12 2007 Tom Lane <tgl@redhat.com> 8.2.4-3
827358
- Recent perl changes in rawhide mean we need a more specific BuildRequires
827358
827358
* Wed Jun 20 2007 Tom Lane <tgl@redhat.com> 8.2.4-2
827358
- Fix oversight in postgresql-test makefile: pg_regress isn't a shell script
827358
  anymore.  Per upstream bug 3398.
827358
827358
* Tue Apr 24 2007 Tom Lane <tgl@redhat.com> 8.2.4-1
827358
- Update to PostgreSQL 8.2.4 for CVE-2007-2138, data loss bugs
827358
Resolves: #237682
827358
827358
* Wed Feb 14 2007 Karsten Hopp <karsten@redhat.com> 8.2.3-2
827358
- rebuild with tcl-8.4
827358
827358
* Wed Feb  7 2007 Tom Lane <tgl@redhat.com> 8.2.3-1
827358
- Update to PostgreSQL 8.2.3 due to regression induced by security fix
827358
Resolves: #227522
827358
827358
* Sun Feb  4 2007 Tom Lane <tgl@redhat.com> 8.2.2-1
827358
- Update to PostgreSQL 8.2.2 to fix CVE-2007-0555, CVE-2007-0556
827358
Related: #225496
827358
827358
* Fri Jan 12 2007 Tom Lane <tgl@redhat.com> 8.2.1-2
827358
- Split -pl subpackage into three new packages to reduce dependencies
827358
  and track upstream project's packaging.
827358
827358
* Wed Jan 10 2007 Tom Lane <tgl@redhat.com> 8.2.1-1
827358
- Update to PostgreSQL 8.2.1
827358
- Update to pgtcl 1.5.3
827358
- Be sure we link to libncurses, not libtermcap which is disappearing in Fedora
827358
827358
* Thu Dec  7 2006 Jeremy Katz <katzj@redhat.com> - 8.2.0-2
827358
- rebuild for python 2.5
827358
827358
* Mon Dec  4 2006 Tom Lane <tgl@redhat.com> 8.2.0-1
827358
- Update to PostgreSQL 8.2.0
827358
- Update to PyGreSQL 3.8.1
827358
- Fix chcon arguments in test/regress/Makefile
827358
Related: #201035
827358
- Adjust init script to not fool /etc/rc.d/rc
827358
Resolves: #161470
827358
- Change init script to not do initdb automatically, but require
827358
  manual "service postgresql initdb" for safety.  Per upstream discussions.
827358
827358
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 8.1.4-1.1
827358
- rebuild
827358
827358
* Mon May 22 2006 Tom Lane <tgl@redhat.com> 8.1.4-1
827358
- Update to PostgreSQL 8.1.4 (includes fixes for CVE-2006-2313, CVE-2006-2314;
827358
  see bug #192173)
827358
- Update to PyGreSQL 3.8
827358
- Suppress noise from chcon, per bug #187744
827358
827358
* Mon Mar 27 2006 Tom Lane <tgl@redhat.com> 8.1.3-2
827358
- Remove JDBC from this build; we will package it as separate SRPM
827358
827358
* Mon Feb 13 2006 Jesse Keating <jkeating@redhat.com> - 8.1.3-1.1
827358
- rebump for build order issues during double-long bump
827358
827358
* Mon Feb 13 2006 Tom Lane <tgl@redhat.com> 8.1.3-1
827358
- Update to PostgreSQL 8.1.3 (fixes bug #180617, CVE-2006-0553)
827358
- Update to jdbc driver build 405
827358
- Modify multilib header hack to not break non-RH arches, per bug #177564
827358
827358
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 8.1.2-1.1
827358
- rebuilt for new gcc4.1 snapshot and glibc changes
827358
827358
* Mon Jan  9 2006 Tom Lane <tgl@redhat.com> 8.1.2-1
827358
- Update to PostgreSQL 8.1.2
827358
- Repair extraneous quote in pgtcl configure script ... odd that bash
827358
  didn't use to spit up on this.
827358
827358
* Thu Dec 15 2005 Tom Lane <tgl@redhat.com> 8.1.1-3
827358
- fix pg_config.h for 64-bit and ppc platforms
827358
- update Makefile.regress (needs to --load-language=plpgsql)
827358
827358
* Wed Dec 14 2005 Tom Lane <tgl@redhat.com> 8.1.1-2
827358
- oops, looks like we want uname -i not uname -m
827358
827358
* Wed Dec 14 2005 Tom Lane <tgl@redhat.com> 8.1.1-1
827358
- Update to PostgreSQL 8.1.1
827358
- Make pg_config.h architecture-independent for multilib installs;
827358
  put the original pg_config.h into pg_config_$ARCH.h
827358
827358
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
827358
- rebuilt
827358
827358
* Sat Nov 12 2005 Tom Lane <tgl@redhat.com> 8.1.0-4
827358
- Update included PDF-format manual to 8.1.
827358
827358
* Wed Nov  9 2005 Tom Lane <tgl@redhat.com> 8.1.0-3
827358
- Rebuild due to openssl library update.
827358
827358
* Wed Nov  9 2005 Tom Lane <tgl@redhat.com> 8.1.0-2
827358
- Rebuild due to openssl library update.
827358
827358
* Mon Nov  7 2005 Tom Lane <tgl@redhat.com> 8.1.0-1
827358
- Update to PostgreSQL 8.1.0, PyGreSQL 3.7, and jdbc driver build 404
827358
- Fix PAM config file (must have account not only auth) (bug #167040)
827358
- Add BuildPrereq: libxslt-devel (bug #170141)
827358
- Sync with PGDG SRPM as much as feasible
827358
827358
* Fri Oct 14 2005 Tomas Mraz <tmraz@redhat.com>
827358
- use include instead of pam_stack in pam config
827358
827358
* Tue Oct  4 2005 Tom Lane <tgl@redhat.com> 8.0.4-2
827358
- Add rpath to plperl.so (bug #162198)
827358
827358
* Tue Oct  4 2005 Tom Lane <tgl@redhat.com> 8.0.4-1
827358
- Update to PostgreSQL 8.0.4, PyGreSQL 3.6.2, and jdbc driver build 312
827358
- Adjust pgtcl link command to ensure it binds to correct libpq (bug #166665)
827358
- Remove obsolete Conflicts: against other python versions (bug #166754)
827358
- Add /etc/pam.d/postgresql (bug #167040)
827358
- Include contrib/xml2 in build (bug #167492)
827358
827358
* Tue May 10 2005 Tom Lane <tgl@redhat.com> 8.0.3-1
827358
- Update to PostgreSQL 8.0.3 (includes security and data-loss fixes; see
827358
  bz#156727, CAN-2005-1409, CAN-2005-1410)
827358
- Update to jdbc driver build 311
827358
- Recreate postgres user after superseding an rh-postgresql install (bug #151911)
827358
- Ensure postgresql server is restarted if running during an upgrade
827358
827358
* Thu Apr 14 2005 Florian La Roche <laroche@redhat.com> 8.0.2-2
827358
- rebuild for postgresql-tcl
827358
827358
* Tue Apr 12 2005 Tom Lane <tgl@redhat.com> 8.0.2-1
827358
- Update to PostgreSQL 8.0.2.
827358
827358
* Fri Mar 11 2005 Tom Lane <tgl@redhat.com> 8.0.1-5
827358
- Remove unwanted rpath specification from pgtcl (bz#150649)
827358
827358
* Wed Mar  2 2005 Tom Lane <tgl@redhat.com> 8.0.1-4
827358
- Attach Obsoletes: declarations for rh-postgresql to subpackages (bz#144435)
827358
- Make Requires: and Prereq: package linkages specify release not only
827358
  version, as per recent mailing list discussion.
827358
827358
* Tue Mar  1 2005 Tomas Mraz <tmraz@redhat.com> 8.0.1-3
827358
- rebuild with openssl-0.9.7e
827358
827358
* Mon Feb 21 2005 Tom Lane <tgl@redhat.com> 8.0.1-2
827358
- Repair improper error message in init script when PGVERSION doesn't match.
827358
- Arrange for auto update of version embedded in init script.
827358
827358
* Sun Jan 30 2005 Tom Lane <tgl@redhat.com> 8.0.1-1
827358
- Update to PostgreSQL 8.0.1.
827358
- Add versionless symlinks to jar files (bz#145744)
827358
827358
* Wed Jan 19 2005 Tom Lane <tgl@redhat.com> 8.0.0-1
827358
- Update to PostgreSQL 8.0.0, PyGreSQL 3.6.1, pgtcl 1.5.2,
827358
  and jdbc driver build 309.
827358
- Extensive cleanout of obsolete cruft in patch set.
827358
- Regression tests are run during RPM build (NOTE: cannot build as root when
827358
  this is enabled).
827358
- Postmaster stderr goes someplace useful, not /dev/null (bz#76503, #103767)
827358
- Make init script return a useful exit status (bz#80782)
827358
- Move docs' tutorial directory to %%{_libdir}/pgsql/tutorial, since it
827358
  includes .so files that surely do not belong under /usr/share.
827358
- Remove useless .sgml files from docs RPM (bz#134450)
827358
- Put regression tests under /usr/lib64 on 64-bit archs, since .so files
827358
  are not architecture-independent.
827358
827358
* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> 7.4.6-5
827358
- Rebuilt for new readline.
827358
827358
* Tue Jan 11 2005 Dan Walsh <dwalsh@redhat.com> 7.4.6-4
827358
- Add restorecon to postgresql.init in order to restore database to correct
827358
- SELinux context.
827358
827358
* Thu Dec 16 2004 Tom Lane <tgl@redhat.com> 7.4.6-3
827358
- Update to PyGreSQL 3.6 (to fix bug #142711)
827358
- Adjust a few file permissions (bug #142431)
827358
- Assign %%{_libdir}/pgsql to base package instead of -server (bug #74003)
827358
827358
* Mon Nov 15 2004 Tom Lane <tgl@redhat.com> 7.4.6-2
827358
- Rebuild so python components play with python 2.4 (bug 139160)
827358
827358
* Sat Oct 23 2004 Tom Lane <tgl@redhat.com> 7.4.6-1
827358
- Update to PostgreSQL 7.4.6 (bugs 136947, 136949)
827358
- Make init script more paranoid about mkdir step of initializing a new
827358
  database (bugs 136947, 136949)
827358
827358
* Wed Oct 20 2004 Tom Lane <tgl@redhat.com> 7.4.5-4
827358
- Remove contrib/oidjoins stuff from installed fileset; it's of no use
827358
  to ordinary users and has a security issue (bugs 136300, 136301)
827358
- adjust chkconfig priority (bug 128852)
827358
827358
* Tue Oct 05 2004 Tom Lane <tgl@redhat.com> 7.4.5-3
827358
- Solve the stale lockfile problem (bugs 71295, 96981, 134090)
827358
- Use runuser instead of su for SELinux (bug 134588)
827358
827358
* Mon Aug 30 2004 Tom Lane <tgl@redhat.com> 7.4.5-2
827358
- Update to PyGreSQL 3.5.
827358
827358
* Tue Aug 24 2004 Tom Lane <tgl@redhat.com> 7.4.5-1
827358
- Update to PostgreSQL 7.4.5.
827358
- Update JDBC jars to driver build 215.
827358
- Add Obsoletes: entries for rh-postgresql packages, per bug 129278.
827358
827358
* Sat Jul 10 2004 Tom Lane <tgl@redhat.com> 7.4.3-3
827358
- Undo ill-considered chkconfig change that causes server to start
827358
  immediately upon install.  Mea culpa (bug 127552).
827358
827358
* Sat Jul 03 2004 Tom Lane <tgl@redhat.com> 7.4.3-2
827358
- Update JDBC jars to driver build 214.
827358
827358
* Wed Jun 23 2004 Tom Lane <tgl@redhat.com> 7.4.3-1
827358
- Update to PostgreSQL 7.4.3.
827358
- Uninstalling server RPM stops postmaster first, per bug 114846.
827358
- Fix su commands to not assume PG user's shell is sh-like, per bug 124024.
827358
- Fix permissions on postgresql-python doc files, per bug 124822.
827358
- Minor postgresql.init improvements.
827358
827358
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
827358
- rebuilt
827358
827358
* Wed Mar 10 2004 Tom Lane <tgl@redhat.com> 7.4.2-1
827358
- Update to PostgreSQL 7.4.2; sync with community SRPM as much as possible.
827358
- Support PGOPTS from /etc/sysconfig/pgsql, per bug 111504.
827358
- Fix permissions on /etc/sysconfig/pgsql, per bug 115278.
827358
- SELinux patch in init file: always su 
827358
- Rebuilt
827358
827358
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
827358
- rebuilt
827358
827358
* Wed Feb 25 2004 Tom Lane <tgl@redhat.com>
827358
- Update to PostgreSQL 7.4.1.
827358
- Rebuilt
827358
827358
* Tue Feb 24 2004 Tom Lane <tgl@redhat.com>
827358
- Fix chown syntax in postgresql.init also.
827358
- Rebuilt
827358
827358
* Mon Feb 23 2004 Tim Waugh <twaugh@redhat.com>
827358
- Use ':' instead of '.' as separator for chown.
827358
827358
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
827358
- rebuilt
827358
827358
* Fri Jan 9 2004 Lamar Owen <lowen@pari.edu>
827358
- 7.4.1-1PGDG
827358
- Merge Sander Steffann's changes up to 7.4-0.5PGDG
827358
- Proper 7.4.1 JDBC jars this time.
827358
- Patch for no pl/python from Alvaro
827358
827358
* Fri Dec 05 2003 David Jee <djee@redhat.com> 7.4-5
827358
- Rebuild for Perl 5.8.2.
827358
827358
* Mon Dec 01 2003 David Jee <djee@redhat.com> 7.4-4
827358
- Add PyGreSQL patch for deprecated column pg_type.typprtlen [Bug #111263]
827358
- Add headers patch which moves ecpg headers to /usr/include/ecpg
827358
  [Bug #111195]
827358
827358
* Fri Nov 28 2003 David Jee <djee@redhat.com> 7.4-3
827358
- uncomment buildrequires tcl-devel
827358
827358
* Fri Nov 28 2003 David Jee <djee@redhat.com> 7.4-2
827358
- rebuild
827358
827358
* Mon Nov 24 2003 David Jee <djee@redhat.com> 7.4-1
827358
- initial Red Hat build
827358
- move jars to /usr/share/java
827358
- fix rpm-multilib patch to use sysconfig
827358
827358
* Fri Nov 21 2003 Lamar Owen <lowen@pari.edu> <lamar.owen@wgcr.org>
827358
- 7.4-0.1PGDG
827358
- Development JDBC jars in addition to the 7.3 jars; will replace the
827358
- 7.3 jars once 7.4 official jars are released.
827358
- Changed to use the bzip2 source to save a little size.
827358
- Removed some commented out portions of the specfile.
827358
- Removed the 7.3.4 PDF docs.  Will replace with 7.4 PDF's once they
827358
- are ready.
827358
827358
* Tue Nov 18 2003 Kaj J. Niemi <kajtzu@fi.basen.net> 7.4-0.1
827358
- 7.4
827358
- Fixed Patch #1 (now rpm-pgsql-7.4.patch)
827358
- Fixed Patch #2 (now rpm-multilib-7.4.patch):
827358
- Patch #4 is unnecessary (upstream)
827358
- Fixed Patch #6 (now postgresql-7.4-src-tutorial.patch)
827358
- Added Patch #8 (postgresql-7.4-com_err.patch) as com_err()
827358
  is provided by e2fsprogs and CPPFLAGS gets lost somewhere
827358
  inside configure (bad macro?)
827358
- No 7.4 PDF docs available yet (Source #17)
827358
- PyGreSQL is separated from the upstream distribution but
827358
  we include it as usual (Source #18)
827358
- Default to compiling libpq and ECPG as fully thread-safe
827358
827358
- 7.4 Origin.  See previous spec files for previous history. Adapted
827358
- from Red Hat and PGDG's 7.3.4 RPM, directly descended from 
827358
- postgresql-7.3.4-2 as shipped in Fedora Core 1.