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>
80b1cae
# and others listed.
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
80b1cae
# This spec file and ancilliary 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.
084ca74
# The base package, the lib package, the devel package, and the server package
084ca74
# always get built.
cvsdist c205ec8
4c6a54c
%global beta 0
4c6a54c
%{?beta:%global __os_install_post /usr/lib/rpm/brp-compress}
4c6a54c
4c6a54c
%{!?tcldevel:%global tcldevel 1}
4c6a54c
%{!?test:%global test 1}
4c6a54c
%{!?plpython:%global plpython 1}
4c6a54c
%{!?pltcl:%global pltcl 1}
4c6a54c
%{!?plperl:%global plperl 1}
4c6a54c
%{!?python:%global python 1}
4c6a54c
%{!?tcl:%global tcl 1}
4c6a54c
%{!?ssl:%global ssl 1}
4c6a54c
%{!?kerberos:%global kerberos 1}
4c6a54c
%{!?ldap:%global ldap 1}
4c6a54c
%{!?nls:%global nls 1}
4c6a54c
%{!?uuid:%global uuid 1}
4c6a54c
%{!?xml:%global xml 1}
4c6a54c
%{!?pam:%global pam 1}
4c6a54c
%{!?sdt:%global sdt 1}
4c6a54c
%{!?pgfts:%global pgfts 1}
4c6a54c
%{!?runselftest:%global runselftest 1}
cvsdist c205ec8
cvsdist c205ec8
# Python major version.
4c6a54c
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
cvsdist c205ec8
cvsdist c205ec8
e5d4b4d
Summary: PostgreSQL client programs
cvsdist c205ec8
Name: postgresql
4c6a54c
%global majorversion 8.4
3a0527a
Version: 8.4.5
e5d4b4d
Release: 1%{?dist}
63005cc
# The PostgreSQL license is very similar to other MIT licenses, but the OSI
63005cc
# recognizes it as an independent license, so we do as well.
63005cc
License: PostgreSQL
cvsdist c205ec8
Group: Applications/Databases
80b1cae
Url: http://www.postgresql.org/ 
80b1cae
cvsdist c205ec8
Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
cvsdist c205ec8
Source3: postgresql.init
6e96691
Source4: Makefile.regress
a15ec21
Source5: pg_config.h
cvsdist c205ec8
Source6: README.rpm-dist
23226f9
Source7: ecpg_config.h
32269db
Source14: postgresql.pam
cvsdist c205ec8
Source15: postgresql-bashprofile
cvsdist c205ec8
Source16: filter-requires-perl-Pg.sh
f70285d
Source17: http://www.postgresql.org/docs/manuals/postgresql-%{version}-US.pdf
9405842
Source18: ftp://ftp.pygresql.org/pub/distrib/PyGreSQL-3.8.1.tgz
8bf3ae4
Source19: http://pgfoundry.org/projects/pgtclng/pgtcl1.6.2.tar.gz
a7e7a42
Source20: http://pgfoundry.org/projects/pgtclng/pgtcldocs-20070115.zip
80b1cae
4c6a54c
# Comments for these patches are in the patch files.
6e96691
Patch1: rpm-pgsql.patch
6bcab53
Patch2: postgresql-ac-version.patch
6e96691
Patch3: postgresql-logging.patch
4c6a54c
Patch4: postgresql-oom-adj.patch
ec5d1ae
Patch5: pgtcl-no-rpath.patch
32269db
Patch6: postgresql-perl-rpath.patch
80b1cae
1a0df18
BuildRequires: perl(ExtUtils::MakeMaker) glibc-devel bison flex autoconf gawk
8533877
BuildRequires: perl(ExtUtils::Embed), perl-devel
8533877
# for /sbin/ldconfig
e5d4b4d
Requires(post): glibc initscripts
e5d4b4d
Requires(postun): glibc initscripts
80b1cae
d6ea25d
%if %python || %plpython
2ee0978
BuildRequires: python-devel
cvsdist c205ec8
%endif
80b1cae
6e96691
%if %tcl || %pltcl
2ee0978
BuildRequires: tcl
cvsdist 027e0bd
%if %tcldevel
2ee0978
BuildRequires: tcl-devel
cvsdist c205ec8
%endif
cvsdist 027e0bd
%endif
80b1cae
2ee0978
BuildRequires: readline-devel
2ee0978
BuildRequires: zlib-devel >= 1.0.4
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
3a834ad
# main package requires -libs subpackage
3a834ad
Requires: postgresql-libs = %{version}-%{release}
3a834ad
3fe398b
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
cvsdist c205ec8
cvsdist c205ec8
%description
cvsdist c205ec8
PostgreSQL is an advanced Object-Relational database management system
cvsdist c205ec8
(DBMS) that supports almost all SQL constructs (including
cvsdist c205ec8
transactions, subselects and user-defined types and functions). The
cvsdist c205ec8
postgresql package includes the client programs and libraries that
cvsdist c205ec8
you'll need to access a PostgreSQL DBMS server.  These PostgreSQL
cvsdist c205ec8
client programs are programs that directly manipulate the internal
cvsdist c205ec8
structure of PostgreSQL databases on a PostgreSQL server. These client
cvsdist c205ec8
programs can be located on the same machine with the PostgreSQL
cvsdist c205ec8
server, or may be on a remote machine which accesses a PostgreSQL
cvsdist c205ec8
server over a network connection. This package contains the docs
cvsdist c205ec8
in HTML for the whole package, as well as command-line utilities for
cvsdist c205ec8
managing PostgreSQL databases on a PostgreSQL server. 
cvsdist c205ec8
084ca74
If you want to manipulate a PostgreSQL database on a local or remote PostgreSQL
cvsdist c205ec8
server, you need this package. You also need to install this package
cvsdist c205ec8
if you're installing the postgresql-server package.
cvsdist c205ec8
cvsdist c205ec8
%package libs
2ee0978
Summary: The shared libraries required for any PostgreSQL clients
cvsdist c205ec8
Group: Applications/Databases
e5d4b4d
Provides: libpq.so = %{version}-%{release}
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
cvsdist c205ec8
%package server
2ee0978
Summary: The programs needed to create and run a PostgreSQL server
cvsdist c205ec8
Group: Applications/Databases
4c6a54c
Requires: %{name} = %{version}-%{release}
e5d4b4d
Requires(pre): /usr/sbin/useradd
4c6a54c
Requires(post): chkconfig
4c6a54c
Requires(preun): chkconfig
4c6a54c
# This is for /sbin/service
4c6a54c
Requires(preun): initscripts
4c6a54c
Requires(postun): initscripts
cvsdist c205ec8
cvsdist c205ec8
%description server
cvsdist c205ec8
The postgresql-server package includes the programs needed to create
cvsdist c205ec8
and run a PostgreSQL server, which will in turn allow you to create
cvsdist c205ec8
and maintain PostgreSQL databases.  PostgreSQL is an advanced
cvsdist c205ec8
Object-Relational database management system (DBMS) that supports
cvsdist c205ec8
almost all SQL constructs (including transactions, subselects and
cvsdist c205ec8
user-defined types and functions). You should install
cvsdist c205ec8
postgresql-server if you want to create and maintain your own
cvsdist c205ec8
PostgreSQL databases and/or your own PostgreSQL server. You also need
cvsdist c205ec8
to install the postgresql package.
cvsdist c205ec8
cvsdist c205ec8
cvsdist c205ec8
%package docs
cvsdist c205ec8
Summary: Extra documentation for PostgreSQL
cvsdist c205ec8
Group: Applications/Databases
3a834ad
Requires: postgresql = %{version}-%{release}
dadd60b
cvsdist c205ec8
%description docs
6e96691
The postgresql-docs package includes 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
e5d4b4d
Summary: Contributed modules distributed with PostgreSQL
cvsdist c205ec8
Group: Applications/Databases
3a834ad
Requires: postgresql = %{version}-%{release}
dadd60b
cvsdist c205ec8
%description contrib
cvsdist c205ec8
The postgresql-contrib package contains contributed packages 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
3a834ad
Requires: postgresql = %{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
cvsdist c205ec8
with a PostgreSQL database management server and the ecpg Embedded C
cvsdist c205ec8
Postgres preprocessor. You need to install this package if you want to
80b1cae
develop applications which will interact with a PostgreSQL server.
cvsdist c205ec8
d6ea25d
%if %plperl
d6ea25d
%package plperl
2ee0978
Summary: The Perl procedural language for PostgreSQL
d6ea25d
Group: Applications/Databases
3a834ad
Requires: postgresql-server = %{version}-%{release}
8533877
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
d6ea25d
d6ea25d
%description plperl
d6ea25d
PostgreSQL is an advanced Object-Relational database management
d6ea25d
system.  The postgresql-plperl package contains the PL/Perl
d6ea25d
procedural language for the backend.
d6ea25d
%endif
d6ea25d
d6ea25d
%if %plpython
d6ea25d
%package plpython
2ee0978
Summary: The Python procedural language for PostgreSQL
cvsdist c205ec8
Group: Applications/Databases
3a834ad
Requires: postgresql-server = %{version}-%{release}
cvsdist c205ec8
d6ea25d
%description plpython
cvsdist c205ec8
PostgreSQL is an advanced Object-Relational database management
d6ea25d
system.  The postgresql-plpython package contains the PL/Python
d6ea25d
procedural language for the backend.
d6ea25d
%endif
d6ea25d
d6ea25d
%if %pltcl
d6ea25d
%package pltcl
2ee0978
Summary: The Tcl procedural language for PostgreSQL
d6ea25d
Group: Applications/Databases
3a834ad
Requires: postgresql-server = %{version}-%{release}
d6ea25d
d6ea25d
%description pltcl
d6ea25d
PostgreSQL is an advanced Object-Relational database management
d6ea25d
system.  The postgresql-pltcl package contains the PL/Tcl
d6ea25d
procedural language for the backend.
cvsdist c205ec8
%endif
cvsdist c205ec8
cvsdist c205ec8
%if %tcl
cvsdist c205ec8
%package tcl
2ee0978
Summary: A Tcl client library for PostgreSQL
cvsdist c205ec8
Group: Applications/Databases
3a834ad
# this is intentionally not a version-specific Requires:
6e96691
Requires: libpq.so
898ed62
Requires: tcl >= 8.5
cvsdist c205ec8
cvsdist c205ec8
%description tcl
cvsdist c205ec8
PostgreSQL is an advanced Object-Relational database management
6e96691
system.  The postgresql-tcl package contains the Pgtcl client library
6e96691
and its documentation.
cvsdist c205ec8
%endif
cvsdist c205ec8
cvsdist c205ec8
%if %python
cvsdist c205ec8
%package python
2ee0978
Summary: Development module for Python code to access a PostgreSQL DB
cvsdist c205ec8
Group: Applications/Databases
3a834ad
# this is intentionally not a version-specific Requires:
6e96691
Requires: libpq.so
cvsdist c205ec8
Requires: python mx
cvsdist c205ec8
cvsdist c205ec8
%description python
cvsdist c205ec8
PostgreSQL is an advanced Object-Relational database management
cvsdist c205ec8
system.  The postgresql-python package includes a module for
cvsdist c205ec8
developers to use when writing Python code for accessing a PostgreSQL
cvsdist c205ec8
database.
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
3a834ad
Requires: postgresql-server = %{version}-%{release}
cvsdist c205ec8
cvsdist c205ec8
%description test
cvsdist c205ec8
PostgreSQL is an advanced Object-Relational database management
cvsdist c205ec8
system. The postgresql-test package includes the sources and pre-built
cvsdist c205ec8
binaries of various tests for the PostgreSQL database management
cvsdist c205ec8
system, including regression tests and benchmarks.
cvsdist c205ec8
%endif
cvsdist c205ec8
4c6a54c
%global __perl_requires %{SOURCE16}
cvsdist c205ec8
cvsdist c205ec8
%prep
cvsdist c205ec8
%setup -q 
cvsdist c205ec8
%patch1 -p1
b2169aa
%patch2 -p1
cvsdist c205ec8
%patch3 -p1
4c6a54c
%patch4 -p1
32269db
# patch5 is applied later
32269db
%patch6 -p1
cvsdist c205ec8
4c6a54c
autoconf
cvsdist c205ec8
6e96691
cp -p %{SOURCE17} .
cvsdist c205ec8
cvsdist c205ec8
%if %python
cvsdist c205ec8
   tar xzf %{SOURCE18}
cvsdist c205ec8
   PYGRESQLDIR=`basename %{SOURCE18} .tgz`
cvsdist c205ec8
   mv $PYGRESQLDIR PyGreSQL
ec364ab
   # Some versions of PyGreSQL.tgz contain wrong file permissions
ec364ab
   chmod 755 PyGreSQL/tutorial
ec364ab
   chmod 644 PyGreSQL/tutorial/*.py
ec364ab
   chmod 755 PyGreSQL/tutorial/advanced.py PyGreSQL/tutorial/basics.py
cvsdist c205ec8
%endif
cvsdist c205ec8
6e96691
%if %tcl
6e96691
   tar xzf %{SOURCE19}
6e96691
   PGTCLDIR=`basename %{SOURCE19} .tar.gz`
6e96691
   mv $PGTCLDIR Pgtcl
6e96691
   unzip %{SOURCE20}
6e96691
   PGTCLDOCDIR=`basename %{SOURCE20} .zip`
6e96691
   mv $PGTCLDOCDIR Pgtcl-docs
ec5d1ae
ec5d1ae
   pushd Pgtcl
721f5ec
%patch5 -p1
4c6a54c
   autoconf
ec5d1ae
   popd
6e96691
%endif
6e96691
cvsdist c205ec8
%build
cvsdist c205ec8
4c6a54c
# fail quickly and obviously if user tries to build as root
4c6a54c
%if %runselftest
4c6a54c
	if [ x"`id -u`" = x0 ]; then
4c6a54c
		echo "postgresql's regression tests fail if run as root."
4c6a54c
		echo "If you really need to build the RPM as root, use"
4c6a54c
		echo "--define='runselftest 0' to skip the regression tests."
4c6a54c
		exit 1
4c6a54c
	fi
4c6a54c
%endif
4c6a54c
cvsdist c205ec8
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS
cvsdist c205ec8
cvsdist c205ec8
# Strip out -ffast-math from CFLAGS....
cvsdist c205ec8
CFLAGS=`echo $CFLAGS|xargs -n 1|grep -v ffast-math|xargs -n 100`
4c6a54c
# Add LINUX_OOM_ADJ=0 to ensure child processes reset postmaster's oom_adj
4c6a54c
CFLAGS="$CFLAGS -DLINUX_OOM_ADJ=0"
a8e2f35
# let's try removing this kluge, it may just be a workaround for bz#520916
a8e2f35
# # use -O1 on sparc64 and alpha
a8e2f35
# %ifarch sparc64 alpha
a8e2f35
# CFLAGS=`echo $CFLAGS| sed -e "s|-O2|-O1|g" `
a8e2f35
# %endif
6e96691
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
cvsdist c205ec8
%if %pgfts
cvsdist c205ec8
	--enable-thread-safety \
cvsdist c205ec8
%endif
8bf3ae4
	--with-system-tzdata=/usr/share/zoneinfo \
cvsdist c205ec8
	--sysconfdir=/etc/sysconfig/pgsql \
cvsdist c205ec8
	--datadir=/usr/share/pgsql \
cvsdist c205ec8
	--with-docdir=%{_docdir}
cvsdist c205ec8
Elliot Lee be132bc
make %{?_smp_mflags} all
Elliot Lee be132bc
make %{?_smp_mflags} -C contrib all
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
6e96691
%if %runselftest
6e96691
	pushd src/test/regress
cvsdist c205ec8
	make all
6e96691
	make MAX_CONNECTIONS=5 check
6e96691
	make clean
6e96691
	popd
6e96691
%endif
6e96691
6e96691
%if %test
6e96691
	pushd src/test/regress
8bf3ae4
	make all
cvsdist c205ec8
	popd
cvsdist c205ec8
%endif
cvsdist c205ec8
cvsdist c205ec8
%if %python
cvsdist c205ec8
   PYTHON=/usr/bin/python
cvsdist c205ec8
   python_version=`${PYTHON} -c "import sys; print sys.version[:3]"`
cvsdist c205ec8
   python_prefix=`${PYTHON} -c "import sys; print sys.prefix"`
cvsdist c205ec8
   python_includespec="-I${python_prefix}/include/python${python_version}"
cvsdist c205ec8
cvsdist c205ec8
   pushd PyGreSQL
cvsdist c205ec8
6e96691
   gcc $CFLAGS -fpic -shared -o _pgmodule.so ${python_includespec} -I../src/interfaces/libpq -I../src/include -L../src/interfaces/libpq -lpq pgmodule.c
cvsdist c205ec8
cvsdist c205ec8
   popd
cvsdist c205ec8
%endif
cvsdist c205ec8
6e96691
%if %tcl
6e96691
   pushd Pgtcl
6e96691
   # pgtcl's configure only handles one include directory :-(
6e96691
   ./configure --prefix=/usr \
6e96691
     --libdir=%{_libdir} \
6e96691
     --with-tcl=%{_libdir} \
6e96691
     --with-postgres-include="../src/interfaces/libpq -I../src/include" \
6e96691
     --with-postgres-lib=../src/interfaces/libpq
6e96691
   # note: as of pgtcl 1.5.2, its makefile is not parallel-safe
6e96691
   make all
6e96691
   popd
6e96691
%endif
6e96691
cvsdist c205ec8
%install
cvsdist c205ec8
rm -rf $RPM_BUILD_ROOT
cvsdist c205ec8
cvsdist c205ec8
make DESTDIR=$RPM_BUILD_ROOT install
cvsdist c205ec8
make -C contrib DESTDIR=$RPM_BUILD_ROOT install
cvsdist c205ec8
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
e5d4b4d
  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
3b6d1bc
    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
3b6d1bc
    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
23226f9
    install -m 644 %{SOURCE7} $RPM_BUILD_ROOT/usr/include/
3b6d1bc
    ;;
3b6d1bc
  *)
3b6d1bc
    ;;
3b6d1bc
esac
a15ec21
6e96691
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/pgsql/tutorial
6e96691
cp src/tutorial/* $RPM_BUILD_ROOT%{_libdir}/pgsql/tutorial
cvsdist c205ec8
6e96691
%if %tcl
898ed62
	TCL_VERSION=`echo 'puts $tcl_version' | tclsh`
898ed62
	TCLLIBDIR="%{_libdir}/tcl$TCL_VERSION"
898ed62
	# check the target directory is a dir, not a symlink
898ed62
	if [ -h "$TCLLIBDIR" ] ; then
898ed62
		echo "$TCLLIBDIR must not be a symlink"
898ed62
		exit 1
898ed62
	fi
898ed62
	PGTCL_DIR="${RPM_BUILD_ROOT}${TCLLIBDIR}/Pgtcl"
898ed62
	install -d -m 755 "$PGTCL_DIR"
898ed62
	cp Pgtcl/pkgIndex.tcl "$PGTCL_DIR"
898ed62
	cp Pgtcl/libpgtcl*.so "$PGTCL_DIR"
cvsdist c205ec8
%endif
cvsdist c205ec8
8d5bd11
install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
8d5bd11
sed 's/^PGVERSION=.*$/PGVERSION=%{version}/' <%{SOURCE3} >postgresql.init
8d5bd11
install -m 755 postgresql.init $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
cvsdist c205ec8
32269db
%if %pam
8d5bd11
install -d $RPM_BUILD_ROOT/etc/pam.d
8d5bd11
install -m 644 %{SOURCE14} $RPM_BUILD_ROOT/etc/pam.d/postgresql
32269db
%endif
32269db
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
cvsdist c205ec8
install -m 644 %{SOURCE15} $RPM_BUILD_ROOT/var/lib/pgsql/.bash_profile
cvsdist c205ec8
cvsdist c205ec8
# Create the multiple postmaster startup directory
cvsdist c205ec8
install -d -m 700 $RPM_BUILD_ROOT/etc/sysconfig/pgsql
cvsdist c205ec8
cvsdist c205ec8
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
eb3bf28
	pushd  $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress
cvsdist c205ec8
	strip *.so
1fbccd0
	rm -f GNUmakefile Makefile *.o
cvsdist c205ec8
	popd
6e96691
	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
cvsdist c205ec8
# Fix some more documentation
cvsdist c205ec8
# gzip doc/internals.ps
cvsdist c205ec8
cp %{SOURCE6} README.rpm-dist
6e96691
mv $RPM_BUILD_ROOT%{_docdir}/pgsql/html doc
6e96691
rm -rf $RPM_BUILD_ROOT%{_docdir}/pgsql
cvsdist c205ec8
cvsdist c205ec8
%if %python
cvsdist c205ec8
   pushd PyGreSQL
a703279
   install -m 0755 -d $RPM_BUILD_ROOT%{python_sitearch}
a703279
   install -m 0755 _pgmodule.so $RPM_BUILD_ROOT%{python_sitearch}
a703279
   install -m 0644 pg.py $RPM_BUILD_ROOT%{python_sitearch}
a703279
   install -m 0644 pgdb.py $RPM_BUILD_ROOT%{python_sitearch}
cvsdist c205ec8
   popd
cvsdist c205ec8
%endif
cvsdist c205ec8
084ca74
%find_lang ecpg-%{majorversion}
084ca74
cat ecpg-%{majorversion}.lang >devel.lst
084ca74
%find_lang ecpglib6-%{majorversion}
084ca74
cat ecpglib6-%{majorversion}.lang >libs.lst
084ca74
%find_lang initdb-%{majorversion}
084ca74
cat initdb-%{majorversion}.lang >server.lst
084ca74
%find_lang libpq5-%{majorversion}
084ca74
cat libpq5-%{majorversion}.lang >>libs.lst
084ca74
%find_lang pg_config-%{majorversion}
084ca74
cat pg_config-%{majorversion}.lang >>devel.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
084ca74
%find_lang pg_dump-%{majorversion}
084ca74
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}
084ca74
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}
084ca74
cat plpython-%{majorversion}.lang >plpython.lst
084ca74
%endif
084ca74
%if %pltcl
084ca74
%find_lang pltcl-%{majorversion}
084ca74
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
cvsdist c205ec8
cvsdist c205ec8
%post libs -p /sbin/ldconfig 
cvsdist c205ec8
%postun libs -p /sbin/ldconfig 
cvsdist c205ec8
cvsdist c205ec8
%pre server
4c6a54c
/usr/sbin/groupadd -g 26 -o -r postgres >/dev/null 2>&1 || :
4c6a54c
/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
4c6a54c
/sbin/chkconfig --add postgresql
cvsdist c205ec8
/sbin/ldconfig
cvsdist c205ec8
cvsdist c205ec8
%preun server
cvsdist c205ec8
if [ $1 = 0 ] ; then
4c6a54c
	/sbin/service postgresql stop >/dev/null 2>&1
4c6a54c
	/sbin/chkconfig --del postgresql
cvsdist c205ec8
fi
cvsdist c205ec8
cvsdist c205ec8
%postun server
cvsdist c205ec8
/sbin/ldconfig 
e8f554d
if [ $1 -ge 1 ] ; then
e8f554d
	/sbin/service postgresql condrestart >/dev/null 2>&1 || :
e8f554d
fi
cvsdist c205ec8
d6ea25d
%if %plperl
e5d4b4d
%post -p /sbin/ldconfig plperl
e5d4b4d
%postun -p /sbin/ldconfig plperl
d6ea25d
%endif
d6ea25d
d6ea25d
%if %plpython
e5d4b4d
%post -p /sbin/ldconfig plpython
e5d4b4d
%postun -p /sbin/ldconfig plpython
d6ea25d
%endif
d6ea25d
d6ea25d
%if %pltcl
e5d4b4d
%post -p /sbin/ldconfig pltcl
e5d4b4d
%postun -p /sbin/ldconfig pltcl
cvsdist c205ec8
%endif
cvsdist c205ec8
cvsdist c205ec8
%clean
cvsdist c205ec8
rm -rf $RPM_BUILD_ROOT
cvsdist c205ec8
cvsdist c205ec8
# FILES section.
cvsdist c205ec8
cvsdist c205ec8
%files -f main.lst
cvsdist c205ec8
%defattr(-,root,root)
084ca74
%doc doc/KNOWN_BUGS doc/MISSING_FEATURES doc/README* 
cvsdist c205ec8
%doc COPYRIGHT README HISTORY doc/bug.template
cvsdist c205ec8
%doc README.rpm-dist
cvsdist c205ec8
%doc doc/html
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
cvsdist c205ec8
%{_bindir}/pg_dump
cvsdist c205ec8
%{_bindir}/pg_dumpall
cvsdist c205ec8
%{_bindir}/pg_restore
cvsdist c205ec8
%{_bindir}/psql
80b1cae
%{_bindir}/reindexdb
cvsdist c205ec8
%{_bindir}/vacuumdb
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.*
cvsdist c205ec8
%{_mandir}/man1/pg_dump.*
cvsdist c205ec8
%{_mandir}/man1/pg_dumpall.*
cvsdist c205ec8
%{_mandir}/man1/pg_restore.*
cvsdist c205ec8
%{_mandir}/man1/psql.*
80b1cae
%{_mandir}/man1/reindexdb.*
cvsdist c205ec8
%{_mandir}/man1/vacuumdb.*
cvsdist c205ec8
%{_mandir}/man7/*
ec364ab
%dir %{_libdir}/pgsql
cvsdist c205ec8
cvsdist c205ec8
%files docs
cvsdist c205ec8
%defattr(-,root,root)
6e96691
%doc *-US.pdf
6e96691
%{_libdir}/pgsql/tutorial/
cvsdist c205ec8
cvsdist c205ec8
%files contrib
cvsdist c205ec8
%defattr(-,root,root)
cvsdist c205ec8
%{_libdir}/pgsql/_int.so
9405842
%{_libdir}/pgsql/adminpack.so
cvsdist c205ec8
%{_libdir}/pgsql/autoinc.so
084ca74
%{_libdir}/pgsql/auto_explain.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
cvsdist c205ec8
%{_libdir}/pgsql/earthdistance.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
80b1cae
%{_libdir}/pgsql/pg_buffercache.so
9405842
%{_libdir}/pgsql/pg_freespacemap.so
6e96691
%{_libdir}/pgsql/pg_trgm.so
9405842
%{_libdir}/pgsql/pgcrypto.so
9405842
%{_libdir}/pgsql/pgrowlocks.so
9405842
%{_libdir}/pgsql/pgstattuple.so
084ca74
%{_libdir}/pgsql/pg_stat_statements.so
cvsdist c205ec8
%{_libdir}/pgsql/refint.so
cvsdist c205ec8
%{_libdir}/pgsql/seg.so
9405842
%{_libdir}/pgsql/sslinfo.so
cvsdist c205ec8
%{_libdir}/pgsql/tablefunc.so
8bf3ae4
%{_libdir}/pgsql/test_parser.so
cvsdist c205ec8
%{_libdir}/pgsql/timetravel.so
cvsdist c205ec8
%{_libdir}/pgsql/tsearch2.so
8bf3ae4
%if %uuid
8bf3ae4
%{_libdir}/pgsql/uuid-ossp.so
8bf3ae4
%endif
32269db
%if %xml
32269db
%{_libdir}/pgsql/pgxml.so
32269db
%endif
cvsdist c205ec8
%{_datadir}/pgsql/contrib/
cvsdist c205ec8
%{_bindir}/oid2name
8bf3ae4
%{_bindir}/pg_standby
cvsdist c205ec8
%{_bindir}/pgbench
cvsdist c205ec8
%{_bindir}/vacuumlo
084ca74
%doc contrib/spi/*.example
cvsdist c205ec8
084ca74
%files libs -f libs.lst
cvsdist c205ec8
%defattr(-,root,root)
cvsdist c205ec8
%{_libdir}/libpq.so.*
cvsdist c205ec8
%{_libdir}/libecpg.so.*
cvsdist c205ec8
%{_libdir}/libpgtypes.so.*
cvsdist c205ec8
%{_libdir}/libecpg_compat.so.*
cvsdist c205ec8
cvsdist c205ec8
%files server -f server.lst
cvsdist c205ec8
%defattr(-,root,root)
cvsdist c205ec8
/etc/rc.d/init.d/postgresql
32269db
%if %pam
80b1cae
%config(noreplace) /etc/pam.d/postgresql
32269db
%endif
cvsdist 027e0bd
%attr (755,root,root) %dir /etc/sysconfig/pgsql
cvsdist c205ec8
%{_bindir}/initdb
cvsdist c205ec8
%{_bindir}/pg_controldata
cvsdist c205ec8
%{_bindir}/pg_ctl
cvsdist c205ec8
%{_bindir}/pg_resetxlog
cvsdist c205ec8
%{_bindir}/postgres
cvsdist c205ec8
%{_bindir}/postmaster
cvsdist c205ec8
%{_mandir}/man1/initdb.*
cvsdist c205ec8
%{_mandir}/man1/pg_controldata.*
cvsdist c205ec8
%{_mandir}/man1/pg_ctl.*
cvsdist c205ec8
%{_mandir}/man1/pg_resetxlog.*
cvsdist c205ec8
%{_mandir}/man1/postgres.*
cvsdist c205ec8
%{_mandir}/man1/postmaster.*
cvsdist c205ec8
%{_datadir}/pgsql/postgres.bki
cvsdist c205ec8
%{_datadir}/pgsql/postgres.description
9405842
%{_datadir}/pgsql/postgres.shdescription
6e96691
%{_datadir}/pgsql/system_views.sql
cvsdist c205ec8
%{_datadir}/pgsql/*.sample
9405842
%{_datadir}/pgsql/timezonesets/
8bf3ae4
%{_datadir}/pgsql/tsearch_data/
8bf3ae4
%{_libdir}/pgsql/dict_snowball.so
cvsdist c205ec8
%{_libdir}/pgsql/plpgsql.so
cvsdist c205ec8
%dir %{_datadir}/pgsql
cvsdist c205ec8
%attr(700,postgres,postgres) %dir /var/lib/pgsql
cvsdist c205ec8
%attr(700,postgres,postgres) %dir /var/lib/pgsql/data
cvsdist c205ec8
%attr(700,postgres,postgres) %dir /var/lib/pgsql/backups
cvsdist c205ec8
%attr(644,postgres,postgres) %config(noreplace) /var/lib/pgsql/.bash_profile
cvsdist c205ec8
%{_libdir}/pgsql/*_and_*.so
cvsdist c205ec8
%{_datadir}/pgsql/conversion_create.sql
cvsdist c205ec8
%{_datadir}/pgsql/information_schema.sql
8bf3ae4
%{_datadir}/pgsql/snowball_create.sql
cvsdist c205ec8
%{_datadir}/pgsql/sql_features.txt
cvsdist c205ec8
084ca74
%files devel -f devel.lst
cvsdist c205ec8
%defattr(-,root,root)
cvsdist c205ec8
/usr/include/*
cvsdist c205ec8
%{_bindir}/ecpg
cvsdist c205ec8
%{_bindir}/pg_config
cvsdist c205ec8
%{_libdir}/libpq.so
cvsdist c205ec8
%{_libdir}/libecpg.so
cvsdist c205ec8
%{_libdir}/libpq.a
cvsdist c205ec8
%{_libdir}/libecpg.a
cvsdist c205ec8
%{_libdir}/libecpg_compat.so
cvsdist c205ec8
%{_libdir}/libecpg_compat.a
6e96691
%{_libdir}/libpgport.a
cvsdist c205ec8
%{_libdir}/libpgtypes.so
cvsdist c205ec8
%{_libdir}/libpgtypes.a
6e96691
%{_libdir}/pgsql/pgxs/
cvsdist c205ec8
%{_mandir}/man1/ecpg.*
cvsdist c205ec8
%{_mandir}/man1/pg_config.*
cvsdist c205ec8
cvsdist c205ec8
%if %tcl
cvsdist c205ec8
%files tcl
cvsdist c205ec8
%defattr(-,root,root)
898ed62
%{_libdir}/tcl*/Pgtcl/
6e96691
%doc Pgtcl-docs/*
cvsdist c205ec8
%endif
cvsdist c205ec8
cvsdist c205ec8
%if %plperl
084ca74
%files plperl -f plperl.lst
d6ea25d
%defattr(-,root,root)
cvsdist c205ec8
%{_libdir}/pgsql/plperl.so
cvsdist c205ec8
%endif
d6ea25d
cvsdist c205ec8
%if %pltcl
084ca74
%files pltcl -f pltcl.lst
d6ea25d
%defattr(-,root,root)
cvsdist c205ec8
%{_libdir}/pgsql/pltcl.so
cvsdist c205ec8
%{_bindir}/pltcl_delmod
cvsdist c205ec8
%{_bindir}/pltcl_listmod
cvsdist c205ec8
%{_bindir}/pltcl_loadmod
cvsdist c205ec8
%{_datadir}/pgsql/unknown.pltcl
cvsdist c205ec8
%endif
d6ea25d
d6ea25d
%if %plpython
084ca74
%files plpython -f plpython.lst
d6ea25d
%defattr(-,root,root)
cvsdist c205ec8
%{_libdir}/pgsql/plpython.so
cvsdist c205ec8
%endif
cvsdist c205ec8
cvsdist c205ec8
%if %python
cvsdist c205ec8
%files python
cvsdist c205ec8
%defattr(-,root,root)
9405842
%doc PyGreSQL/docs/*.txt
702bdb8
%doc PyGreSQL/tutorial
a703279
%{python_sitearch}/_pgmodule.so
a703279
%{python_sitearch}/*.py
cvsdist c205ec8
%endif
cvsdist c205ec8
cvsdist c205ec8
%if %test
cvsdist c205ec8
%files test
cvsdist c205ec8
%defattr(-,postgres,postgres)
6e96691
%attr(-,postgres,postgres) %{_libdir}/pgsql/test/*
6e96691
%attr(-,postgres,postgres) %dir %{_libdir}/pgsql/test
cvsdist c205ec8
%endif
cvsdist c205ec8
cvsdist c205ec8
%changelog
3a0527a
* Tue Oct  5 2010 Tom Lane <tgl@redhat.com> 8.4.5-1
3a0527a
- Update to PostgreSQL 8.4.5, for various fixes described at
3a0527a
  http://www.postgresql.org/docs/8.4/static/release-8-4-5.html
3a0527a
  including the fix for CVE-2010-3433
3a0527a
Related: #639371
3a0527a
f70285d
* Mon May 17 2010 Tom Lane <tgl@redhat.com> 8.4.4-1
f70285d
- Update to PostgreSQL 8.4.4, for various fixes described at
f70285d
  http://www.postgresql.org/docs/8.4/static/release-8-4-4.html
f70285d
  including fixes for CVE-2010-1169 and CVE-2010-1170
f70285d
Resolves: #593032
f70285d
4c6a54c
* Sun Mar 14 2010 Tom Lane <tgl@redhat.com> 8.4.3-1
4c6a54c
- Update to PostgreSQL 8.4.3, for various fixes described at
4c6a54c
  http://www.postgresql.org/docs/8.4/static/release-8-4-3.html
4c6a54c
- Bring init script into some modicum of compliance with Fedora/LSB standards
4c6a54c
Resolves: #201043
4c6a54c
- Emit explicit error message if user tries to build RPM as root
4c6a54c
Related: #558921
4c6a54c
- Arrange for the postmaster, but not any of its child processes, to be run
4c6a54c
  with oom_adj -17.  This compensates for the OOM killer not being smart about
4c6a54c
  accounting for shared memory usage.
4c6a54c
- Change %%define to %%global, per packaging guidelines
4c6a54c
63005cc
* Thu Feb 18 2010 Tom "spot" Callaway <tcallawa@redhat.com>
63005cc
- adjust license tag to reflect OSI decision
63005cc
e5d4b4d
* Wed Dec 16 2009 Tom Lane <tgl@redhat.com> 8.4.2-1
e5d4b4d
- Update to PostgreSQL 8.4.2, for various fixes described at
e5d4b4d
  http://www.postgresql.org/docs/8.4/static/release-8-4-2.html
e5d4b4d
  including two security issues
e5d4b4d
Related: #546321
e5d4b4d
Related: #547662
e5d4b4d
- Use -N not the obsolete -n in useradd call
e5d4b4d
Resolves: #495727
e5d4b4d
- Clean up specfile to eliminate rpmlint gripes, mainly by removing
e5d4b4d
  no-longer-needed provisions for superseding rh-postgresql
e5d4b4d
- add sparc/sparc64 to multilib header support
e5d4b4d
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
cvsdist eeda6e6
* Wed 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.