Blame SPECS/postgresql.spec

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