80b1cae
# This is the PostgreSQL Global Development Group Official RPMset spec file,
80b1cae
# or a derivative thereof.
084ca74
# Copyright 2003-2009 Lamar Owen <lowen@pari.edu> <lamar.owen@wgcr.org>
1ade253
# and others listed.                 ** vi: ts=4 sw=4 noexpandtab nosmarttab
80b1cae
80b1cae
# Major Contributors:
80b1cae
# ---------------
80b1cae
# Lamar Owen
80b1cae
# Trond Eivind Glomsrd <teg@redhat.com>
80b1cae
# Thomas Lockhart
80b1cae
# Reinhard Max
80b1cae
# Karl DeBisschop
80b1cae
# Peter Eisentraut
80b1cae
# Joe Conway
80b1cae
# Andrew Overholt
80b1cae
# David Jee
80b1cae
# Kaj J. Niemi
80b1cae
# Sander Steffann
80b1cae
# Tom Lane
80b1cae
# and others in the Changelog....
80b1cae
Tom Lane 13cd21d
# This spec file and ancillary files are licensed in accordance with
80b1cae
# The PostgreSQL license.
80b1cae
084ca74
# In this file you can find the default build package list macros.
084ca74
# These can be overridden by defining on the rpm command line:
80b1cae
# rpm --define 'packagename 1' .... to force the package to build.
80b1cae
# rpm --define 'packagename 0' .... to force the package NOT to build.
Tom Lane 13cd21d
# The base package, the libs package, the devel package, and the server package
084ca74
# always get built.
cvsdist c205ec8
cb07b6b
%{!?beta:%global beta 0}
a6a1e9b
%{?beta:%global __os_install_post /usr/lib/rpm/brp-compress}
a6a1e9b
a6a1e9b
%{!?test:%global test 1}
Tom Lane 4753f36
%{!?upgrade:%global upgrade 1}
a6a1e9b
%{!?plpython:%global plpython 1}
Tom Lane 73e3a6a
%if 0%{?fedora} > 12
Tom Lane 795d3d1
%{!?plpython3:%global plpython3 1}
Tom Lane 73e3a6a
%else
Tom Lane 73e3a6a
%{!?plpython3:%global plpython3 0}
Tom Lane 73e3a6a
%endif
a6a1e9b
%{!?pltcl:%global pltcl 1}
a6a1e9b
%{!?plperl:%global plperl 1}
a6a1e9b
%{!?ssl:%global ssl 1}
a6a1e9b
%{!?kerberos:%global kerberos 1}
a6a1e9b
%{!?ldap:%global ldap 1}
a6a1e9b
%{!?nls:%global nls 1}
a6a1e9b
%{!?uuid:%global uuid 1}
a6a1e9b
%{!?xml:%global xml 1}
a6a1e9b
%{!?pam:%global pam 1}
a6a1e9b
%{!?sdt:%global sdt 1}
Tom Lane 13cd21d
%{!?selinux:%global selinux 1}
a6a1e9b
%{!?runselftest:%global runselftest 1}
cvsdist c205ec8
Jozef Mlich 3355515
# By default, patch(1) creates backup files when chunks apply with offsets.
Jozef Mlich 3355515
# Turn that off to ensure such files don't get included in RPMs.
Jozef Mlich 3355515
%global _default_patch_flags --no-backup-if-mismatch
Jozef Mlich 3355515
9124149
# _pkgdocdir is defined in fc20+, remove once f19 is dead
9124149
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
cvsdist c205ec8
4f1d2a0
# https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_of_Additional_RPM_Macros
4f1d2a0
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
4f1d2a0
27a52c7
Summary: PostgreSQL client programs
cvsdist c205ec8
Name: postgresql
Jozef Mlich fd57b14
%global majorversion 9.4
Pavel Kajaba 92923a2
Version: 9.4.8
ab28639
Release: 1%{?dist}
Tom Lane 72893f4
b7fa69b
# The PostgreSQL license is very similar to other MIT licenses, but the OSI
b7fa69b
# recognizes it as an independent license, so we do as well.
b7fa69b
License: PostgreSQL
cvsdist c205ec8
Group: Applications/Databases
Tom Lane 4753f36
Url: http://www.postgresql.org/
Tom Lane 4753f36
Tom Lane 13cd21d
# This number must be NVR-greater than any PG version shipped in F15:
Tom Lane 13cd21d
%global first_systemd_version 0:9.0.99
Tom Lane 13cd21d
Tom Lane 4753f36
# This SRPM includes a copy of the previous major release, which is needed for
Tom Lane 4753f36
# in-place upgrade of an old database.  In most cases it will not be critical
Tom Lane 5f6fb79
# that this be kept up with the latest minor release of the previous series;
Tom Lane 5f6fb79
# but update when bugs affecting pg_dump output are fixed.
Pavel Kajaba 92923a2
%global prevversion 9.3.13
Jozef Mlich fd57b14
%global prevmajorversion 9.3
80b1cae
Jozef Mlich fd57b14
%global setup_version 2.0
c88f76d
cvsdist c205ec8
Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
8d21c7a
# The PDF file is generated by generate-pdf.sh, which see for comments
8d21c7a
Source1: postgresql-%{version}-US.pdf
63cfa0e
# generate-pdf.sh is not used during RPM build, but include for documentation
63cfa0e
Source2: generate-pdf.sh
Tom Lane 4753f36
Source3: ftp://ftp.postgresql.org/pub/source/v%{prevversion}/postgresql-%{prevversion}.tar.bz2
c88f76d
Source4: Makefile.regress
c88f76d
Source5: pg_config.h
c88f76d
Source6: ecpg_config.h
c88f76d
Source9: postgresql.tmpfiles.d
c88f76d
Source10: postgresql.pam
c88f76d
Source11: postgresql-bashprofile
c88f76d
c88f76d
# Temporary location of postgresql-setup.  Development git:
c88f76d
# http://fedorapeople.org/cgit/praiskup/public_git/postgresql-setup.git/
c88f76d
Source12: http://praiskup.fedorapeople.org/proj/postgresql-setup/postgresql-setup-%{setup_version}.tar.gz
80b1cae
c9a55bd
# Those here are just to enforce packagers check that the tarball was downloaded
c9a55bd
# correctly.  Also, this allows us check that packagers-only tarballs do not
c9a55bd
# differ with publicly released ones.
0e04655
Source16: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2.sha256
c9a55bd
Source17: ftp://ftp.postgresql.org/pub/source/v%{prevversion}/postgresql-%{prevversion}.tar.bz2.sha256
0e04655
446c31a
# Comments for these patches are in the patch files.
6e96691
Patch1: rpm-pgsql.patch
Tom Lane 4753f36
Patch2: postgresql-logging.patch
Tom Lane 4753f36
Patch3: postgresql-perl-rpath.patch
Tom Lane 795d3d1
Patch4: postgresql-config-comment.patch
24c5bf3
Patch5: postgresql-var-run-socket.patch
24c5bf3
Patch6: postgresql-man.patch
f9f152f
ca2964b
BuildRequires: perl(ExtUtils::MakeMaker) glibc-devel bison flex gawk help2man
8533877
BuildRequires: perl(ExtUtils::Embed), perl-devel
Tom Lane 72893f4
BuildRequires: readline-devel zlib-devel
Tom Lane 72893f4
BuildRequires: systemd-units
80b1cae
2a1cdc6
%if %plpython
2ee0978
BuildRequires: python-devel
cvsdist c205ec8
%endif
80b1cae
Tom Lane 795d3d1
%if %plpython3
Tom Lane 795d3d1
BuildRequires: python3-devel
Tom Lane 795d3d1
%endif
Tom Lane 795d3d1
2a1cdc6
%if %pltcl
2ee0978
BuildRequires: tcl-devel
cvsdist c205ec8
%endif
80b1cae
cvsdist c205ec8
%if %ssl
2ee0978
BuildRequires: openssl-devel
cvsdist c205ec8
%endif
80b1cae
cvsdist c205ec8
%if %kerberos
2ee0978
BuildRequires: krb5-devel
cvsdist c205ec8
%endif
80b1cae
affd6a0
%if %ldap
affd6a0
BuildRequires: openldap-devel
affd6a0
%endif
affd6a0
cvsdist c205ec8
%if %nls
2ee0978
BuildRequires: gettext >= 0.10.35
cvsdist c205ec8
%endif
80b1cae
8bf3ae4
%if %uuid
8bf3ae4
BuildRequires: uuid-devel
8bf3ae4
%endif
8bf3ae4
32269db
%if %xml
2ee0978
BuildRequires: libxml2-devel libxslt-devel
32269db
%endif
cvsdist c205ec8
80b1cae
%if %pam
2ee0978
BuildRequires: pam-devel
80b1cae
%endif
cvsdist eeda6e6
14d3433
%if %sdt
14d3433
BuildRequires: systemtap-sdt-devel
14d3433
%endif
14d3433
Tom Lane 13cd21d
%if %selinux
Tom Lane 13cd21d
BuildRequires: libselinux-devel
Tom Lane 13cd21d
%endif
Tom Lane 13cd21d
3a834ad
# main package requires -libs subpackage
Tom Lane 2af4178
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
3a834ad
cvsdist c205ec8
%description
Tom Lane 464a98d
PostgreSQL is an advanced Object-Relational database management system (DBMS).
Tom Lane 464a98d
The base postgresql package contains the client programs that you'll need to
Tom Lane 464a98d
access a PostgreSQL DBMS server, as well as HTML documentation for the whole
Tom Lane 464a98d
system.  These client programs can be located on the same machine as the
Tom Lane 464a98d
PostgreSQL server, or on a remote machine that accesses a PostgreSQL server
Tom Lane 464a98d
over a network connection.  The PostgreSQL server can be found in the
Tom Lane 464a98d
postgresql-server sub-package.
Tom Lane 464a98d
cvsdist c205ec8
cvsdist c205ec8
%package libs
2ee0978
Summary: The shared libraries required for any PostgreSQL clients
cvsdist c205ec8
Group: Applications/Databases
27a52c7
Provides: libpq.so = %{version}-%{release}
Tom Lane 72893f4
# for /sbin/ldconfig
Tom Lane 72893f4
Requires(post): glibc
Tom Lane 72893f4
Requires(postun): glibc
cvsdist c205ec8
cvsdist c205ec8
%description libs
cvsdist c205ec8
The postgresql-libs package provides the essential shared libraries for any 
cvsdist c205ec8
PostgreSQL client program or interface. You will need to install this package
cvsdist c205ec8
to use any other PostgreSQL package or any clients that need to connect to a
cvsdist c205ec8
PostgreSQL server.
cvsdist c205ec8
Tom Lane 464a98d
cvsdist c205ec8
%package server
2ee0978
Summary: The programs needed to create and run a PostgreSQL server
cvsdist c205ec8
Group: Applications/Databases
Tom Lane 2af4178
Requires: %{name}%{?_isa} = %{version}-%{release}
Tom Lane 2af4178
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
27a52c7
Requires(pre): /usr/sbin/useradd
Tom Lane 497da8c
# We require this to be present for %%{_prefix}/lib/tmpfiles.d
Tom Lane 497da8c
Requires: systemd-units
Tom Lane 497da8c
# Make sure it's there when scriptlets run, too
Tom Lane 72893f4
Requires(post): systemd-units
Tom Lane 72893f4
Requires(preun): systemd-units
Tom Lane 72893f4
Requires(postun): systemd-units
Tom Lane 72893f4
# This is actually needed for the %%triggerun script but Requires(triggerun)
Tom Lane 72893f4
# is not valid.  We can use post because this particular %%triggerun script
Tom Lane 72893f4
# should fire just after this package is installed.
Tom Lane 72893f4
Requires(post): systemd-sysv
9cc5f20
Requires(post): chkconfig
4f1d2a0
# Packages which provide postgresql plugins should build-require
4f1d2a0
# postgresql-devel and require
4f1d2a0
# postgresql-server(:MODULE_COMPAT_%%{postgresql_major}).
4f1d2a0
# This will automatically guard against incompatible server & plugin
4f1d2a0
# installation (#1008939, #1007840)
4f1d2a0
Provides: %{name}-server(:MODULE_COMPAT_%{majorversion})
cvsdist c205ec8
cvsdist c205ec8
%description server
Tom Lane 464a98d
PostgreSQL is an advanced Object-Relational database management system (DBMS).
Tom Lane 464a98d
The postgresql-server package contains the programs needed to create
cvsdist c205ec8
and run a PostgreSQL server, which will in turn allow you to create
Tom Lane 464a98d
and maintain PostgreSQL databases.
cvsdist c205ec8
cvsdist c205ec8
cvsdist c205ec8
%package docs
cvsdist c205ec8
Summary: Extra documentation for PostgreSQL
cvsdist c205ec8
Group: Applications/Databases
Tom Lane 2af4178
Requires: %{name}%{?_isa} = %{version}-%{release}
a4d772f
# Just for more intuitive documentation installation
a4d772f
Provides: %{name}-doc = %{version}-%{release}
dadd60b
cvsdist c205ec8
%description docs
Tom Lane 464a98d
The postgresql-docs package contains some additional documentation for
084ca74
PostgreSQL.  Currently, this includes the main documentation in PDF format
084ca74
and source files for the PostgreSQL tutorial.
cvsdist c205ec8
dadd60b
cvsdist c205ec8
%package contrib
Tom Lane 464a98d
Summary: Extension modules distributed with PostgreSQL
cvsdist c205ec8
Group: Applications/Databases
Tom Lane 2af4178
Requires: %{name}%{?_isa} = %{version}-%{release}
Tom Lane 2af4178
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
dadd60b
cvsdist c205ec8
%description contrib
Tom Lane 464a98d
The postgresql-contrib package contains various extension modules that are
cvsdist c205ec8
included in the PostgreSQL distribution.
cvsdist c205ec8
cvsdist c205ec8
cvsdist c205ec8
%package devel
2ee0978
Summary: PostgreSQL development header files and libraries
cvsdist c205ec8
Group: Development/Libraries
Tom Lane 2af4178
Requires: %{name}%{?_isa} = %{version}-%{release}
Tom Lane 2af4178
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
cvsdist c205ec8
cvsdist c205ec8
%description devel
cvsdist c205ec8
The postgresql-devel package contains the header files and libraries
cvsdist c205ec8
needed to compile C or C++ applications which will directly interact
Tom Lane 464a98d
with a PostgreSQL database management server.  It also contains the ecpg
Tom Lane 464a98d
Embedded C Postgres preprocessor. You need to install this package if you want
Tom Lane 464a98d
to develop applications which will interact with a PostgreSQL server.
cvsdist c205ec8
Tom Lane 4753f36
Tom Lane 4753f36
%if %upgrade
Tom Lane 4753f36
%package upgrade
Tom Lane 4753f36
Summary: Support for upgrading from the previous major release of PostgreSQL
Tom Lane 4753f36
Group: Applications/Databases
Tom Lane 2af4178
Requires: %{name}-server%{?_isa} = %{version}-%{release}
Tom Lane 2af4178
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Tom Lane 4753f36
Tom Lane 4753f36
%description upgrade
Tom Lane 464a98d
The postgresql-upgrade package contains the pg_upgrade utility and supporting
Tom Lane 464a98d
files needed for upgrading a PostgreSQL database from the previous major
Tom Lane 464a98d
version of PostgreSQL.
Tom Lane 4753f36
%endif
Tom Lane 4753f36
Tom Lane 4753f36
d6ea25d
%if %plperl
d6ea25d
%package plperl
2ee0978
Summary: The Perl procedural language for PostgreSQL
d6ea25d
Group: Applications/Databases
Tom Lane 2af4178
Requires: %{name}-server%{?_isa} = %{version}-%{release}
8533877
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
d6ea25d
d6ea25d
%description plperl
Tom Lane 464a98d
The postgresql-plperl package contains the PL/Perl procedural language,
Tom Lane 464a98d
which is an extension to the PostgreSQL database server.
Tom Lane 464a98d
Install this if you want to write database functions in Perl.
d6ea25d
%endif
d6ea25d
d6ea25d
%if %plpython
d6ea25d
%package plpython
Tom Lane 795d3d1
Summary: The Python2 procedural language for PostgreSQL
cvsdist c205ec8
Group: Applications/Databases
Tom Lane 2af4178
Requires: %{name}-server%{?_isa} = %{version}-%{release}
cvsdist c205ec8
d6ea25d
%description plpython
Tom Lane 464a98d
The postgresql-plpython package contains the PL/Python procedural language,
Tom Lane 464a98d
which is an extension to the PostgreSQL database server.
Tom Lane 795d3d1
Install this if you want to write database functions in Python 2.
Tom Lane 795d3d1
%endif
Tom Lane 795d3d1
Tom Lane 795d3d1
%if %plpython3
Tom Lane 795d3d1
%package plpython3
Tom Lane 795d3d1
Summary: The Python3 procedural language for PostgreSQL
Tom Lane 795d3d1
Group: Applications/Databases
Tom Lane 795d3d1
Requires: %{name}-server%{?_isa} = %{version}-%{release}
Tom Lane 795d3d1
Tom Lane 795d3d1
%description plpython3
Tom Lane 795d3d1
The postgresql-plpython3 package contains the PL/Python3 procedural language,
Tom Lane 795d3d1
which is an extension to the PostgreSQL database server.
Tom Lane 795d3d1
Install this if you want to write database functions in Python 3.
d6ea25d
%endif
d6ea25d
d6ea25d
%if %pltcl
d6ea25d
%package pltcl
2ee0978
Summary: The Tcl procedural language for PostgreSQL
d6ea25d
Group: Applications/Databases
Tom Lane 2af4178
Requires: %{name}-server%{?_isa} = %{version}-%{release}
d6ea25d
d6ea25d
%description pltcl
Tom Lane 795d3d1
The postgresql-pltcl package contains the PL/Tcl procedural language,
Tom Lane 464a98d
which is an extension to the PostgreSQL database server.
Tom Lane 464a98d
Install this if you want to write database functions in Tcl.
cvsdist c205ec8
%endif
cvsdist c205ec8
cvsdist c205ec8
%if %test
cvsdist c205ec8
%package test
2ee0978
Summary: The test suite distributed with PostgreSQL
cvsdist c205ec8
Group: Applications/Databases
Tom Lane 2af4178
Requires: %{name}-server%{?_isa} = %{version}-%{release}
c99f89f
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
cvsdist c205ec8
cvsdist c205ec8
%description test
Tom Lane 464a98d
The postgresql-test package contains files needed for various tests for the
Tom Lane 464a98d
PostgreSQL database management system, including regression tests and
Tom Lane 464a98d
benchmarks.
cvsdist c205ec8
%endif
cvsdist c205ec8
cvsdist c205ec8
%prep
0e04655
( cd %_sourcedir; sha256sum -c %{SOURCE16}; sha256sum -c %{SOURCE17} )
c88f76d
%setup -q -a 12
cvsdist c205ec8
%patch1 -p1
b2169aa
%patch2 -p1
cvsdist c205ec8
%patch3 -p1
Tom Lane 67b8078
%patch4 -p1
Tom Lane 497da8c
%patch5 -p1
Tom Lane 497da8c
%patch6 -p1
cvsdist c205ec8
Tom Lane 4753f36
# We used to run autoconf here, but there's no longer any real need to,
Tom Lane 4753f36
# since Postgres ships with a reasonably modern configure script.
cvsdist c205ec8
Tom Lane d27a983
# add ppc64p7 support (https://fedoraproject.org/wiki/Features/Power7Subarch)
Tom Lane d27a983
# hopefully need for this will go away next time upstream updates config.sub
Tom Lane d27a983
sed -i -e "s/ppc64-\*/ppc64-\* \| ppc64p7-\*/" config/config.sub
Tom Lane d27a983
8d21c7a
cp -p %{SOURCE1} .
cvsdist c205ec8
Tom Lane 4753f36
%if %upgrade
Tom Lane 4753f36
tar xfj %{SOURCE3}
Tom Lane d27a983
# make sure older version is up-to-date on config.guess/config.sub;
Tom Lane d27a983
# not always necessary, but PG 9.2 knows about aarch64 while 9.1 doesn't
Tom Lane d27a983
# (and also see the ppc64p7 hack above)
Tom Lane d27a983
cp -p config/config.guess postgresql-%{prevversion}/config/config.guess
Tom Lane d27a983
cp -p config/config.sub postgresql-%{prevversion}/config/config.sub
Tom Lane 4753f36
24c5bf3
# apply once SOURCE3 is extracted
9d28c85
%endif
0415e33
Tom Lane 6b84484
# remove .gitignore files to ensure none get into the RPMs (bug #642210)
Tom Lane 6b84484
find . -type f -name .gitignore | xargs rm
Tom Lane 6b84484
cvsdist c205ec8
%build
cvsdist c205ec8
1a80a96
# fail quickly and obviously if user tries to build as root
1a80a96
%if %runselftest
1a80a96
	if [ x"`id -u`" = x0 ]; then
1a80a96
		echo "postgresql's regression tests fail if run as root."
1a80a96
		echo "If you really need to build the RPM as root, use"
1a80a96
		echo "--define='runselftest 0' to skip the regression tests."
1a80a96
		exit 1
1a80a96
	fi
1a80a96
%endif
1a80a96
c88f76d
# Building postgresql-setup
c88f76d
c88f76d
cd postgresql-setup-%{setup_version}
c88f76d
c88f76d
export POSTGRES_BIN=%{_bindir}/postgres \
c88f76d
       PG_CTL_BIN=%{_bindir}/pg_ctl \
c88f76d
       PGVERSION=%{version} \
c88f76d
       PGMAJORVERSION=%{majorversion} \
c88f76d
       PGENGINE=%{_bindir} \
c88f76d
       PREVMAJORVERSION=%{prevmajorversion} \
c88f76d
       PREVPGENGINE=%{_libdir}/pgsql/postgresql-%{prevmajorversion}/bin \
c88f76d
       README_DIST=%{_pkgdocdir}/README.rpm-dist \
Jozef Mlich fd57b14
       PKGCONFIG_DIR=%{_sysconfdir}/postgresql 
Jozef Mlich fd57b14
%configure \
Jozef Mlich fd57b14
       --docdir=%{_pkgdocdir}
Jozef Mlich fd57b14
c88f76d
c88f76d
make %{?_smp_mflags}
c88f76d
cd ..
c88f76d
88e98c3
# Fiddling with CFLAGS.
cvsdist c205ec8
88e98c3
CFLAGS="${CFLAGS:-%optflags}"
88e98c3
%ifarch %{power64}
88e98c3
# See the bug #1051075, ppc64 should benefit from -O3
88e98c3
CFLAGS=`echo $CFLAGS | xargs -n 1 | sed 's|-O2|-O3|g' | xargs -n 100`
88e98c3
%endif
cvsdist c205ec8
# Strip out -ffast-math from CFLAGS....
cvsdist c205ec8
CFLAGS=`echo $CFLAGS|xargs -n 1|grep -v ffast-math|xargs -n 100`
Tom Lane 67b8078
# Add LINUX_OOM_SCORE_ADJ=0 to ensure child processes reset postmaster's oom_score_adj
49f074f
# (this define will be useless in Postgres 9.5 and later)
Tom Lane 67b8078
CFLAGS="$CFLAGS -DLINUX_OOM_SCORE_ADJ=0"
88e98c3
export CFLAGS
6e96691
Tom Lane 795d3d1
# plpython requires separate configure/build runs to build against python 2
Tom Lane 795d3d1
# versus python 3.  Our strategy is to do the python 3 run first, then make
Tom Lane 795d3d1
# distclean and do it again for the "normal" build.  Note that the installed
Tom Lane 795d3d1
# Makefile.global will reflect the python 2 build, which seems appropriate
Tom Lane 795d3d1
# since that's still considered the default plpython version.
Tom Lane 795d3d1
%if %plpython3
Tom Lane 795d3d1
Tom Lane 795d3d1
export PYTHON=/usr/bin/python3
Tom Lane 795d3d1
Tom Lane 795d3d1
# These configure options must match main build
Tom Lane 795d3d1
%configure --disable-rpath \
Tom Lane 795d3d1
%if %beta
Tom Lane 795d3d1
	--enable-debug \
Tom Lane 795d3d1
	--enable-cassert \
Tom Lane 795d3d1
%endif
Tom Lane 795d3d1
%if %plperl
Tom Lane 795d3d1
	--with-perl \
Tom Lane 795d3d1
%endif
Tom Lane 795d3d1
%if %pltcl
Tom Lane 795d3d1
	--with-tcl \
Tom Lane 795d3d1
	--with-tclconfig=%{_libdir} \
Tom Lane 795d3d1
%endif
Tom Lane 795d3d1
%if %plpython3
Tom Lane 795d3d1
	--with-python \
Tom Lane 795d3d1
%endif
Tom Lane 795d3d1
%if %ldap
Tom Lane 795d3d1
	--with-ldap \
Tom Lane 795d3d1
%endif
Tom Lane 795d3d1
%if %ssl
Tom Lane 795d3d1
	--with-openssl \
Tom Lane 795d3d1
%endif
Tom Lane 795d3d1
%if %pam
Tom Lane 795d3d1
	--with-pam \
Tom Lane 795d3d1
%endif
Tom Lane 795d3d1
%if %kerberos
Tom Lane 795d3d1
	--with-krb5 \
Tom Lane 795d3d1
	--with-gssapi \
Tom Lane 795d3d1
%endif
Tom Lane 795d3d1
%if %uuid
Tom Lane 795d3d1
	--with-ossp-uuid \
Tom Lane 795d3d1
%endif
Tom Lane 795d3d1
%if %xml
Tom Lane 795d3d1
	--with-libxml \
Tom Lane 795d3d1
	--with-libxslt \
Tom Lane 795d3d1
%endif
Tom Lane 795d3d1
%if %nls
Tom Lane 795d3d1
	--enable-nls \
Tom Lane 795d3d1
%endif
Tom Lane 795d3d1
%if %sdt
Tom Lane 795d3d1
	--enable-dtrace \
Tom Lane 795d3d1
%endif
Tom Lane 795d3d1
%if %selinux
Tom Lane 795d3d1
	--with-selinux \
Tom Lane 795d3d1
%endif
a57d617
	--with-system-tzdata=%{_datadir}/zoneinfo \
a57d617
	--datadir=%{_datadir}/pgsql
Tom Lane 795d3d1
Tom Lane 795d3d1
# Fortunately we don't need to build much except plpython itself
Tom Lane 795d3d1
cd src/backend
Tom Lane 795d3d1
make submake-errcodes
Tom Lane 795d3d1
cd ../..
Tom Lane 795d3d1
cd src/pl/plpython
Tom Lane 795d3d1
make %{?_smp_mflags} all
Tom Lane 795d3d1
cd ..
Tom Lane 795d3d1
# save built form in a directory that "make distclean" won't touch
Tom Lane 795d3d1
cp -a plpython plpython3
Tom Lane 795d3d1
cd ../..
Tom Lane 795d3d1
Tom Lane 795d3d1
# must also save this version of Makefile.global for later
Tom Lane 795d3d1
cp src/Makefile.global src/Makefile.global.python3
Tom Lane 795d3d1
Tom Lane 795d3d1
make distclean
Tom Lane 795d3d1
Tom Lane 795d3d1
%endif
Tom Lane 795d3d1
Tom Lane 795d3d1
unset PYTHON
Tom Lane 795d3d1
Tom Lane 795d3d1
# Normal (not python3) build begins here
Tom Lane 795d3d1
cvsdist c205ec8
%configure --disable-rpath \
cvsdist c205ec8
%if %beta
cvsdist c205ec8
	--enable-debug \
cvsdist c205ec8
	--enable-cassert \
cvsdist c205ec8
%endif
cvsdist c205ec8
%if %plperl
cvsdist c205ec8
	--with-perl \
cvsdist c205ec8
%endif
6e96691
%if %pltcl
cvsdist c205ec8
	--with-tcl \
cvsdist c205ec8
	--with-tclconfig=%{_libdir} \
cvsdist c205ec8
%endif
d6ea25d
%if %plpython
cvsdist c205ec8
	--with-python \
cvsdist c205ec8
%endif
affd6a0
%if %ldap
affd6a0
	--with-ldap \
affd6a0
%endif
cvsdist c205ec8
%if %ssl
cvsdist c205ec8
	--with-openssl \
cvsdist c205ec8
%endif
cvsdist c205ec8
%if %pam
cvsdist c205ec8
	--with-pam \
cvsdist c205ec8
%endif
cvsdist c205ec8
%if %kerberos
6e96691
	--with-krb5 \
1f28b3c
	--with-gssapi \
cvsdist c205ec8
%endif
8bf3ae4
%if %uuid
8bf3ae4
	--with-ossp-uuid \
8bf3ae4
%endif
8bf3ae4
%if %xml
8bf3ae4
	--with-libxml \
8bf3ae4
	--with-libxslt \
8bf3ae4
%endif
cvsdist c205ec8
%if %nls
cvsdist c205ec8
	--enable-nls \
cvsdist c205ec8
%endif
14d3433
%if %sdt
14d3433
	--enable-dtrace \
14d3433
%endif
Tom Lane 13cd21d
%if %selinux
Tom Lane 13cd21d
	--with-selinux \
cvsdist c205ec8
%endif
8bf3ae4
	--with-system-tzdata=/usr/share/zoneinfo \
Tom Lane 6b84484
	--datadir=/usr/share/pgsql
cvsdist c205ec8
Tom Lane 4753f36
make %{?_smp_mflags} world
cvsdist c205ec8
6e96691
# Have to hack makefile to put correct path into tutorial scripts
6e96691
sed "s|C=\`pwd\`;|C=%{_libdir}/pgsql/tutorial;|" < src/tutorial/Makefile > src/tutorial/GNUmakefile
6e96691
make %{?_smp_mflags} -C src/tutorial NO_PGXS=1 all
6e96691
rm -f src/tutorial/GNUmakefile
6e96691
1ade253
test_failure=0
1ade253
1ade253
# run_testsuite WHERE
1ade253
# -------------------
1ade253
# Run 'make check' in WHERE path.  When that command fails, return the logs
1ade253
# given by PostgreSQL build system and set 'test_failure=1'.
1ade253
1ade253
run_testsuite()
1ade253
{
1ade253
	make -C "$1" MAX_CONNECTIONS=5 check && return 0
1ade253
1ade253
	test_failure=1
1ade253
1ade253
	(
1ade253
		set +x
1ade253
		find "$1" -name 'regression.diffs' | \
1ade253
		while read line; do
1ade253
			echo "=== make failure: $line ==="
1ade253
			cat "$line"
1ade253
		done
1ade253
	)
1ade253
}
1ade253
6e96691
%if %runselftest
1ade253
	run_testsuite "src/test/regress"
1ade253
	make clean -C "src/test/regress"
1ade253
	run_testsuite "src/pl"
Tom Lane 795d3d1
%if %plpython3
Tom Lane 795d3d1
	# must install Makefile.global that selects python3
Tom Lane 795d3d1
	mv src/Makefile.global src/Makefile.global.save
Tom Lane 795d3d1
	cp src/Makefile.global.python3 src/Makefile.global
Tom Lane 795d3d1
	touch -r src/Makefile.global.save src/Makefile.global
Tom Lane 795d3d1
	# because "make check" does "make install" on the whole tree,
Tom Lane 795d3d1
	# we must temporarily install plpython3 as src/pl/plpython,
Tom Lane 795d3d1
	# since that is the subdirectory src/pl/Makefile knows about
Tom Lane 795d3d1
	mv src/pl/plpython src/pl/plpython2
Tom Lane 795d3d1
	mv src/pl/plpython3 src/pl/plpython
1ade253
1ade253
	run_testsuite "src/pl/plpython"
1ade253
Tom Lane 795d3d1
	# and clean up our mess
Tom Lane 795d3d1
	mv src/pl/plpython src/pl/plpython3
Tom Lane 795d3d1
	mv src/pl/plpython2 src/pl/plpython
Tom Lane 795d3d1
	mv -f src/Makefile.global.save src/Makefile.global
Tom Lane 795d3d1
%endif
1ade253
	run_testsuite "contrib"
6e96691
%endif
6e96691
1ade253
# "assert(ALL_TESTS_OK)"
1ade253
test "$test_failure" -eq 0
1ade253
6e96691
%if %test
1ade253
	# undo the "make clean" above
1ade253
	make all -C src/test/regress
cvsdist c205ec8
%endif
cvsdist c205ec8
Tom Lane 4753f36
%if %upgrade
Tom Lane 4753f36
	pushd postgresql-%{prevversion}
Tom Lane 4753f36
Tom Lane 4753f36
	# The upgrade build can be pretty stripped-down, but make sure that
Tom Lane 4753f36
	# any options that affect on-disk file layout match the previous
Tom Lane 4753f36
	# major release!  Also, note we intentionally do not use %%configure
Tom Lane 4753f36
	# here, because we *don't* want its ideas about installation paths.
4dafc07
4dafc07
	# The -fno-aggressive-loop-optimizations is hack for #993532
4dafc07
	CFLAGS="$CFLAGS -fno-aggressive-loop-optimizations" ./configure \
4dafc07
		--build=%{_build} \
4dafc07
		--host=%{_host} \
Tom Lane 4753f36
		--prefix=%{_libdir}/pgsql/postgresql-%{prevmajorversion} \
Tom Lane 4753f36
		--disable-rpath \
cb07b6b
%if %beta
cb07b6b
		--enable-debug \
cb07b6b
		--enable-cassert \
cb07b6b
%endif
Tom Lane 4753f36
		--with-system-tzdata=/usr/share/zoneinfo
Tom Lane 4753f36
Tom Lane 4753f36
	make %{?_smp_mflags} all
Tom Lane 4753f36
Tom Lane 4753f36
	popd
Tom Lane 4753f36
%endif
Tom Lane 4753f36
cvsdist c205ec8
%install
cvsdist c205ec8
c88f76d
cd postgresql-setup-%{setup_version}
c88f76d
make install DESTDIR=$RPM_BUILD_ROOT
c88f76d
cd ..
c88f76d
Tom Lane 4753f36
make DESTDIR=$RPM_BUILD_ROOT install-world
cvsdist c205ec8
Tom Lane 795d3d1
%if %plpython3
Tom Lane 795d3d1
	mv src/Makefile.global src/Makefile.global.save
Tom Lane 795d3d1
	cp src/Makefile.global.python3 src/Makefile.global
Tom Lane 795d3d1
	touch -r src/Makefile.global.save src/Makefile.global
Tom Lane 795d3d1
	pushd src/pl/plpython3
Tom Lane 795d3d1
	make DESTDIR=$RPM_BUILD_ROOT install
Tom Lane 795d3d1
	popd
Tom Lane 795d3d1
	mv -f src/Makefile.global.save src/Makefile.global
Tom Lane 795d3d1
%endif
Tom Lane 795d3d1
Tom Lane 3b77faf
# make sure these directories exist even if we suppressed all contrib modules
Tom Lane 3b77faf
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/pgsql/contrib
Tom Lane 3b77faf
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/pgsql/extension
Tom Lane 3b77faf
4f1d2a0
echo "%%%{name}_major %{majorversion}" > macros.%{name}
4f1d2a0
install -D -m 644 macros.%{name} \
ebf59e4
    $RPM_BUILD_ROOT%{macrosdir}/macros.%{name}
4f1d2a0
a15ec21
# multilib header hack; note pg_config.h is installed in two places!
3b6d1bc
# we only apply this to known Red Hat multilib arches, per bug #177564
3b6d1bc
case `uname -i` in
b1315b8
  i386 | x86_64 | ppc | ppc64 | s390 | s390x | sparc | sparc64 )
3b6d1bc
    mv $RPM_BUILD_ROOT/usr/include/pg_config.h $RPM_BUILD_ROOT/usr/include/pg_config_`uname -i`.h
c88f76d
    install -m 644 %{SOURCE5} $RPM_BUILD_ROOT/usr/include/
3b6d1bc
    mv $RPM_BUILD_ROOT/usr/include/pgsql/server/pg_config.h $RPM_BUILD_ROOT/usr/include/pgsql/server/pg_config_`uname -i`.h
c88f76d
    install -m 644 %{SOURCE5} $RPM_BUILD_ROOT/usr/include/pgsql/server/
23226f9
    mv $RPM_BUILD_ROOT/usr/include/ecpg_config.h $RPM_BUILD_ROOT/usr/include/ecpg_config_`uname -i`.h
c88f76d
    install -m 644 %{SOURCE6} $RPM_BUILD_ROOT/usr/include/
3b6d1bc
    ;;
3b6d1bc
  *)
3b6d1bc
    ;;
3b6d1bc
esac
a15ec21
6e96691
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/pgsql/tutorial
Tom Lane d44dce3
cp -p src/tutorial/* $RPM_BUILD_ROOT%{_libdir}/pgsql/tutorial
cvsdist c205ec8
32269db
%if %pam
8d5bd11
install -d $RPM_BUILD_ROOT/etc/pam.d
c88f76d
install -m 644 %{SOURCE10} $RPM_BUILD_ROOT/etc/pam.d/postgresql
32269db
%endif
32269db
Tom Lane 497da8c
# Create the directory for sockets.
Tom Lane 497da8c
install -d -m 755 $RPM_BUILD_ROOT/var/run/postgresql
Tom Lane 497da8c
Tom Lane 497da8c
# ... and make a tmpfiles script to recreate it at reboot.
b6b61d6
mkdir -p $RPM_BUILD_ROOT%{_tmpfilesdir}
c88f76d
install -m 0644 %{SOURCE9} $RPM_BUILD_ROOT%{_tmpfilesdir}/postgresql.conf
Tom Lane 497da8c
cvsdist c205ec8
# PGDATA needs removal of group and world permissions due to pg_pwd hole.
cvsdist c205ec8
install -d -m 700 $RPM_BUILD_ROOT/var/lib/pgsql/data
cvsdist c205ec8
cvsdist c205ec8
# backups of data go here...
cvsdist c205ec8
install -d -m 700 $RPM_BUILD_ROOT/var/lib/pgsql/backups
cvsdist c205ec8
cvsdist c205ec8
# postgres' .bash_profile
c88f76d
install -m 644 %{SOURCE11} $RPM_BUILD_ROOT/var/lib/pgsql/.bash_profile
cvsdist c205ec8
cvsdist c205ec8
Tom Lane 4753f36
%if %upgrade
Tom Lane 4753f36
	pushd postgresql-%{prevversion}
Tom Lane 4753f36
	make DESTDIR=$RPM_BUILD_ROOT install
Tom Lane 4753f36
	popd
Tom Lane 4753f36
Tom Lane 4753f36
	# remove stuff we don't actually need for upgrade purposes
Tom Lane 4753f36
	pushd $RPM_BUILD_ROOT%{_libdir}/pgsql/postgresql-%{prevmajorversion}
Tom Lane 4753f36
	rm bin/clusterdb
Tom Lane 4753f36
	rm bin/createdb
Tom Lane 4753f36
	rm bin/createlang
Tom Lane 4753f36
	rm bin/createuser
Tom Lane 4753f36
	rm bin/dropdb
Tom Lane 4753f36
	rm bin/droplang
Tom Lane 4753f36
	rm bin/dropuser
Tom Lane 4753f36
	rm bin/ecpg
Tom Lane 4753f36
	rm bin/initdb
Tom Lane 795d3d1
	rm bin/pg_basebackup
Tom Lane 4753f36
	rm bin/pg_config
Tom Lane 4753f36
	rm bin/pg_dump
Tom Lane 4753f36
	rm bin/pg_dumpall
Tom Lane 4753f36
	rm bin/pg_restore
Tom Lane 4753f36
	rm bin/psql
Tom Lane 4753f36
	rm bin/reindexdb
Tom Lane 4753f36
	rm bin/vacuumdb
Tom Lane 4753f36
	rm -rf include
Tom Lane 4753f36
	rm lib/dict_snowball.so
Tom Lane 4753f36
	rm lib/libecpg*
Tom Lane 4753f36
	rm lib/libpg*
Tom Lane 4753f36
	rm lib/libpq*
Tom Lane 4753f36
	rm -rf lib/pgxs
Tom Lane 4753f36
	rm lib/plpgsql.so
Tom Lane 4753f36
	rm -rf share/doc
Tom Lane 4753f36
	rm -rf share/man
Tom Lane 4753f36
	rm -rf share/tsearch_data
Tom Lane 4753f36
	rm share/*.bki
Tom Lane 4753f36
	rm share/*description
Tom Lane 4753f36
	rm share/*.sample
Tom Lane 4753f36
	rm share/*.sql
Tom Lane 4753f36
	rm share/*.txt
Tom Lane 4753f36
	popd
Tom Lane 4753f36
%endif
Tom Lane 4753f36
Tom Lane 4753f36
cvsdist c205ec8
%if %test
6e96691
	# tests. There are many files included here that are unnecessary,
6e96691
	# but include them anyway for completeness.  We replace the original
6e96691
	# Makefiles, however.
6e96691
	mkdir -p $RPM_BUILD_ROOT%{_libdir}/pgsql/test
6e96691
	cp -a src/test/regress $RPM_BUILD_ROOT%{_libdir}/pgsql/test
c99f89f
	# pg_regress binary should be only in one subpackage, 
c99f89f
	# there will be a symlink from -test to -devel
c99f89f
	rm -f $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress/pg_regress
c99f89f
	ln -sf ../../pgxs/src/test/regress/pg_regress $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress/pg_regress
eb3bf28
	pushd  $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress
1fbccd0
	rm -f GNUmakefile Makefile *.o
Tom Lane d1e157d
	chmod 0755 pg_regress regress.so
cvsdist c205ec8
	popd
c88f76d
	cp %{SOURCE4} $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress/Makefile
6e96691
	chmod 0644 $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress/Makefile
cvsdist c205ec8
%endif
cvsdist c205ec8
83ea972
rm -rf doc/html # HACK! allow 'rpmbuild -bi --short-circuit'
6e96691
mv $RPM_BUILD_ROOT%{_docdir}/pgsql/html doc
6e96691
rm -rf $RPM_BUILD_ROOT%{_docdir}/pgsql
cvsdist c205ec8
a6a1e9b
# remove files not to be packaged
a6a1e9b
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
Tom Lane 13cd21d
%if !%upgrade
Tom Lane 13cd21d
rm -f $RPM_BUILD_ROOT%{_bindir}/pg_upgrade
Tom Lane 13cd21d
rm -f $RPM_BUILD_ROOT%{_libdir}/pgsql/pg_upgrade_support.so
Tom Lane 795d3d1
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/pg_upgrade.*
Tom Lane 13cd21d
%endif
Tom Lane 13cd21d
Tom Lane 13cd21d
# initialize file lists
Tom Lane 13cd21d
cp /dev/null main.lst
Tom Lane 13cd21d
cp /dev/null libs.lst
Tom Lane 13cd21d
cp /dev/null server.lst
Tom Lane 13cd21d
cp /dev/null devel.lst
Tom Lane 13cd21d
cp /dev/null plperl.lst
Tom Lane 13cd21d
cp /dev/null pltcl.lst
Tom Lane 13cd21d
cp /dev/null plpython.lst
Tom Lane 795d3d1
cp /dev/null plpython3.lst
a6a1e9b
Tom Lane 13cd21d
%if %nls
084ca74
%find_lang ecpg-%{majorversion}
Tom Lane 13cd21d
cat ecpg-%{majorversion}.lang >>devel.lst
084ca74
%find_lang ecpglib6-%{majorversion}
Tom Lane 13cd21d
cat ecpglib6-%{majorversion}.lang >>libs.lst
084ca74
%find_lang initdb-%{majorversion}
Tom Lane 13cd21d
cat initdb-%{majorversion}.lang >>server.lst
084ca74
%find_lang libpq5-%{majorversion}
084ca74
cat libpq5-%{majorversion}.lang >>libs.lst
Tom Lane d1e157d
%find_lang pg_basebackup-%{majorversion}
Tom Lane d1e157d
cat pg_basebackup-%{majorversion}.lang >>server.lst
084ca74
%find_lang pg_controldata-%{majorversion}
084ca74
cat pg_controldata-%{majorversion}.lang >>server.lst
084ca74
%find_lang pg_ctl-%{majorversion}
084ca74
cat pg_ctl-%{majorversion}.lang >>server.lst
Tom Lane 4753f36
%find_lang pg_config-%{majorversion}
Tom Lane 13cd21d
cat pg_config-%{majorversion}.lang >>main.lst
084ca74
%find_lang pg_dump-%{majorversion}
Tom Lane 4753f36
cat pg_dump-%{majorversion}.lang >>main.lst
084ca74
%find_lang pg_resetxlog-%{majorversion}
084ca74
cat pg_resetxlog-%{majorversion}.lang >>server.lst
084ca74
%find_lang pgscripts-%{majorversion}
084ca74
cat pgscripts-%{majorversion}.lang >>main.lst
084ca74
%if %plperl
084ca74
%find_lang plperl-%{majorversion}
Tom Lane 13cd21d
cat plperl-%{majorversion}.lang >>plperl.lst
084ca74
%endif
084ca74
%find_lang plpgsql-%{majorversion}
084ca74
cat plpgsql-%{majorversion}.lang >>server.lst
084ca74
%if %plpython
084ca74
%find_lang plpython-%{majorversion}
Tom Lane 13cd21d
cat plpython-%{majorversion}.lang >>plpython.lst
084ca74
%endif
Tom Lane 795d3d1
%if %plpython3
Tom Lane 795d3d1
# plpython3 shares message files with plpython
Tom Lane 795d3d1
%find_lang plpython-%{majorversion}
Tom Lane 795d3d1
cat plpython-%{majorversion}.lang >>plpython3.lst
Tom Lane 795d3d1
%endif
084ca74
%if %pltcl
084ca74
%find_lang pltcl-%{majorversion}
Tom Lane 13cd21d
cat pltcl-%{majorversion}.lang >>pltcl.lst
084ca74
%endif
084ca74
%find_lang postgres-%{majorversion}
084ca74
cat postgres-%{majorversion}.lang >>server.lst
084ca74
%find_lang psql-%{majorversion}
084ca74
cat psql-%{majorversion}.lang >>main.lst
Tom Lane 13cd21d
%endif
cvsdist c205ec8
cvsdist c205ec8
%post libs -p /sbin/ldconfig 
cvsdist c205ec8
%postun libs -p /sbin/ldconfig 
cvsdist c205ec8
cvsdist c205ec8
%pre server
9cc5f20
/usr/sbin/groupadd -g 26 -o -r postgres >/dev/null 2>&1 || :
9cc5f20
/usr/sbin/useradd -M -N -g postgres -o -r -d /var/lib/pgsql -s /bin/bash \
e8f554d
	-c "PostgreSQL Server" -u 26 postgres >/dev/null 2>&1 || :
e8f554d
cvsdist c205ec8
%post server
Tom Lane 5f6fb79
%if 0%{?systemd_post:1}
Tom Lane 36551c3
%systemd_post postgresql.service
Tom Lane 5f6fb79
%else
Tom Lane 5f6fb79
if [ $1 -eq 1 ]; then
Tom Lane 5f6fb79
    # Initial installation
Tom Lane 5f6fb79
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
Tom Lane 5f6fb79
fi
Tom Lane 5f6fb79
%endif
Tom Lane 72893f4
Tom Lane 72893f4
# Run this when upgrading from SysV initscript to native systemd unit
Tom Lane 72893f4
%triggerun server -- postgresql-server < %{first_systemd_version}
Tom Lane 72893f4
# Save the current service runlevel info
Tom Lane 72893f4
# User must manually run systemd-sysv-convert --apply postgresql
Tom Lane 72893f4
# to migrate them to systemd targets
Tom Lane 72893f4
/usr/bin/systemd-sysv-convert --save postgresql >/dev/null 2>&1 || :
Tom Lane 72893f4
Tom Lane 72893f4
# Run these because the SysV package being removed won't do them
Tom Lane 72893f4
/sbin/chkconfig --del postgresql >/dev/null 2>&1 || :
Tom Lane 72893f4
/bin/systemctl try-restart postgresql.service >/dev/null 2>&1 || :
cvsdist c205ec8
cvsdist c205ec8
%preun server
Tom Lane 5f6fb79
%if 0%{?systemd_preun:1}
Tom Lane 36551c3
%systemd_preun postgresql.service
Tom Lane 5f6fb79
%else
Tom Lane 5f6fb79
if [ $1 -eq 0 ]; then
Tom Lane 5f6fb79
    # Package removal, not upgrade
Tom Lane 5f6fb79
    /bin/systemctl --no-reload disable postgresql.service >/dev/null 2>&1 || :
Tom Lane 5f6fb79
    /bin/systemctl stop postgresql.service >/dev/null 2>&1 || :
Tom Lane 5f6fb79
fi
Tom Lane 5f6fb79
%endif
cvsdist c205ec8
cvsdist c205ec8
%postun server
Tom Lane 5f6fb79
%if 0%{?systemd_postun_with_restart:1}
Tom Lane 36551c3
%systemd_postun_with_restart postgresql.service
Tom Lane 5f6fb79
%else
Tom Lane 5f6fb79
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
Tom Lane 5f6fb79
if [ $1 -ge 1 ]; then
Tom Lane 5f6fb79
    # Package upgrade, not uninstall
Tom Lane 5f6fb79
    /bin/systemctl try-restart postgresql.service >/dev/null 2>&1 || :
Tom Lane 5f6fb79
fi
Tom Lane 5f6fb79
%endif
cvsdist c205ec8
cvsdist c205ec8
# FILES section.
cvsdist c205ec8
cvsdist c205ec8
%files -f main.lst
Tom Lane d1e157d
%doc doc/KNOWN_BUGS doc/MISSING_FEATURES doc/TODO
cvsdist c205ec8
%doc COPYRIGHT README HISTORY doc/bug.template
cvsdist c205ec8
%{_bindir}/clusterdb
cvsdist c205ec8
%{_bindir}/createdb
cvsdist c205ec8
%{_bindir}/createlang
cvsdist c205ec8
%{_bindir}/createuser
cvsdist c205ec8
%{_bindir}/dropdb
cvsdist c205ec8
%{_bindir}/droplang
cvsdist c205ec8
%{_bindir}/dropuser
Tom Lane 4753f36
%{_bindir}/pg_config
cvsdist c205ec8
%{_bindir}/pg_dump
cvsdist c205ec8
%{_bindir}/pg_dumpall
24c5bf3
%{_bindir}/pg_isready
cvsdist c205ec8
%{_bindir}/pg_restore
cvsdist c205ec8
%{_bindir}/psql
80b1cae
%{_bindir}/reindexdb
cvsdist c205ec8
%{_bindir}/vacuumdb
3ca08a7
%dir %{_libdir}/pgsql
cvsdist c205ec8
%{_mandir}/man1/clusterdb.*
cvsdist c205ec8
%{_mandir}/man1/createdb.*
cvsdist c205ec8
%{_mandir}/man1/createlang.*
cvsdist c205ec8
%{_mandir}/man1/createuser.*
cvsdist c205ec8
%{_mandir}/man1/dropdb.*
cvsdist c205ec8
%{_mandir}/man1/droplang.*
cvsdist c205ec8
%{_mandir}/man1/dropuser.*
Tom Lane 4753f36
%{_mandir}/man1/pg_config.*
cvsdist c205ec8
%{_mandir}/man1/pg_dump.*
cvsdist c205ec8
%{_mandir}/man1/pg_dumpall.*
24c5bf3
%{_mandir}/man1/pg_isready.*
cvsdist c205ec8
%{_mandir}/man1/pg_restore.*
cvsdist c205ec8
%{_mandir}/man1/psql.*
80b1cae
%{_mandir}/man1/reindexdb.*
cvsdist c205ec8
%{_mandir}/man1/vacuumdb.*
cvsdist c205ec8
%{_mandir}/man7/*
cvsdist c205ec8
cvsdist c205ec8
%files docs
6e96691
%doc *-US.pdf
bf770dd
%doc doc/html
3ca08a7
%{_libdir}/pgsql/tutorial/
cvsdist c205ec8
cvsdist c205ec8
%files contrib
3ca08a7
%doc contrib/spi/*.example
3ca08a7
%{_bindir}/oid2name
3ca08a7
%{_bindir}/pg_archivecleanup
3ca08a7
%{_bindir}/pg_standby
3ca08a7
%{_bindir}/pg_test_fsync
3ca08a7
%{_bindir}/pg_test_timing
3ca08a7
%{_bindir}/pg_xlogdump
3ca08a7
%{_bindir}/pgbench
3ca08a7
%{_bindir}/vacuumlo
Tom Lane d1e157d
%{_datadir}/pgsql/extension/adminpack*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/autoinc*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/btree_gin*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/btree_gist*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/chkpass*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/citext*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/cube*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/dblink*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/dict_int*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/dict_xsyn*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/earthdistance*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/file_fdw*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/fuzzystrmatch*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/hstore*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/insert_username*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/intagg*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/intarray*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/isn*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/lo*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/ltree*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/moddatetime*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/pageinspect*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/pg_buffercache*
Jozef Mlich fd57b14
%{_datadir}/pgsql/extension/pg_freespacemap*
Jozef Mlich fd57b14
%{_datadir}/pgsql/extension/pg_prewarm*
Jozef Mlich fd57b14
%{_datadir}/pgsql/extension/pg_stat_statements*
Jozef Mlich fd57b14
%{_datadir}/pgsql/extension/pg_trgm*
3ca08a7
%{_datadir}/pgsql/extension/pgcrypto*
3ca08a7
%{_datadir}/pgsql/extension/pgrowlocks*
3ca08a7
%{_datadir}/pgsql/extension/pgstattuple*
24c5bf3
%{_datadir}/pgsql/extension/postgres_fdw*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/refint*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/seg*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/tablefunc*
Tom Lane 795d3d1
%{_datadir}/pgsql/extension/tcn*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/test_parser*
Jozef Mlich fd57b14
%{_datadir}/pgsql/extension/test_shm_mq*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/timetravel*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/tsearch2*
Tom Lane d1e157d
%{_datadir}/pgsql/extension/unaccent*
Jozef Mlich fd57b14
%{_datadir}/pgsql/extension/worker_spi*
3ca08a7
%{_libdir}/pgsql/_int.so
9405842
%{_libdir}/pgsql/adminpack.so
Tom Lane d1e157d
%{_libdir}/pgsql/auth_delay.so
084ca74
%{_libdir}/pgsql/auto_explain.so
Jozef Mlich fd57b14
%{_libdir}/pgsql/autoinc.so
084ca74
%{_libdir}/pgsql/btree_gin.so
cvsdist c205ec8
%{_libdir}/pgsql/btree_gist.so
cvsdist c205ec8
%{_libdir}/pgsql/chkpass.so
084ca74
%{_libdir}/pgsql/citext.so
cvsdist c205ec8
%{_libdir}/pgsql/cube.so
cvsdist c205ec8
%{_libdir}/pgsql/dblink.so
8bf3ae4
%{_libdir}/pgsql/dict_int.so
8bf3ae4
%{_libdir}/pgsql/dict_xsyn.so
Tom Lane d1e157d
%{_libdir}/pgsql/dummy_seclabel.so
cvsdist c205ec8
%{_libdir}/pgsql/earthdistance.so
Tom Lane d1e157d
%{_libdir}/pgsql/file_fdw.so
cvsdist c205ec8
%{_libdir}/pgsql/fuzzystrmatch.so
9405842
%{_libdir}/pgsql/hstore.so
cvsdist c205ec8
%{_libdir}/pgsql/insert_username.so
9405842
%{_libdir}/pgsql/isn.so
cvsdist c205ec8
%{_libdir}/pgsql/lo.so
cvsdist c205ec8
%{_libdir}/pgsql/ltree.so
cvsdist c205ec8
%{_libdir}/pgsql/moddatetime.so
8bf3ae4
%{_libdir}/pgsql/pageinspect.so
Tom Lane 4753f36
%{_libdir}/pgsql/passwordcheck.so
80b1cae
%{_libdir}/pgsql/pg_buffercache.so
Jozef Mlich fd57b14
%{_libdir}/pgsql/pg_freespacemap.so
Jozef Mlich fd57b14
%{_libdir}/pgsql/pg_stat_statements.so
Jozef Mlich fd57b14
%{_libdir}/pgsql/pg_trgm.so
3ca08a7
%{_libdir}/pgsql/pgcrypto.so
3ca08a7
%{_libdir}/pgsql/pgrowlocks.so
3ca08a7
%{_libdir}/pgsql/pgstattuple.so
24c5bf3
%{_libdir}/pgsql/postgres_fdw.so
cvsdist c205ec8
%{_libdir}/pgsql/refint.so
cvsdist c205ec8
%{_libdir}/pgsql/seg.so
cvsdist c205ec8
%{_libdir}/pgsql/tablefunc.so
Tom Lane 795d3d1
%{_libdir}/pgsql/tcn.so
Jozef Mlich fd57b14
%{_libdir}/pgsql/test_decoding.so
8bf3ae4
%{_libdir}/pgsql/test_parser.so
Jozef Mlich fd57b14
%{_libdir}/pgsql/test_shm_mq.so
cvsdist c205ec8
%{_libdir}/pgsql/timetravel.so
cvsdist c205ec8
%{_libdir}/pgsql/tsearch2.so
Tom Lane 4753f36
%{_libdir}/pgsql/unaccent.so
24c5bf3
%{_libdir}/pgsql/worker_spi.so
3ca08a7
%{_mandir}/man1/oid2name.*
3ca08a7
%{_mandir}/man1/pg_archivecleanup.*
3ca08a7
%{_mandir}/man1/pg_recvlogical.*
3ca08a7
%{_mandir}/man1/pg_standby.*
3ca08a7
%{_mandir}/man1/pg_test_fsync.*
3ca08a7
%{_mandir}/man1/pg_test_timing.*
3ca08a7
%{_mandir}/man1/pg_xlogdump.*
3ca08a7
%{_mandir}/man1/pgbench.*
3ca08a7
%{_mandir}/man1/vacuumlo.*
3ca08a7
%{_mandir}/man3/dblink*
Tom Lane 13cd21d
%if %selinux
Tom Lane 13cd21d
%{_datadir}/pgsql/contrib/sepgsql.sql
Tom Lane 13cd21d
%{_libdir}/pgsql/sepgsql.so
Tom Lane 13cd21d
%endif
Tom Lane 13cd21d
%if %ssl
Tom Lane 13cd21d
%{_datadir}/pgsql/extension/sslinfo*
Tom Lane 13cd21d
%{_libdir}/pgsql/sslinfo.so
Tom Lane 13cd21d
%endif
8bf3ae4
%if %uuid
Tom Lane d1e157d
%{_datadir}/pgsql/extension/uuid-ossp*
8bf3ae4
%{_libdir}/pgsql/uuid-ossp.so
8bf3ae4
%endif
32269db
%if %xml
Tom Lane d1e157d
%{_datadir}/pgsql/extension/xml2*
32269db
%{_libdir}/pgsql/pgxml.so
32269db
%endif
cvsdist c205ec8
084ca74
%files libs -f libs.lst
19bd07f
%doc COPYRIGHT
cvsdist c205ec8
%{_libdir}/libecpg.so.*
cvsdist c205ec8
%{_libdir}/libecpg_compat.so.*
3ca08a7
%{_libdir}/libpgtypes.so.*
3ca08a7
%{_libdir}/libpq.so.*
cvsdist c205ec8
cvsdist c205ec8
%files server -f server.lst
cvsdist c205ec8
%{_bindir}/initdb
Tom Lane d1e157d
%{_bindir}/pg_basebackup
cvsdist c205ec8
%{_bindir}/pg_controldata
cvsdist c205ec8
%{_bindir}/pg_ctl
Tom Lane 795d3d1
%{_bindir}/pg_receivexlog
Jozef Mlich fd57b14
%{_bindir}/pg_recvlogical
cvsdist c205ec8
%{_bindir}/pg_resetxlog
cvsdist c205ec8
%{_bindir}/postgres
Tom Lane 72893f4
%{_bindir}/postgresql-setup
Jozef Mlich fd57b14
%{_bindir}/postmaster
3ca08a7
%dir %{_datadir}/pgsql
3ca08a7
%{_datadir}/pgsql/*.sample
3ca08a7
%dir %{_datadir}/pgsql/contrib
3ca08a7
%{_datadir}/pgsql/conversion_create.sql
3ca08a7
%dir %{_datadir}/pgsql/extension
3ca08a7
%{_datadir}/pgsql/extension/plpgsql*
3ca08a7
%{_datadir}/pgsql/information_schema.sql
cvsdist c205ec8
%{_datadir}/pgsql/postgres.bki
cvsdist c205ec8
%{_datadir}/pgsql/postgres.description
9405842
%{_datadir}/pgsql/postgres.shdescription
3ca08a7
%{_datadir}/pgsql/snowball_create.sql
3ca08a7
%{_datadir}/pgsql/sql_features.txt
6e96691
%{_datadir}/pgsql/system_views.sql
9405842
%{_datadir}/pgsql/timezonesets/
8bf3ae4
%{_datadir}/pgsql/tsearch_data/
3ca08a7
%{_libdir}/pgsql/*_and_*.so
8bf3ae4
%{_libdir}/pgsql/dict_snowball.so
3ca08a7
%{_libdir}/pgsql/euc2004_sjis2004.so
3ca08a7
%{_libdir}/pgsql/libpqwalreceiver.so
Jozef Mlich fd57b14
%{_libdir}/pgsql/pg_prewarm.so
cvsdist c205ec8
%{_libdir}/pgsql/plpgsql.so
3ca08a7
%dir %{_libexecdir}/initscripts/legacy-actions/postgresql
3ca08a7
%{_libexecdir}/initscripts/legacy-actions/postgresql/*
3ca08a7
%{_libexecdir}/postgresql-check-db-dir
3ca08a7
%{_libexecdir}/postgresql-ctl
3ca08a7
%{_mandir}/man1/initdb.*
3ca08a7
%{_mandir}/man1/pg_basebackup.*
3ca08a7
%{_mandir}/man1/pg_controldata.*
3ca08a7
%{_mandir}/man1/pg_ctl.*
3ca08a7
%{_mandir}/man1/pg_receivexlog.*
3ca08a7
%{_mandir}/man1/pg_resetxlog.*
3ca08a7
%{_mandir}/man1/postgres.*
3ca08a7
%{_mandir}/man1/postgresql-setup.*
3ca08a7
%{_mandir}/man1/postmaster.*
b6b61d6
%{_tmpfilesdir}/postgresql.conf
3ca08a7
%{_unitdir}/postgresql.service
3ca08a7
%{_unitdir}/postgresql@.service
cvsdist c205ec8
%attr(700,postgres,postgres) %dir /var/lib/pgsql
cvsdist c205ec8
%attr(644,postgres,postgres) %config(noreplace) /var/lib/pgsql/.bash_profile
3ca08a7
%attr(700,postgres,postgres) %dir /var/lib/pgsql/backups
3ca08a7
%attr(700,postgres,postgres) %dir /var/lib/pgsql/data
3ca08a7
%attr(755,postgres,postgres) %dir /var/run/postgresql
3ca08a7
%if %pam
3ca08a7
%config(noreplace) /etc/pam.d/postgresql
3ca08a7
%endif
cvsdist c205ec8
084ca74
%files devel -f devel.lst
cvsdist c205ec8
%{_bindir}/ecpg
3ca08a7
%{_includedir}/*
cvsdist c205ec8
%{_libdir}/libecpg.so
cvsdist c205ec8
%{_libdir}/libecpg_compat.so
cvsdist c205ec8
%{_libdir}/libpgtypes.so
3ca08a7
%{_libdir}/libpq.so
6e96691
%{_libdir}/pgsql/pgxs/
24c5bf3
%{_libdir}/pkgconfig/*.pc
cvsdist c205ec8
%{_mandir}/man1/ecpg.*
Tom Lane 4753f36
%{_mandir}/man3/SPI_*
4f1d2a0
%{macrosdir}/*
Tom Lane 4753f36
Tom Lane 4753f36
%if %upgrade
Tom Lane 4753f36
%files upgrade
Tom Lane 4753f36
%{_bindir}/pg_upgrade
Tom Lane 4753f36
%{_libdir}/pgsql/pg_upgrade_support.so
Tom Lane 4753f36
%{_libdir}/pgsql/postgresql-%{prevmajorversion}
Tom Lane 795d3d1
%{_mandir}/man1/pg_upgrade.*
Tom Lane 4753f36
%endif
cvsdist c205ec8
cvsdist c205ec8
%if %plperl
084ca74
%files plperl -f plperl.lst
Tom Lane d1e157d
%{_datadir}/pgsql/extension/plperl*
cvsdist c205ec8
%{_libdir}/pgsql/plperl.so
cvsdist c205ec8
%endif
d6ea25d
cvsdist c205ec8
%if %pltcl
084ca74
%files pltcl -f pltcl.lst
cvsdist c205ec8
%{_bindir}/pltcl_delmod
cvsdist c205ec8
%{_bindir}/pltcl_listmod
cvsdist c205ec8
%{_bindir}/pltcl_loadmod
3ca08a7
%{_datadir}/pgsql/extension/pltcl*
cvsdist c205ec8
%{_datadir}/pgsql/unknown.pltcl
3ca08a7
%{_libdir}/pgsql/pltcl.so
cvsdist c205ec8
%endif
d6ea25d
d6ea25d
%if %plpython
084ca74
%files plpython -f plpython.lst
Tom Lane 795d3d1
%{_datadir}/pgsql/extension/plpython2*
3ca08a7
%{_datadir}/pgsql/extension/plpythonu*
Tom Lane 4753f36
%{_libdir}/pgsql/plpython2.so
cvsdist c205ec8
%endif
cvsdist c205ec8
Tom Lane 795d3d1
%if %plpython3
Tom Lane 795d3d1
%files plpython3 -f plpython3.lst
Tom Lane 795d3d1
%{_datadir}/pgsql/extension/plpython3*
Tom Lane 795d3d1
%{_libdir}/pgsql/plpython3.so
Tom Lane 795d3d1
%endif
Tom Lane 795d3d1
cvsdist c205ec8
%if %test
cvsdist c205ec8
%files test
3ca08a7
%attr(-,postgres,postgres) %{_libdir}/pgsql/test
cvsdist c205ec8
%endif
cvsdist c205ec8
cvsdist c205ec8
%changelog
Pavel Kajaba 92923a2
* Thu May 12 2016 Pavel Kajaba <pkajaba@redhat.com> - 9.4.8-1
Pavel Kajaba 92923a2
- update to 9.4.8 per release notes
Pavel Kajaba 92923a2
  http://www.postgresql.org/docs/9.4/static/release-9-4-8.html
Pavel Kajaba 92923a2
129268d
* Mon Apr 04 2016 Pavel Raiskup <praiskup@redhat.com> - 9.4.7-1
129268d
- update to 9.4.7 per release notes
129268d
  http://www.postgresql.org/docs/9.4/static/release-9-4-7.html
129268d
f46ceaa
* Tue Feb 09 2016 Pavel Raiskup <praiskup@redhat.com> - 9.4.6-1
f46ceaa
- update to 9.4.6 per release notes
f46ceaa
  http://www.postgresql.org/docs/9.4/static/release-9-4-6.html
f46ceaa
fa17f83
* Tue Oct 06 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.5-1
fa17f83
- update to 9.4.5 per release notes
fa17f83
  http://www.postgresql.org/docs/9.4/static/release-9-4-5.html
fa17f83
8e1db04
* Thu Jun 11 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.4-1
8e1db04
- update to 9.4.4 per release notes
8e1db04
  http://www.postgresql.org/docs/9.4/static/release-9-4-4.html
8e1db04
Jozef Mlich b625f61
* Wed Jun 03 2015 Jozef Mlich <jmlich@redhat.com> - 9.4.3-1
Jozef Mlich b625f61
- update to 9.4.3 per release notes
Jozef Mlich b625f61
  http://www.postgresql.org/docs/9.4/static/release-9-4-3.html
Jozef Mlich b625f61
Jozef Mlích 715c598
* Thu May 21 2015 Jozef Mlich <jmlich@redhat.com> - 9.4.2-1
Jozef Mlích 715c598
- update to 9.4.2 per release notes
Jozef Mlích 715c598
  http://www.postgresql.org/docs/9.4/static/release-9-4-2.html
Jozef Mlích 715c598
ab28639
* Wed Feb 04 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.1-1
ab28639
- update to 9.4.1 per release notes
ab28639
  http://www.postgresql.org/docs/9.4/static/release-9-4-1.html
ab28639
3ca08a7
* Tue Feb 03 2015 Pavel Raiskup <praiskup@redhat.com> - 9.4.0-2
3ca08a7
- sort file lists alphabetically
3ca08a7
Jozef Mlich fd57b14
* Tue Dec 23 2014 Jozef Mlich <jmlich@redhat.com> - 9.4.0-1
Jozef Mlich fd57b14
- update to 9.4.0 per release notes
Jozef Mlich fd57b14
  http://www.postgresql.org/docs/9.4/static/index.html
Jozef Mlich fd57b14
1ade253
* Mon Nov 24 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.5-8
1ade253
- print regression.diffs contents to stdout (#1118392)
1ade253
7fcd426
* Mon Oct 20 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.5-7
7fcd426
- be forgiving of variant spellings of locale names in pg_upgrade (#1007802)
7fcd426
c88f76d
* Sun Sep 21 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.5-6
c88f76d
- postgresql-setup & relatives are now in separate tarball
c88f76d
721530b
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 9.3.5-5
721530b
- Perl 5.20 rebuild
721530b
ebf59e4
* Thu Aug 21 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.5-4
ebf59e4
- install macros.postgresql, not postgresql.macros
ebf59e4
0927108
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.3.5-3
0927108
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
0927108
c9a55bd
* Thu Jul 24 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.5-2
c9a55bd
- fix the prevversion sum link and comment a little
c9a55bd
0e04655
* Tue Jul 22 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.5-1
0e04655
- update to 9.3.5 per release notes
0e04655
  http://www.postgresql.org/docs/9.3/static/release-9-3-5.html
0e04655
4f1d2a0
* Fri Jul 18 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.4-8
a4d772f
- provide postgresql-doc for postgresql-docs package (#1086420)
bf770dd
- move html documentation to *-docs subpackage (#1086420)
4f1d2a0
- provide postgresql-server(:MODULE_COMPAT_%%{postgresql_major}) to guard
4f1d2a0
  against incompatible plugin installation (#1008939)
a4d772f
49f074f
* Thu Jun 19 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.4-7
49f074f
- OOM handling compatible with 9.5+, by Tom Lane (#1110969)
49f074f
abb534a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.3.4-6
abb534a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
abb534a
729866c
* Mon May 26 2014 Honza Horak <hhorak@redhat.com> - 9.3.4-5
729866c
- Rebuild for Python 3.4
729866c
832a5a0
* Fri May 23 2014 Honza Horak <hhorak@redhat.com> - 9.3.4-4
832a5a0
- Change plpython_do test a bit so it is universal for all python versions
832a5a0
b57df46
* Wed May 21 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 9.3.4-3
b57df46
- Rebuilt for https://fedoraproject.org/wiki/Changes/f21tcl86
b57df46
533a1ef
* Wed May 14 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.4-2
533a1ef
- set basic $PATH when it is empty or unset, (#1097317)
533a1ef
Jozef Mlich 365123c
* Thu Mar 20 2014 Jozef Mlich <jmlich@redhat.com> - 9.3.4-1
Jozef Mlich 365123c
- update to 9.3.4 minor version per release notes:
Jozef Mlich 365123c
  http://www.postgresql.org/docs/9.3/static/release-9-3-4.html
Jozef Mlich 365123c
Jozef Mlich a21b7d5
* Thu Mar 13 2014 Jozef Mlich <jmlich@redhat.com> - 9.3.3-2
Jozef Mlich a21b7d5
- Fix WAL replay of locking an updated tuple 
Jozef Mlich a21b7d5
  kudos to Alvaro Herrera 
Jozef Mlich a21b7d5
Jozef Mlich a2f501b
* Thu Feb 20 2014 Jozef Mlich <jmlich@redhat.com> - 9.3.3-1
Jozef Mlich a2f501b
- update to 9.3.3 minor version per release notes:
Jozef Mlich a2f501b
  http://www.postgresql.org/docs/9.3/static/release-9-3-3.html
Jozef Mlich a2f501b
6d2de0b
* Thu Jan 23 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.2-7
6d2de0b
- postgresql-setup: typos
6d2de0b
a43ac07
* Tue Jan 21 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.2-6
a43ac07
- add PGSETUP_PGUPGRADE_OPTIONS env var for postgresql-setup
a43ac07
7df4c0e
* Mon Jan 20 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.2-5
7df4c0e
- fix the postgresql-setup --version option
7df4c0e
ca2964b
* Mon Jan 20 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.2-4
083dd21
- postgresql-setup(upgrade): don't stop old server when it can not be started
2f213eb
- postgresql-setup(initdb, upgrade): add $PGSETUP_INITDB_OPTIONS
8e40185
- postgresql-setup: do not pretend 'sh' compatibility
44cd816
- move script generation to proper place
ca2964b
- postgresql-setup: document a little and genrate manual page
083dd21
88e98c3
* Fri Jan 10 2014 Pavel Raiskup <praiskup@redhat.com> - 9.3.2-3
88e98c3
- build with -O3 on ppc64 (private #1051075)
88e98c3
4c6bd5d
* Fri Dec 13 2013 Pavel Raiskup <praiskup@redhat.com> - 9.3.2-2
4c6bd5d
- lint the postgresql-setup script
4c6bd5d
Jozef Mlich 85e0b07
* Thu Dec 12 2013 Jozef Mlich <jmlich@redhat.com> - 9.3.2-2
Jozef Mlich 85e0b07
- don't fail if user has badly configure 'postgres' user access (#1040364)
Jozef Mlich 85e0b07
Jozef Mlich 3355515
* Thu Dec 05 2013 Jozef Mlich <jmlich@redhat.com> - 9.3.2-1
Jozef Mlich 3355515
- update to 9.3.2 minor version per release notes:
Jozef Mlich 3355515
  http://www.postgresql.org/docs/9.3/static/release-9-3-2.html
Jozef Mlich 3355515
Jozef Mlich 4b81ad4
* Thu Oct 17 2013 Jozef Mlich <jmlich@redhat.com> - 9.3.1-2
Jozef Mlich 4b81ad4
- the prevversion (see package upgrade process) is updated
Jozef Mlich 4b81ad4
  from 9.2.4 to 9.2.5
Jozef Mlich 4b81ad4
Jozef Mlich 592d0de
* Thu Oct 10 2013 Jozef Mlich <jmlich@redhat.com> - 9.3.1-1
Jozef Mlich 592d0de
- update to 9.3.1 minor version per release notes:
Jozef Mlich 592d0de
  http://www.postgresql.org/docs/9.3/static/release-9-3-1.html
Jozef Mlich 592d0de
24c5bf3
* Tue Sep 10 2013 Pavel Raiskup <praiskup@redhat.com> - 9.3.0-1
24c5bf3
- update to 9.3 major version per release notes:
24c5bf3
  http://www.postgresql.org/docs/9.3/static/release-9-3.html
24c5bf3
f9f152f
* Thu Aug 15 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-11
f9f152f
- upgrade: stop old server in case of permissions problem (#896161)
f9f152f
4dafc07
* Mon Aug 12 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-10
4dafc07
- disable aggressive loop optimizations for old codebase (#993532)
4dafc07
9124149
* Wed Aug 07 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-9
9124149
- generate links docdir links in postgresql-check-db-dir correctly (#994048)
9124149
83ea972
* Tue Aug 06 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-8
83ea972
- allow `rpmbuild -bi --short-circuit`
83ea972
a680fe1
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.2.4-7
a680fe1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a680fe1
9d28c85
* Wed Jul 24 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-6
9d28c85
- split aarch64 patch to allow build without postgresql-upgrade
9d28c85
44506bd
* Tue Jul 23 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-5
44506bd
- fix testsuite to allow build against Perl 5.18
44506bd
304cc8d
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 9.2.4-5
304cc8d
- Perl 5.18 rebuild
304cc8d
6f62d35
* Tue Jul 09 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-4
3fea88c
- do not use -b for manual page fixes
3fea88c
6f62d35
* Thu Jun 20 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-3
3992fad
- fix README.rpm-dist for the bug (#969050)
a57d617
- replace hard-wired path with %%{_datadir}
3992fad
33319f6
* Thu Jun 13 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-3
0415e33
- add atomic operations support for aarch64 to preupgrade version also (#970661)
3202ca7
- apply the forgotten man-page-day patch (#948933)
0415e33
cac63b3
* Thu Jun 13 2013 Jan Stanek <jstanek@redhat.com> - 9.2.4-3
cac63b3
- added patch for manual pages (#948933)
cac63b3
63807df
* Tue Jun 11 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-2
63807df
- postgresql-setup: don't create whole path to server's data to make sure that
63807df
  the parent directory has correct permissions (#972425)
63807df
30d053b
* Wed Jun 05 2013 Pavel Raiskup <praiskup@redhat.com> - 9.2.4-2
b6b61d6
- fix rpmlint warnings
30d053b
- fix aarch64 build by defining missing atomic operations (#970661)
b6b61d6
Tom Lane d27a983
* Thu Apr  4 2013 Tom Lane <tgl@redhat.com> 9.2.4-1
Tom Lane d27a983
- Update to PostgreSQL 9.2.4, for various fixes described at
Tom Lane d27a983
  http://www.postgresql.org/docs/9.2/static/release-9-2-4.html
Tom Lane d27a983
  including the fixes for CVE-2013-1899, CVE-2013-1900, CVE-2013-1901
Tom Lane d27a983
Resolves: #929223, #929255, #929328
Tom Lane d27a983
- fix build for aarch64 and ppc64p7
Tom Lane d27a983
Tom Lane 3b77faf
* Thu Feb  7 2013 Tom Lane <tgl@redhat.com> 9.2.3-1
Tom Lane 3b77faf
- Update to PostgreSQL 9.2.3, for various fixes described at
Tom Lane 3b77faf
  http://www.postgresql.org/docs/9.2/static/release-9-2-3.html
Tom Lane 3b77faf
  including the fix for CVE-2013-0255
Tom Lane 3b77faf
Resolves: #908722
Tom Lane 3b77faf
- Make the package build with selinux option disabled
Tom Lane 3b77faf
Resolves: #894367
Tom Lane 3b77faf
- Include old version of pg_controldata in postgresql-upgrade subpackage
Tom Lane 3b77faf
Related: #896161
Tom Lane 3b77faf
Tom Lane 1cd49a0
* Thu Jan  3 2013 Tom Lane <tgl@redhat.com> 9.2.2-3
Tom Lane 1cd49a0
- Prevent creation of TCP socket during pg_upgrade regression test, so that
Tom Lane 1cd49a0
  concurrent RPM builds on the same machine won't fail
Tom Lane 1cd49a0
Resolves: #891531
Tom Lane 1cd49a0
- Make sure $PGDATA/pg_log/ gets the right SELinux label in postgresql-setup
Tom Lane 1cd49a0
Resolves: #891547
Tom Lane 1cd49a0
Tom Lane 73e3a6a
* Wed Dec 19 2012 Tom Lane <tgl@redhat.com> 9.2.2-2
Tom Lane 73e3a6a
- Make building of plpython3 dependent on Fedora version, per guidelines
Tom Lane 73e3a6a
Resolves: #888419
Tom Lane 73e3a6a
Tom Lane 5f6fb79
* Thu Dec  6 2012 Tom Lane <tgl@redhat.com> 9.2.2-1
Tom Lane 5f6fb79
- Update to PostgreSQL 9.2.2, for various fixes described at
Tom Lane 5f6fb79
  http://www.postgresql.org/docs/9.2/static/release-9-2-2.html
Tom Lane 5f6fb79
- Use new systemd install/uninstall trigger macros conditionally,
Tom Lane 5f6fb79
  so that package can still be installed on pre-F18 branches
Tom Lane 5f6fb79
Tom Lane 36551c3
* Mon Sep 24 2012 Tom Lane <tgl@redhat.com> 9.2.1-1
Tom Lane 36551c3
- Update to PostgreSQL 9.2.1, for various fixes described at
Tom Lane 36551c3
  http://www.postgresql.org/docs/9.2/static/release-9-2-1.html
Tom Lane 36551c3
  including a nasty data-loss bug
Tom Lane 36551c3
- Adopt new systemd macros for server package install/uninstall triggers
Tom Lane 36551c3
Resolves: #850277
Tom Lane 36551c3
Tom Lane 795d3d1
* Mon Sep 10 2012 Tom Lane <tgl@redhat.com> 9.2.0-1
Tom Lane 795d3d1
- Update to PostgreSQL 9.2.0 (major version bump);
Tom Lane 795d3d1
  in-place upgrade support now works from 9.1.x as the previous version
Tom Lane 795d3d1
- Add postgresql-plpython3 subpackage with PL/Python built against Python 3
Tom Lane 795d3d1
Tom Lane 8f944a5
* Tue Aug 28 2012 Tom Lane <tgl@redhat.com> 9.1.5-2
Tom Lane 8f944a5
- Remove unnecessary ldconfig calls in pre/post triggers
Tom Lane 8f944a5
Resolves: #849344
Tom Lane 8f944a5
Tom Lane f95c645
* Fri Aug 17 2012 Tom Lane <tgl@redhat.com> 9.1.5-1
Tom Lane f95c645
- Update to PostgreSQL 9.1.5, for various fixes described at
Tom Lane f95c645
  http://www.postgresql.org/docs/9.1/static/release-9-1-5.html
Tom Lane f95c645
  including the fixes for CVE-2012-3488, CVE-2012-3489
Tom Lane f95c645
Tom Lane 497da8c
* Mon Aug 13 2012 Tom Lane <tgl@redhat.com> 9.1.4-5
Tom Lane 497da8c
- Back-port upstream support for postmaster listening on multiple Unix sockets
Tom Lane 497da8c
- Configure postmaster to create sockets in both /var/run/postgresql and /tmp;
Tom Lane 497da8c
  the former is now the default place for libpq to contact the postmaster.
Tom Lane 497da8c
Resolves: #825448
Tom Lane f95c645
- Annotate postgresql.conf about not setting port number there
Tom Lane 497da8c
- Minor specfile cleanup per suggestions from Tom Callaway
Tom Lane 497da8c
Related: #845110
Tom Lane 497da8c
0011b0b
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.1.4-4
0011b0b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0011b0b
Tom Lane 67b8078
* Sat Jul 14 2012 Tom Lane <tgl@redhat.com> 9.1.4-3
Tom Lane 67b8078
- Update code to use oom_score_adj not oom_adj, thereby suppressing
Tom Lane 67b8078
  whining in the kernel log
Tom Lane 67b8078
- Add "legacy action" scripts to support "service postgresql initdb" and
Tom Lane 67b8078
  "service postgresql upgrade" in a now-approved fashion (requires a
Tom Lane 67b8078
  recent version of initscripts to work)
Tom Lane 67b8078
Resolves: #800416
Tom Lane 67b8078
b937d0f
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 9.1.4-2
b937d0f
- Perl 5.16 rebuild
b937d0f
Tom Lane d270fa3
* Mon Jun  4 2012 Tom Lane <tgl@redhat.com> 9.1.4-1
Tom Lane d270fa3
- Update to PostgreSQL 9.1.4, for various fixes described at
Tom Lane d270fa3
  http://www.postgresql.org/docs/9.1/static/release-9-1-4.html
Tom Lane d270fa3
  including the fixes for CVE-2012-2143, CVE-2012-2655
Tom Lane d270fa3
Resolves: #826606
Tom Lane d270fa3
- Update previous version (embedded in postgresql-upgrade) to 9.0.8
Tom Lane d270fa3
  because fix in whole-row variable dumping could be needed for upgrades
Tom Lane d270fa3
- Revert fix for bug #800416, per fedora-packaging discussion at
Tom Lane d270fa3
  http://lists.fedoraproject.org/pipermail/packaging/2012-April/008314.html
Tom Lane d270fa3
  "service postgresql initdb" is dead and will stay that way
Tom Lane d270fa3
Tom Lane de5b387
* Sat Mar 17 2012 Tom Lane <tgl@redhat.com> 9.1.3-3
Tom Lane de5b387
- Fix postgresql-setup to rely on systemd to parse the unit file, instead
Tom Lane de5b387
  of using ad-hoc code
Tom Lane de5b387
Resolves: #804290
Tom Lane de5b387
Tom Lane 338b754
* Tue Mar 13 2012 Tom Lane <tgl@redhat.com> 9.1.3-2
Tom Lane 338b754
- Fix postgresql-setup to look for unit file in /usr/lib and to ignore
Tom Lane 338b754
  comments therein
Tom Lane 338b754
Resolves: #802835
Tom Lane 338b754
- Resurrect a now-mostly-dummy postgresql init script, so that people can
Tom Lane 338b754
  keep on using "service postgresql initdb" if they wish
Tom Lane 338b754
Resolves: #800416
Tom Lane 338b754
Tom Lane 2e73ff7
* Mon Feb 27 2012 Tom Lane <tgl@redhat.com> 9.1.3-1
Tom Lane 2e73ff7
- Update to PostgreSQL 9.1.3, for various fixes described at
Tom Lane 2e73ff7
  http://www.postgresql.org/docs/9.1/static/release-9-1-3.html
Tom Lane 2e73ff7
  including the fixes for CVE-2012-0866, CVE-2012-0867, CVE-2012-0868
Tom Lane 2e73ff7
Resolves: #797918
Tom Lane 2e73ff7
Tom Lane d44dce3
* Mon Jan  9 2012 Tom Lane <tgl@redhat.com> 9.1.2-2
Tom Lane d44dce3
- Make systemd unit file more user-friendly by resurrecting the old init
Tom Lane d44dce3
  script's checks for data directory presence and version match
Tom Lane d44dce3
Resolves: #771496
Tom Lane d44dce3
Tom Lane a60f809
* Mon Dec  5 2011 Tom Lane <tgl@redhat.com> 9.1.2-1
Tom Lane a60f809
- Update to PostgreSQL 9.1.2, for various fixes described at
Tom Lane a60f809
  http://www.postgresql.org/docs/9.1/static/release-9-1-2.html
Tom Lane a60f809
c99f89f
* Wed Nov 02 2011 Honza Horak <hhorak@redhat.com> 9.1.1-2
c99f89f
- Create a symlink of pg_regress instead of full copy;
c99f89f
  Don't strip symbols from regress libs
f82c498
Related: #729012
c99f89f
Tom Lane 13cd21d
* Mon Sep 26 2011 Tom Lane <tgl@redhat.com> 9.1.1-1
Tom Lane 13cd21d
- Update to PostgreSQL 9.1.1, for various fixes described at
Tom Lane 13cd21d
  http://www.postgresql.org/docs/9.1/static/release-9-1-1.html
Tom Lane 13cd21d
- Enable build (but not test) of contrib/sepgsql
Tom Lane 13cd21d
- Clean up specfile build options so that turning options off works again
Tom Lane 13cd21d
Tom Lane d1e157d
* Mon Sep 12 2011 Tom Lane <tgl@redhat.com> 9.1.0-1
Tom Lane d1e157d
- Update to PostgreSQL 9.1.0 (major version bump);
Tom Lane d1e157d
  in-place upgrade support now works from 9.0.x as the previous version
Tom Lane d1e157d
Tom Lane 72893f4
* Wed Jul 27 2011 Tom Lane <tgl@redhat.com> 9.0.4-8
Tom Lane 72893f4
- Convert to systemd startup support
Tom Lane 72893f4
Resolves: #696427
Tom Lane 72893f4
Petr Sabata 7de7a32
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 9.0.4-7
Petr Sabata 7de7a32
- Perl mass rebuild
Petr Sabata 7de7a32
Petr Sabata e608771
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 9.0.4-6
Petr Sabata e608771
- Perl mass rebuild
Petr Sabata e608771
Tom Lane 225f74a
* Wed Jul  6 2011 Tom Lane <tgl@redhat.com> 9.0.4-5
Tom Lane de98303
- Remove erroneously-included Default-Start line from LSB init block
Tom Lane de98303
Related: #717024
Tom Lane de98303
Tom Lane 9b6ef0a
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> 9.0.4-4
faae804
- Perl mass rebuild
Tom Lane 9b6ef0a
- incorporate upstream patch to make it build with Perl 5.14
faae804
Tom Lane 562fb68
* Fri Jun 10 2011 Tom Lane <tgl@redhat.com> 9.0.4-3
Tom Lane 562fb68
- Work around gcc 4.6.0 bug (temporary backport from next upstream release)
Tom Lane 562fb68
Tom Lane cbf5959
* Tue May 10 2011 Tom Lane <tgl@redhat.com> 9.0.4-2
Tom Lane cbf5959
- Add LSB init block to initscript, to ensure sane ordering at system boot
Tom Lane cbf5959
Resolves: #703215
Tom Lane cbf5959
Tom Lane 7632f67
* Mon Apr 18 2011 Tom Lane <tgl@redhat.com> 9.0.4-1
Tom Lane 7632f67
- Update to PostgreSQL 9.0.4, for various fixes described at
Tom Lane 7632f67
  http://www.postgresql.org/docs/9.0/static/release-9-0-4.html
Tom Lane 7632f67
- Add %%{?_isa} to cross-subpackage Requires, per latest packaging guidelines
Tom Lane 7632f67
426a182
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.0.3-3
426a182
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
426a182
Tom Lane c425547
* Thu Feb  3 2011 Tom Lane <tgl@redhat.com> 9.0.3-2
Tom Lane c425547
- Remove filter-requires-perl-Pg.sh, which doesn't seem to be needed now that
Tom Lane c425547
  PyGreSQL has been split out; and our use of it isn't compatible with rpm 4.9
Tom Lane c425547
  anyway
Tom Lane c425547
Tom Lane e5c3124
* Tue Feb  1 2011 Tom Lane <tgl@redhat.com> 9.0.3-1
Tom Lane e5c3124
- Update to PostgreSQL 9.0.3, for various fixes described at
Tom Lane e5c3124
  http://www.postgresql.org/docs/9.0/static/release-9-0-3.html
Tom Lane e5c3124
  including the fix for CVE-2010-4015
Tom Lane e5c3124
Resolves: #674296
Tom Lane e5c3124
Tom Lane 4753f36
* Tue Dec 28 2010 Tom Lane <tgl@redhat.com> 9.0.2-1
Tom Lane 4753f36
- Update to PostgreSQL 9.0.2 (major version bump)
Tom Lane 4753f36
- Create infrastructure for in-place database upgrade using pg_upgrade
Tom Lane 4753f36
Resolves: #398221
Tom Lane 4753f36
Tom Lane 6b84484
* Thu Dec 16 2010 Tom Lane <tgl@redhat.com> 8.4.6-1
Tom Lane 6b84484
- Update to PostgreSQL 8.4.6, for various fixes described at
Tom Lane 6b84484
  http://www.postgresql.org/docs/8.4/static/release-8-4-6.html
Tom Lane 6b84484
- Ensure we don't package any .gitignore files from the source tarball
Tom Lane 6b84484
Related: #642210
Tom Lane 6b84484
24943ae
* Tue Oct  5 2010 Tom Lane <tgl@redhat.com> 8.4.5-1
24943ae
- Update to PostgreSQL 8.4.5, for various fixes described at
24943ae
  http://www.postgresql.org/docs/8.4/static/release-8-4-5.html
24943ae
  including the fix for CVE-2010-3433
24943ae
Related: #639371
24943ae
- Add -p "$pidfile" to initscript's status call to improve corner cases.
24943ae
Related: #561010
24943ae
ac363ac
* Sat Jul 31 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 8.4.4-3
ac363ac
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
19bd07f
- Duplicate COPYRIGHT in -libs subpackage, per revised packaging guidelines
19bd07f
5f6138f
* Wed Jun 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 8.4.4-2
5f6138f
- Mass rebuild with perl-5.12.0
5f6138f
3adc308
* Mon May 17 2010 Tom Lane <tgl@redhat.com> 8.4.4-1
3adc308
- Update to PostgreSQL 8.4.4, for various fixes described at
3adc308
  http://www.postgresql.org/docs/8.4/static/release-8-4-4.html
3adc308
  including fixes for CVE-2010-1169 and CVE-2010-1170
3adc308
Resolves: #593032
3adc308
446c31a
* Sun Mar 14 2010 Tom Lane <tgl@redhat.com> 8.4.3-1
446c31a
- Update to PostgreSQL 8.4.3, for various fixes described at
446c31a
  http://www.postgresql.org/docs/8.4/static/release-8-4-3.html
446c31a
9cc5f20
* Mon Feb 22 2010 Tom Lane <tgl@redhat.com> 8.4.2-8
9cc5f20
- Bring init script into some modicum of compliance with Fedora/LSB standards
9cc5f20
Resolves: #201043
9cc5f20
b7fa69b
* Thu Feb 18 2010 Tom "spot" Callaway <tcallawa@redhat.com> 8.4.2-7
b7fa69b
- adjust license tag to reflect OSI decision
b7fa69b
1a80a96
* Tue Jan 26 2010 Tom Lane <tgl@redhat.com> 8.4.2-6
1a80a96
- Emit explicit error message if user tries to build RPM as root
1a80a96
Related: #558921
1a80a96
63cfa0e
* Wed Jan 20 2010 Tom Lane <tgl@redhat.com> 8.4.2-5
962b39e
- Latest version of systemtap needs the probes.o file to be built again
962b39e
Resolves: #557266
63cfa0e
- Provide script and instructions for building the documentation PDF
63cfa0e
8c0b311
* Mon Jan 11 2010 Tom Lane <tgl@redhat.com> 8.4.2-4
8c0b311
- Arrange for the postmaster, but not any of its child processes, to be run
8c0b311
  with oom_adj -17.  This compensates for the OOM killer not being smart about
8c0b311
  accounting for shared memory usage.
8c0b311
2a1cdc6
* Sat Jan  9 2010 Tom Lane <tgl@redhat.com> 8.4.2-3
2a1cdc6
- Remove the postgresql-python and postgresql-tcl subpackages.  These files
2a1cdc6
  are now broken out as their own packages (PyGreSQL and tcl-pgtcl,
2a1cdc6
  respectively), to reflect the now longstanding split of upstream projects.
2a1cdc6
Related: #452306, #452321
2a1cdc6
a6a1e9b
* Tue Jan  5 2010 Tom Lane <tgl@redhat.com> 8.4.2-2
a6a1e9b
- Remove static libraries (.a files) from package, per packaging guidelines
a6a1e9b
- Change %%define to %%global, per packaging guidelines
a6a1e9b
27a52c7
* Wed Dec 16 2009 Tom Lane <tgl@redhat.com> 8.4.2-1
27a52c7
- Update to PostgreSQL 8.4.2, for various fixes described at
27a52c7
  http://www.postgresql.org/docs/8.4/static/release-8-4-2.html
27a52c7
  including two security issues
27a52c7
Related: #546321
27a52c7
Related: #547662
27a52c7
- Use -N not the obsolete -n in useradd call
27a52c7
Resolves: #495727
27a52c7
- Clean up specfile to eliminate rpmlint gripes, mainly by removing
27a52c7
  no-longer-needed provisions for superseding rh-postgresql
27a52c7
b34a338
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 8.4.1-5
b34a338
- rebuild against perl 5.10.1
b34a338
b1315b8
* Thu Oct 15 2009 Tom Lane <tgl@redhat.com> 8.4.1-4
b1315b8
- add sparc/sparc64 to multilib header support
b1315b8
8387bb8
* Mon Sep 21 2009 Tom Lane <tgl@redhat.com> 8.4.1-3
8387bb8
- Ensure pgstartup.log gets the right ownership/permissions during initdb
8387bb8
Resolves: #498959
8387bb8
17942eb
* Wed Sep 16 2009 Tomas Mraz <tmraz@redhat.com> - 8.4.1-2
17942eb
- Use password-auth common PAM configuration instead of system-auth
17942eb
a8e2f35
* Wed Sep  9 2009 Tom Lane <tgl@redhat.com> 8.4.1-1
a8e2f35
- Update to PostgreSQL 8.4.1, for various fixes described at
a8e2f35
  http://www.postgresql.org/docs/8.4/static/release-8-4-1.html
a8e2f35
  including two security issues
a8e2f35
Related: #522085
a8e2f35
Related: #522092
a8e2f35
10587f4
* Tue Sep 01 2009 Karsten Hopp <karsten@redhat.com> 8.4.0-3.2
10587f4
- bump release and build again with the correct libssl
10587f4
8f9b712
* Tue Sep 01 2009 Karsten Hopp <karsten@redhat.com> 8.4.0-3.1
8f9b712
- disable dtrace on s390x as a workaround until #520469 has been fixed
8f9b712
3c51035
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 8.4.0-3
3c51035
- rebuilt with new openssl
3c51035
8b3d2d6
* Thu Aug 20 2009 Tom "spot" Callaway <tcallawa@redhat.com> 8.4.0-2
8b3d2d6
- update License tag to MIT (PostgreSQL calls it "BSD", but it is MIT)
8b3d2d6
- Note: This changes nothing from a license compatibility perspective.
8b3d2d6
084ca74
* Mon Aug 17 2009 Tom Lane <tgl@redhat.com> 8.4.0-1
084ca74
- Update to PostgreSQL 8.4.0.  See release notes at
084ca74
  http://www.postgresql.org/docs/8.4/static/release-8-4.html
084ca74
cddd791
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.3.7-2
cddd791
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
cddd791
bc5e872
* Sat Mar 21 2009 Tom Lane <tgl@redhat.com> 8.3.7-1
bc5e872
- Update to PostgreSQL 8.3.7, for various fixes described at
bc5e872
  http://www.postgresql.org/docs/8.3/static/release-8-3-7.html
bc5e872
  notably the fix for CVE-2009-0922
bc5e872
18a2a1a
* Tue Mar 10 2009 Tom Lane <tgl@redhat.com> 8.3.6-4
18a2a1a
- Prevent dependent packages from needing to include sys/sdt.h
18a2a1a
  (unintended side effect of previous patch)
18a2a1a
- Use -O1 on alpha, per report from Oliver Falk; -O2 tickles gcc bugs
18a2a1a
14d3433
* Sun Mar  8 2009 Tom Lane <tgl@redhat.com> 8.3.6-3
14d3433
- Enable tracing via systemtap
14d3433
Resolves: #488941
14d3433
e1e0511
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.3.6-2
e1e0511
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e1e0511
d4ab76c
* Sat Feb  7 2009 Tom Lane <tgl@redhat.com> 8.3.6-1
d4ab76c
- Update to PostgreSQL 8.3.6, for various fixes described at
d4ab76c
  http://www.postgresql.org/docs/8.3/static/release-8-3-6.html
d4ab76c
2f4174b
* Wed Jan 21 2009 Dennis Gilmore <dennis@ausil.us> 8.3.5-4
2f4174b
- use -O1 on sparc64
2f4174b
74b1eab
* Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 8.3.5-3
74b1eab
- rebuild with new openssl
74b1eab
31b180c
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 8.3.5-2
31b180c
- Rebuild for Python 2.6
31b180c
ef0957b
* Sun Nov  2 2008 Tom Lane <tgl@redhat.com> 8.3.5-1
ef0957b
- Update to PostgreSQL 8.3.5.
ef0957b
- Improve display from init script's initdb action, per Michael Schwendt
ef0957b
516dbde
* Thu Sep 25 2008 Tom Lane <tgl@redhat.com> 8.3.4-1
516dbde
- Update to PostgreSQL 8.3.4.
516dbde
09bd3b3
* Mon Jul 28 2008 Tom Lane <tgl@redhat.com> 8.3.3-3
09bd3b3
- Fix build failure caused by new default patch fuzz = 0 policy in rawhide.
09bd3b3
898ed62
* Fri Jun 20 2008 Tom Lane <tgl@redhat.com> 8.3.3-2
898ed62
- Install Pgtcl in /usr/lib/tcl$TCL_VERSION, not directly in /usr/lib.
898ed62
  Needed because tcl 8.5 no longer puts /usr/lib into its package search path.
898ed62
  NOTE: do not back-port this change into branches using pre-8.5 tcl, because
898ed62
  /usr/lib/tcl8.4 had been a symlink to /usr/share/tcl8.4, and /usr/share
898ed62
  is exactly where we must not put Pgtcl.
898ed62
Resolves: #228263
898ed62
493aa00
* Wed Jun 11 2008 Tom Lane <tgl@redhat.com> 8.3.3-1
493aa00
- Update to PostgreSQL 8.3.3.
493aa00
- Remove postgresql-prefer-ncurses.patch, no longer needed in recent
493aa00
  Fedora releases because libtermcap is gone.
493aa00
6e3b5a3
* Sat May 17 2008 Tom Lane <tgl@redhat.com> 8.3.1-5
6e3b5a3
- rebuild because of buildsystem hiccup
6e3b5a3
affd6a0
* Sat May 17 2008 Tom Lane <tgl@redhat.com> 8.3.1-4
affd6a0
- Enable LDAP support
affd6a0
Resolves: #445315
affd6a0
- Use -Wl,--as-needed to suppress bogus dependencies for libraries that
affd6a0
  are really only needed by some of the subpackages
affd6a0
f6af6c0
* Mon Apr 28 2008 Tom Lane <tgl@redhat.com> 8.3.1-3
f6af6c0
- Fix build breakage on PPC due to incorrect configure test
f6af6c0
Related: #444317
f6af6c0
3a834ad
* Sat Apr 26 2008 Tom Lane <tgl@redhat.com> 8.3.1-2
3a834ad
- Clean up cross-subpackage Requires: to ensure that updating any one
3a834ad
  subpackage brings in the matching versions of others.
3a834ad
Resolves: #444271
3a834ad
d81bd83
* Tue Mar 25 2008 Tom Lane <tgl@redhat.com> 8.3.1-1
d81bd83
- Update to PostgreSQL 8.3.1.
d81bd83
8533877
* Tue Mar 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> 8.3.0-3
8533877
- add Requires for versioned perl (libperl.so)
8533877
1f28b3c
* Wed Feb  6 2008 Tom Lane <tgl@redhat.com> 8.3.0-2
1f28b3c
- Enable the new GSSAPI support in 8.3.0.
1f28b3c
e6b898c
* Mon Feb  4 2008 Tom Lane <tgl@redhat.com> 8.3.0-1
e6b898c
- Update to PostgreSQL 8.3.0.
e6b898c
8bf3ae4
* Fri Jan 18 2008 Tom Lane <tgl@redhat.com> 8.3RC2-1
8bf3ae4
- Update to PostgreSQL 8.3RC2 (not waiting for 8.3.0 because Fedora 9 alpha
8bf3ae4
  should be 8.3-based not 8.2-based).
8bf3ae4
- Update to pgtcl 1.6.2
8bf3ae4
6bcab53
* Mon Jan  7 2008 Tom Lane <tgl@redhat.com> 8.2.6-1
6bcab53
- Update to PostgreSQL 8.2.6 to fix CVE-2007-4769, CVE-2007-4772,
6bcab53
  CVE-2007-6067, CVE-2007-6600, CVE-2007-6601
8d5bd11
- Make initscript and pam config files be installed unconditionally;
8d5bd11
  seems new buildroots don't necessarily have those directories in place
6bcab53
e5fb010
* Wed Dec  5 2007 Tom Lane <tgl@redhat.com> 8.2.5-2
e5fb010
- Rebuild for new openssl
e5fb010
a7e7a42
* Thu Sep 20 2007 Tom Lane <tgl@redhat.com> 8.2.5-1
a7e7a42
- Update to PostgreSQL 8.2.5 and pgtcl 1.6.0
a7e7a42
23226f9
* Tue Sep  4 2007 Tom Lane <tgl@redhat.com> 8.2.4-6
23226f9
- Fix multilib problem for /usr/include/ecpg_config.h (which is new in 8.2.x)
23226f9
05e04c8
* Sat Aug 25 2007 Tom Lane <tgl@redhat.com> 8.2.4-5
05e04c8
- Use nicer solution for tzdata file substitution: upstream discussion
05e04c8
  concluded that hardwiring the path was better than a symlink after all.
05e04c8
3ab1d6b
* Wed Aug 22 2007 Tom Lane <tgl@redhat.com> 8.2.4-4
3ab1d6b
- Use tzdata package's data files instead of private copy, so that
3ab1d6b
  postgresql-server need not be turned for routine timezone updates
3ab1d6b
- Don't remove postgres user/group during RPM uninstall, per Fedora
3ab1d6b
  packaging guidelines
1a0df18
- Seems we need an explicit BuildRequires on gawk now
3ab1d6b
- Rebuild to fix Fedora toolchain issues
3ab1d6b
d31a87d
* Sun Aug 12 2007 Tom Lane <tgl@redhat.com> 8.2.4-3
d31a87d
- Recent perl changes in rawhide mean we need a more specific BuildRequires
d31a87d
1fbccd0
* Wed Jun 20 2007 Tom Lane <tgl@redhat.com> 8.2.4-2
1fbccd0
- Fix oversight in postgresql-test makefile: pg_regress isn't a shell script
1fbccd0
  anymore.  Per upstream bug 3398.
1fbccd0
2ee0978
* Tue Apr 24 2007 Tom Lane <tgl@redhat.com> 8.2.4-1
2ee0978
- Update to PostgreSQL 8.2.4 for CVE-2007-2138, data loss bugs
2ee0978
Resolves: #237682
2ee0978
32445b6
* Wed Feb 14 2007 Karsten Hopp <karsten@redhat.com> 8.2.3-2
32445b6
- rebuild with tcl-8.4
32445b6
8f32cc1
* Wed Feb  7 2007 Tom Lane <tgl@redhat.com> 8.2.3-1
8f32cc1
- Update to PostgreSQL 8.2.3 due to regression induced by security fix
8f32cc1
Resolves: #227522
8f32cc1
3fe398b
* Sun Feb  4 2007 Tom Lane <tgl@redhat.com> 8.2.2-1
3fe398b
- Update to PostgreSQL 8.2.2 to fix CVE-2007-0555, CVE-2007-0556
3fe398b
Related: #225496
3fe398b
d6ea25d
* Fri Jan 12 2007 Tom Lane <tgl@redhat.com> 8.2.1-2
d6ea25d
- Split -pl subpackage into three new packages to reduce dependencies
d6ea25d
  and track upstream project's packaging.
d6ea25d
721f5ec
* Wed Jan 10 2007 Tom Lane <tgl@redhat.com> 8.2.1-1
721f5ec
- Update to PostgreSQL 8.2.1
721f5ec
- Update to pgtcl 1.5.3
721f5ec
- Be sure we link to libncurses, not libtermcap which is disappearing in Fedora
721f5ec
a703279
* Thu Dec  7 2006 Jeremy Katz <katzj@redhat.com> - 8.2.0-2
a703279
- rebuild for python 2.5
a703279
9405842
* Mon Dec  4 2006 Tom Lane <tgl@redhat.com> 8.2.0-1
9405842
- Update to PostgreSQL 8.2.0
9405842
- Update to PyGreSQL 3.8.1
9405842
- Fix chcon arguments in test/regress/Makefile
9405842
Related: #201035
9405842
- Adjust init script to not fool /etc/rc.d/rc
9405842
Resolves: #161470
9405842
- Change init script to not do initdb automatically, but require
9405842
  manual "service postgresql initdb" for safety.  Per upstream discussions.
9405842
a1b4e26
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 8.1.4-1.1
a1b4e26
- rebuild
a1b4e26
702bdb8
* Mon May 22 2006 Tom Lane <tgl@redhat.com> 8.1.4-1
702bdb8
- Update to PostgreSQL 8.1.4 (includes fixes for CVE-2006-2313, CVE-2006-2314;
702bdb8
  see bug #192173)
702bdb8
- Update to PyGreSQL 3.8
702bdb8
- Suppress noise from chcon, per bug #187744
702bdb8
5cdde2c
* Mon Mar 27 2006 Tom Lane <tgl@redhat.com> 8.1.3-2
5cdde2c
- Remove JDBC from this build; we will package it as separate SRPM
5cdde2c
f9c5723
* Mon Feb 13 2006 Jesse Keating <jkeating@redhat.com> - 8.1.3-1.1
f9c5723
- rebump for build order issues during double-long bump
f9c5723
3b6d1bc
* Mon Feb 13 2006 Tom Lane <tgl@redhat.com> 8.1.3-1
3b6d1bc
- Update to PostgreSQL 8.1.3 (fixes bug #180617, CVE-2006-0553)
3b6d1bc
- Update to jdbc driver build 405
3b6d1bc
- Modify multilib header hack to not break non-RH arches, per bug #177564
3b6d1bc
396c0e4
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 8.1.2-1.1
396c0e4
- rebuilt for new gcc4.1 snapshot and glibc changes
396c0e4
1dfa8f9
* Mon Jan  9 2006 Tom Lane <tgl@redhat.com> 8.1.2-1
49d3183
- Update to PostgreSQL 8.1.2
1dfa8f9
- Repair extraneous quote in pgtcl configure script ... odd that bash
1dfa8f9
  didn't use to spit up on this.
49d3183
fc98a4f
* Thu Dec 15 2005 Tom Lane <tgl@redhat.com> 8.1.1-3
fc98a4f
- fix pg_config.h for 64-bit and ppc platforms
fc98a4f
- update Makefile.regress (needs to --load-language=plpgsql)
fc98a4f
d644a0e
* Wed Dec 14 2005 Tom Lane <tgl@redhat.com> 8.1.1-2
d644a0e
- oops, looks like we want uname -i not uname -m
d644a0e
a15ec21
* Wed Dec 14 2005 Tom Lane <tgl@redhat.com> 8.1.1-1
a15ec21
- Update to PostgreSQL 8.1.1
a15ec21
- Make pg_config.h architecture-independent for multilib installs;
a15ec21
  put the original pg_config.h into pg_config_$ARCH.h
a15ec21
3159c0a
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
3159c0a
- rebuilt
3159c0a
d925f01
* Sat Nov 12 2005 Tom Lane <tgl@redhat.com> 8.1.0-4
d925f01
- Update included PDF-format manual to 8.1.
d925f01
70e7092
* Wed Nov  9 2005 Tom Lane <tgl@redhat.com> 8.1.0-3
70e7092
- Rebuild due to openssl library update.
70e7092
4fe43eb
* Wed Nov  9 2005 Tom Lane <tgl@redhat.com> 8.1.0-2
4fe43eb
- Rebuild due to openssl library update.
4fe43eb
80b1cae
* Mon Nov  7 2005 Tom Lane <tgl@redhat.com> 8.1.0-1
80b1cae
- Update to PostgreSQL 8.1.0, PyGreSQL 3.7, and jdbc driver build 404
80b1cae
- Fix PAM config file (must have account not only auth) (bug #167040)
80b1cae
- Add BuildPrereq: libxslt-devel (bug #170141)
80b1cae
- Sync with PGDG SRPM as much as feasible
80b1cae
81785f0
* Fri Oct 14 2005 Tomas Mraz <tmraz@redhat.com>
81785f0
- use include instead of pam_stack in pam config
81785f0
f718878
* Tue Oct  4 2005 Tom Lane <tgl@redhat.com> 8.0.4-2
f718878
- Add rpath to plperl.so (bug #162198)
f718878
32269db
* Tue Oct  4 2005 Tom Lane <tgl@redhat.com> 8.0.4-1
32269db
- Update to PostgreSQL 8.0.4, PyGreSQL 3.6.2, and jdbc driver build 312
32269db
- Adjust pgtcl link command to ensure it binds to correct libpq (bug #166665)
32269db
- Remove obsolete Conflicts: against other python versions (bug #166754)
32269db
- Add /etc/pam.d/postgresql (bug #167040)
32269db
- Include contrib/xml2 in build (bug #167492)
32269db
e8f554d
* Tue May 10 2005 Tom Lane <tgl@redhat.com> 8.0.3-1
e8f554d
- Update to PostgreSQL 8.0.3 (includes security and data-loss fixes; see
e8f554d
  bz#156727, CAN-2005-1409, CAN-2005-1410)
e8f554d
- Update to jdbc driver build 311
e8f554d
- Recreate postgres user after superseding an rh-postgresql install (bug #151911)
e8f554d
- Ensure postgresql server is restarted if running during an upgrade
e8f554d
e8f554d
* Thu Apr 14 2005 Florian La Roche <laroche@redhat.com> 8.0.2-2
Florian La Roche 391b666
- rebuild for postgresql-tcl
Florian La Roche 391b666
41ac9b7
* Tue Apr 12 2005 Tom Lane <tgl@redhat.com> 8.0.2-1
41ac9b7
- Update to PostgreSQL 8.0.2.
41ac9b7
ec5d1ae
* Fri Mar 11 2005 Tom Lane <tgl@redhat.com> 8.0.1-5
ec5d1ae
- Remove unwanted rpath specification from pgtcl (bz#150649)
ec5d1ae
dadd60b
* Wed Mar  2 2005 Tom Lane <tgl@redhat.com> 8.0.1-4
dadd60b
- Attach Obsoletes: declarations for rh-postgresql to subpackages (bz#144435)
dadd60b
- Make Requires: and Prereq: package linkages specify release not only
dadd60b
  version, as per recent mailing list discussion.
dadd60b
a70d6a1
* Tue Mar  1 2005 Tomas Mraz <tmraz@redhat.com> 8.0.1-3
a70d6a1
- rebuild with openssl-0.9.7e
a70d6a1
26b954a
* Mon Feb 21 2005 Tom Lane <tgl@redhat.com> 8.0.1-2
26b954a
- Repair improper error message in init script when PGVERSION doesn't match.
26b954a
- Arrange for auto update of version embedded in init script.
26b954a
eb3bf28
* Sun Jan 30 2005 Tom Lane <tgl@redhat.com> 8.0.1-1
eb3bf28
- Update to PostgreSQL 8.0.1.
eb3bf28
- Add versionless symlinks to jar files (bz#145744)
eb3bf28
6e96691
* Wed Jan 19 2005 Tom Lane <tgl@redhat.com> 8.0.0-1
6e96691
- Update to PostgreSQL 8.0.0, PyGreSQL 3.6.1, pgtcl 1.5.2,
6e96691
  and jdbc driver build 309.
6e96691
- Extensive cleanout of obsolete cruft in patch set.
6e96691
- Regression tests are run during RPM build (NOTE: cannot build as root when
6e96691
  this is enabled).
6e96691
- Postmaster stderr goes someplace useful, not /dev/null (bz#76503, #103767)
6e96691
- Make init script return a useful exit status (bz#80782)
6e96691
- Move docs' tutorial directory to %%{_libdir}/pgsql/tutorial, since it
6e96691
  includes .so files that surely do not belong under /usr/share.
6e96691
- Remove useless .sgml files from docs RPM (bz#134450)
6e96691
- Put regression tests under /usr/lib64 on 64-bit archs, since .so files
6e96691
  are not architecture-independent.
6e96691
cc192f6
* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> 7.4.6-5
cc192f6
- Rebuilt for new readline.
cc192f6
a884bda
* Tue Jan 11 2005 Dan Walsh <dwalsh@redhat.com> 7.4.6-4
a884bda
- Add restorecon to postgresql.init in order to restore database to correct
a884bda
- SELinux context.
a884bda
ec364ab
* Thu Dec 16 2004 Tom Lane <tgl@redhat.com> 7.4.6-3
ec364ab
- Update to PyGreSQL 3.6 (to fix bug #142711)
ec364ab
- Adjust a few file permissions (bug #142431)
ec364ab
- Assign %%{_libdir}/pgsql to base package instead of -server (bug #74003)
ec364ab
e5eb733
* Mon Nov 15 2004 Tom Lane <tgl@redhat.com> 7.4.6-2
e5eb733
- Rebuild so python components play with python 2.4 (bug 139160)
e5eb733
fefe019
* Sat Oct 23 2004 Tom Lane <tgl@redhat.com> 7.4.6-1
fefe019
- Update to PostgreSQL 7.4.6 (bugs 136947, 136949)
fefe019
- Make init script more paranoid about mkdir step of initializing a new
fefe019
  database (bugs 136947, 136949)
fefe019
3c38c70
* Wed Oct 20 2004 Tom Lane <tgl@redhat.com> 7.4.5-4
3c38c70
- Remove contrib/oidjoins stuff from installed fileset; it's of no use
3c38c70
  to ordinary users and has a security issue (bugs 136300, 136301)
3c38c70
- adjust chkconfig priority (bug 128852)
3c38c70
3fd417a
* Tue Oct 05 2004 Tom Lane <tgl@redhat.com> 7.4.5-3
3fd417a
- Solve the stale lockfile problem (bugs 71295, 96981, 134090)
3fd417a
- Use runuser instead of su for SELinux (bug 134588)
3fd417a
cvsdist 0c2148c
* Mon Aug 30 2004 Tom Lane <tgl@redhat.com> 7.4.5-2
cvsdist 0c2148c
- Update to PyGreSQL 3.5.
cvsdist 0c2148c
b6b61d6
* Tue Aug 24 2004 Tom Lane <tgl@redhat.com> 7.4.5-1
cvsdist eeda6e6
- Update to PostgreSQL 7.4.5.
cvsdist eeda6e6
- Update JDBC jars to driver build 215.
cvsdist eeda6e6
- Add Obsoletes: entries for rh-postgresql packages, per bug 129278.
cvsdist eeda6e6
cvsdist 419f136
* Sat Jul 10 2004 Tom Lane <tgl@redhat.com> 7.4.3-3
cvsdist 419f136
- Undo ill-considered chkconfig change that causes server to start
cvsdist 419f136
  immediately upon install.  Mea culpa (bug 127552).
cvsdist 419f136
cvsdist 54d3615
* Sat Jul 03 2004 Tom Lane <tgl@redhat.com> 7.4.3-2
cvsdist 54d3615
- Update JDBC jars to driver build 214.
cvsdist 54d3615
cvsdist aba59f5
* Wed Jun 23 2004 Tom Lane <tgl@redhat.com> 7.4.3-1
cvsdist aba59f5
- Update to PostgreSQL 7.4.3.
cvsdist aba59f5
- Uninstalling server RPM stops postmaster first, per bug 114846.
cvsdist aba59f5
- Fix su commands to not assume PG user's shell is sh-like, per bug 124024.
cvsdist aba59f5
- Fix permissions on postgresql-python doc files, per bug 124822.
cvsdist aba59f5
- Minor postgresql.init improvements.
cvsdist aba59f5
cvsdist aba59f5
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist aba59f5
- rebuilt
cvsdist aba59f5
cvsdist 027e0bd
* Wed Mar 10 2004 Tom Lane <tgl@redhat.com> 7.4.2-1
cvsdist 027e0bd
- Update to PostgreSQL 7.4.2; sync with community SRPM as much as possible.
cvsdist 027e0bd
- Support PGOPTS from /etc/sysconfig/pgsql, per bug 111504.
cvsdist 027e0bd
- Fix permissions on /etc/sysconfig/pgsql, per bug 115278.
cvsdist 027e0bd
- SELinux patch in init file: always su 
cvsdist 027e0bd
- Rebuilt
cvsdist 027e0bd
cvsdist 027e0bd
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 027e0bd
- rebuilt
cvsdist 027e0bd
cvsdist 027e0bd
* Wed Feb 25 2004 Tom Lane <tgl@redhat.com>
cvsdist 027e0bd
- Update to PostgreSQL 7.4.1.
cvsdist 027e0bd
- Rebuilt
cvsdist 027e0bd
cvsdist 027e0bd
* Tue Feb 24 2004 Tom Lane <tgl@redhat.com>
cvsdist 027e0bd
- Fix chown syntax in postgresql.init also.
cvsdist 027e0bd
- Rebuilt
cvsdist 027e0bd
cvsdist 027e0bd
* Mon Feb 23 2004 Tim Waugh <twaugh@redhat.com>
cvsdist 027e0bd
- Use ':' instead of '.' as separator for chown.
cvsdist 027e0bd
cvsdist 027e0bd
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 027e0bd
- rebuilt
cvsdist 027e0bd
cvsdist 027e0bd
* Fri Jan 9 2004 Lamar Owen <lowen@pari.edu>
cvsdist 027e0bd
- 7.4.1-1PGDG
cvsdist 027e0bd
- Merge Sander Steffann's changes up to 7.4-0.5PGDG
cvsdist 027e0bd
- Proper 7.4.1 JDBC jars this time.
cvsdist 027e0bd
- Patch for no pl/python from Alvaro
cvsdist 027e0bd
cvsdist c205ec8
* Fri Dec 05 2003 David Jee <djee@redhat.com> 7.4-5
cvsdist c205ec8
- Rebuild for Perl 5.8.2.
cvsdist c205ec8
cvsdist c205ec8
* Mon Dec 01 2003 David Jee <djee@redhat.com> 7.4-4
cvsdist c205ec8
- Add PyGreSQL patch for deprecated column pg_type.typprtlen [Bug #111263]
cvsdist c205ec8
- Add headers patch which moves ecpg headers to /usr/include/ecpg
cvsdist c205ec8
  [Bug #111195]
cvsdist c205ec8
cvsdist c205ec8
* Fri Nov 28 2003 David Jee <djee@redhat.com> 7.4-3
cvsdist c205ec8
- uncomment buildrequires tcl-devel
cvsdist c205ec8
cvsdist c205ec8
* Fri Nov 28 2003 David Jee <djee@redhat.com> 7.4-2
cvsdist c205ec8
- rebuild
cvsdist c205ec8
cvsdist c205ec8
* Mon Nov 24 2003 David Jee <djee@redhat.com> 7.4-1
cvsdist c205ec8
- initial Red Hat build
cvsdist c205ec8
- move jars to /usr/share/java
cvsdist c205ec8
- fix rpm-multilib patch to use sysconfig
cvsdist c205ec8
cvsdist c205ec8
* Fri Nov 21 2003 Lamar Owen <lowen@pari.edu> <lamar.owen@wgcr.org>
cvsdist c205ec8
- 7.4-0.1PGDG
cvsdist c205ec8
- Development JDBC jars in addition to the 7.3 jars; will replace the
cvsdist c205ec8
- 7.3 jars once 7.4 official jars are released.
cvsdist c205ec8
- Changed to use the bzip2 source to save a little size.
cvsdist c205ec8
- Removed some commented out portions of the specfile.
cvsdist c205ec8
- Removed the 7.3.4 PDF docs.  Will replace with 7.4 PDF's once they
cvsdist c205ec8
- are ready.
cvsdist c205ec8
cvsdist c205ec8
* Tue Nov 18 2003 Kaj J. Niemi <kajtzu@fi.basen.net> 7.4-0.1
cvsdist c205ec8
- 7.4
cvsdist c205ec8
- Fixed Patch #1 (now rpm-pgsql-7.4.patch)
cvsdist c205ec8
- Fixed Patch #2 (now rpm-multilib-7.4.patch):
cvsdist c205ec8
- Patch #4 is unnecessary (upstream)
cvsdist c205ec8
- Fixed Patch #6 (now postgresql-7.4-src-tutorial.patch)
cvsdist c205ec8
- Added Patch #8 (postgresql-7.4-com_err.patch) as com_err()
cvsdist c205ec8
  is provided by e2fsprogs and CPPFLAGS gets lost somewhere
cvsdist c205ec8
  inside configure (bad macro?)
cvsdist c205ec8
- No 7.4 PDF docs available yet (Source #17)
cvsdist c205ec8
- PyGreSQL is separated from the upstream distribution but
cvsdist c205ec8
  we include it as usual (Source #18)
cvsdist c205ec8
- Default to compiling libpq and ECPG as fully thread-safe
cvsdist c205ec8
cvsdist c205ec8
- 7.4 Origin.  See previous spec files for previous history. Adapted
cvsdist c205ec8
- from Red Hat and PGDG's 7.3.4 RPM, directly descended from 
cvsdist c205ec8
- postgresql-7.3.4-2 as shipped in Fedora Core 1.