Blame SPECS/postgresql.spec

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