Blame SPECS/postgresql.spec

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