summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcvsdist <cvsdist@fedoraproject.org>2004-09-09 10:39:06 +0000
committercvsdist <cvsdist@fedoraproject.org>2004-09-09 10:39:06 +0000
commit9636c11b0d6049d23aaad24cf787c9c46500a322 (patch)
tree4fdd543b2585b8ff038e8fbb33d4bddf170b27b1
parent68d4798ff5f3820aac52a6f4bcd3b2062d6f2f18 (diff)
downloadpostgresql-setup-9636c11b0d6049d23aaad24cf787c9c46500a322.tar.gz
postgresql-setup-9636c11b0d6049d23aaad24cf787c9c46500a322.tar.xz
postgresql-setup-9636c11b0d6049d23aaad24cf787c9c46500a322.zip
auto-import postgresql-7.2-2.7 from postgresql-7.2-2.7.src.rpmpostgresql-7_2-2_7RHL-7_2-split
-rw-r--r--README.rpm-dist59
-rw-r--r--postgresql-bashprofile4
-rw-r--r--postgresql.init26
-rwxr-xr-xpostgresql.spec219
-rw-r--r--sources2
5 files changed, 185 insertions, 125 deletions
diff --git a/README.rpm-dist b/README.rpm-dist
index f66e75e..409c66e 100644
--- a/README.rpm-dist
+++ b/README.rpm-dist
@@ -1,11 +1,11 @@
README.rpm-dist
-----------------------------------------------------------------------------
-Version 3.99, for PostgreSQL 7.2 beta cycle.
+Version 4.0, for the PostgreSQL 7.2-1PGDG RPMset.
Lamar Owen <lamar.owen@wgcr.org>
-----------------------------------------------------------------------------
Contents:
- 0.) Quickie -i note.
+ 0.) Quick -i note.
1.) Introduction, QuickStart, and credits
2.) PostgreSQL RPM packages and rationale
3.) Upgrading from an older version of PostgreSQL without losing data.
@@ -17,7 +17,7 @@ Contents:
9.) Logging set up
10.) Further Information Resource
-QUICKIE '-i' NOTE
+QUICK '-i' NOTE
-----------------------------------------------------------------------------
The postmaster '-i' option is NOT used by default in the initscript shipped
with these RPMs. Please do NOT modify the initscript to add the '-i' back
@@ -31,7 +31,7 @@ This document exists to explain the layout of the RPM's for PostgreSQL, to
explain how to migrate from an older version, and to explain WHY it can be
so difficult to upgrade PostgreSQL.
-This document is written to be applicable to version 7.1.2 of PostgreSQL,
+This document is written to be applicable to version 7.2 of PostgreSQL,
which is the current version of the RPM's as of this writing.
Official PostgreSQL Global Development Group RPM's will from version 7.1.2
@@ -48,21 +48,12 @@ These RPMs are designed to be LSB-compliant -- if you find this not to be the
case, please let me know by way of the pgsql-ports@postgresql.org mailing
list.
-NOTE:
-This RPMset is part of the PostgreSQL beta cycle. Beta means BETA -- there
-may be some rough edges. Testers are welcome; but please don't put this in
-production on a mission-critical system unless you know _exactly_ what you
-are doing. The first few 7.2beta RPMset's will likely have many problems --
-we will work through those as the cycle proceeds.
-
QUICKSTART
-----------------------------------------------------------------------------
If this is an upgrade, please go to section 3, UPGRADING.
If this is a fresh installation, simply start the postmaster using:
/etc/rc.d/init.d/postgresql start (on RedHat and TurboLinux)
-On SuSE, please see the file 'README.linux' in this directory.
-
The file /var/lib/pgsql/.bash_profile is now packaged to help with the
setting of environment variables. You may edit this file, and it won't be
overwritten during an upgrade. However, enhancements and bugfixes may be added
@@ -87,7 +78,7 @@ Karl DeBisschop
Roger Luethi
Jeff Johnson
Reinhard Max
-
+Peter Eisentraut
POSTGRESQL RPM PACKAGES AND RATIONALE.
-----------------------------------------------------------------------------
@@ -188,6 +179,9 @@ also seem like more work to keep track of where everything is -- but, that's
the beauty of RPM -- you don't have to keep track of the files, RPM does it
for you.
+These RPM's are meant to be LSB-compliant. If you find errors in them that
+cause thembe be non-compliant, please let me know.
+
UPGRADING.
-----------------------------------------------------------------------------
CAUTION: While a semi-automatic upgrade process has been implemented, it is
@@ -196,11 +190,12 @@ performed BEFORE upgrading the RPMs! If you have already done the upgrade
with the RPM, and want to return to your previous version to do the dump,
find the old RPM's and use 'rpm -U --oldpackage' to downgrade.
+I cannot overemphasize this precaution.
+
NOTE: moving your existing data from /var/lib/pgsql to /var/lib/pgsql/data is
not currently automatic -- you will need to do this yourself at this release!
-This change occurred between 6.5.3 and 7.0, so upgrading from priot to 7.0 to
-7.0 or later might be difficult. The rh-dump script is provided to ease this,
-see below.
+This change occurred between 6.5.3 and 7.0, so upgrading from prior to 7.0 to
+7.0 or later might be difficult.
The single biggest problem with upgrading PostgreSQL RPM's has been the lack
of a reasonably automated upgrade process. PostgreSQL has the property of
@@ -246,14 +241,6 @@ The basic sequence is:
postgresql-dump -t /var/lib/pgsql/backup/db.bak -p /var/lib/pgsql/backup/old -d
(you can abort the ASCII dump with 'Q', as it uses more) Then, (as user root):
-***** NOTE ***** ***** NOTE *****
-
-The above script is broken. Use "rh-pgdump.sh targetfile" instead, remove the
-old databases (/var/lib/pgsql/base) (or safer - move them somewhere else first),
-start the database and follow the insert procedure described below.
-
-***** NOTE ***** ***** NOTE *****
-
service postgresql start
(which will automatically create a new database structure) And finally,
@@ -332,13 +319,13 @@ There are other parameters to this script -- /etc/rc.d/init.d/postgresql for a
listing.
To get this script to run at system startup or any time the system switches into
-runlevels 4, 5, or 6, run 'chkconfig --add postgresql', and the proper symlinks
-will be created. Check the chkconfig man page for more information.
-
-This same script also works for TurboLinux, and any other distribution similar
-enough to RedHat. SuSE Linux uses a different approach, using a different
-location and a different script, found at either /sbin/init.d/postgres or
-/usr/sbin/rcpostgres. Please see the SuSE 'README.linux' for more information.
+runlevels 3, 4, or 5, run:
+chkconfig --add postgresql
+chkconfig --level 345 postgresql on
+and the proper symlinks will be created. Check the chkconfig man page for more
+information. Note that this is manual -- while the startup script can include
+tags to allow chkconfig to automatically perform the symlinking, this is not
+done at this time.
SuSE has maintained their own RPMset for some time -- their documentation
supercedes any found in this file.
@@ -375,6 +362,7 @@ environment to rebuild the full RPM set.
This release of the RPMset includes the ability to conditionally build
sets of packages. The parameters, their defaults, and the meanings are:
+beta 0 #build with cassert and do not strip the binaries
perl 1 #build the postgresql-perl package.
tcl 1 #build the postgresql-tcl package.
tkpkg 1 #build the postgresql-tk package.
@@ -387,6 +375,7 @@ forceplperl 0 #don't force a build of pl/perl over libperl.a
plperl 0 #don't build the postgresql-plperl package.
ssl 1 #use OpenSSL support.
kerberos 1 #use Kerberos 5 support.
+nls 1 #build with national language support.
enable_mb 1 #enable multibyte encodings.
pgaccess 1 #build the pgaccess client, part of postgresql-tk.
newintarray 0 #substitute a newer intarray contrib.
@@ -437,9 +426,3 @@ I use automatic mail folder processing to put mail in the right place.
SuSE information is available at SuSE's website and information contacts.
-----------------------------------------------------------------------------
-
-
-
-
-
-
diff --git a/postgresql-bashprofile b/postgresql-bashprofile
index a2447db..b6c014d 100644
--- a/postgresql-bashprofile
+++ b/postgresql-bashprofile
@@ -1,5 +1,5 @@
-PGLIB=/usr/lib/pgsql
PGDATA=/var/lib/pgsql/data
[ -f $PGDATA/../initdb.i18n ] && source $PGDATA/../initdb.i18n
-export PGLIB PGDATA
+export PGDATA
+
diff --git a/postgresql.init b/postgresql.init
index 47d9cb5..4beaefc 100644
--- a/postgresql.init
+++ b/postgresql.init
@@ -42,6 +42,12 @@
# Version 7.2b2 Lamar Owen <lamar.owen@wgcr.org>
# version change.
+# Version 7.2 final. Lamar Owen <lamar.owen@wgcr.org>
+# reload from Peter E.
+# Eliminate the pidof postmaster test in stop -- we're using pg_ctl so we don't need pidof.
+# Tested the $? return for the stop script -- it does in fact propagate.
+# TODO: multiple postmasters.
+
# PGVERSION is:
PGVERSION=7.2
@@ -98,7 +104,7 @@ start(){
SYSDOCDIR=/usr/share/doc/packages
fi
echo
- echo $"An old version of the database format was found.\nYou need to upgrade the data format before using PostgreSQL.\nSee $SYSDOCDIR/postgresql-$PGVERSION/README.rpm-dist for more information."
+ echo -e $"An old version of the database format was found.\nYou need to upgrade the data format before using PostgreSQL.\nSee $SYSDOCDIR/postgresql-$PGVERSION/README.rpm-dist for more information."
exit 1
# This doesn't seem to do anything useful...
# else
@@ -169,13 +175,6 @@ start(){
}
stop(){
- # Check for postmaster already running... exit if this happens
- pid=`pidof -s postmaster`
- if [ "$pid" == "" ]; then
- rm -f /var/run/postmaster.pid
- rm -f /var/lock/subsys/postgresql
- exit 0;
- fi
echo -n $"Stopping postgresql service: "
# Check for older PGDATA location.
if [ -f /var/lib/pgsql/PG_VERSION ] && [ -d /var/lib/pgsql/base/template1 ]
@@ -185,7 +184,7 @@ stop(){
export PGDATA=/var/lib/pgsql/data
fi
su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl stop -D $PGDATA -s -m fast" > /dev/null 2>&1
- ret=$? # This will always be 0, as the return code doesn't propagate... Fix that some day.
+ ret=$?
if [ $ret -eq 0 ]; then
echo_success
else
@@ -205,6 +204,9 @@ condrestart(){
[ -e /var/lock/subsys/postgresql ] && restart || :
}
+reload(){
+ su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl reload -D $PGDATA -s" > /dev/null 2>&1
+}
# This script is slightly unusual in that the name of the daemon (postmaster)
# is not the same as the name of the subsystem (postgresql)
@@ -226,11 +228,13 @@ case "$1" in
condrestart)
condrestart
;;
+ reload|force-reload)
+ reload
+ ;;
*)
- echo $"Usage: $0 {start|stop|status|restart|condrestart}"
+ echo $"Usage: $0 {start|stop|status|restart|condrestart|reload|force-reload}"
exit 1
esac
exit 0
-
diff --git a/postgresql.spec b/postgresql.spec
index e1c2e5c..a28683b 100755
--- a/postgresql.spec
+++ b/postgresql.spec
@@ -1,3 +1,6 @@
+%define beta 0
+
+%{?beta:%define __os_install_post /usr/lib/rpm/brp-compress}
%{!?perl:%define perl 1}
%{!?tcl:%define tcl 1}
%{!?tkpkg:%define tkpkg 1}
@@ -8,18 +11,18 @@
%{!?pltcl:%define pltcl 1}
%{?forceplperl:%define plperl %{expand:forceplperl}}
%{!?forceplperl:%define forceplperl 0}
-%{!?plperl:%define plperl 1}
+%{!?plperl:%define plperl 0}
%{!?ssl:%define ssl 1}
%{!?kerberos:%define kerberos 1}
+%{!?nls:%define nls 1}
# Utility feature defines.
%{!?enable_mb:%define enable_mb 1}
%{!?pgaccess:%define pgaccess 1}
# Python major version.
-%define pyver 2.2
-%define pymainver 2
-%define pynextver 2.3
+%{expand: %%define pyver %(python -c 'import sys;print(sys.version[0:3])')%{nil}}
+%{expand: %%define pynextver %(python -c 'import sys;print(float(sys.version[0:3])+0.1)')%{nil}}
Summary: PostgreSQL client programs and libraries.
Name: postgresql
@@ -45,7 +48,7 @@ Version: 7.2
# Pre-release RPM's should not be put up on the public ftp.postgresql.org server
# -- only test releases or full releases should be.
-Release: 0.7.1
+Release: 2.7
License: BSD
Group: Applications/Databases
Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.gz
@@ -54,24 +57,31 @@ Source4: file-lists.tar.gz
Source5: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.gz.md5
Source6: README.rpm-dist
Source7: migration-scripts.tar.gz
-Source10: http://www.retep.org.uk/postgres/jdbc7.0-1.1.jar
-Source11: jdbc7.1-1.2.jar
+Source8: http://jdbc.postgresql.org/download/jdbc7.2dev-1.1.jar
+Source9: http://jdbc.postgresql.org/download/jdbc7.2dev-1.2.jar
+Source10: http://jdbc.postgresql.org/download/jdbc7.1-1.1.jar
+Source11: http://jdbc.postgresql.org/download/jdbc7.1-1.2.jar
Source12: postgresql-dump.1.gz
-Source14: rh-pgdump.sh
Source15: postgresql-bashprofile
Patch1: rpm-pgsql-7.2.patch
-Patch2: postgresql-7.2rc2-betterquote.patch
-Buildrequires: perl glibc-devel autoconf
+Patch2: postgresql-7.2-contribfixes.patch
+Patch3: postgresql-7.2rc2-betterquote.patch
+Patch4: postgresql-7.2-tighten.patch
+Buildrequires: perl glibc-devel
Prereq: /sbin/ldconfig initscripts
-BuildPrereq: python%{?pymainver}-devel perl tcl
+BuildPrereq: perl
BuildPrereq: readline-devel >= 4.0
BuildPrereq: zlib-devel >= 1.0.4
+BuildPrereq: patch >= 2.5.4
%if %ssl
BuildPrereq: openssl-devel
%endif
%if %kerberos
BuildPrereq: krb5-devel
%endif
+%if %nls
+BuildPrereq: gettext >= 0.10.36
+%endif
Url: http://www.postgresql.org/
Obsoletes: postgresql-clients
Buildroot: %{_tmppath}/%{name}-%{version}-root
@@ -81,6 +91,7 @@ Obsoletes: postgresql-plperl
%endif
%if ! %{tcl}
Obsoletes: postgresql-tcl
+Buildrequires: tcl
%endif
%if ! %{tkpkg}
Obsoletes: postgresql-tk
@@ -93,6 +104,7 @@ Obsoletes: postgresql-perl
%endif
%if ! %{python}
Obsoletes: postgresql-python
+BuildRequires: python-devel
%endif
%if ! %{jdbc}
Obsoletes: postgresql-jdbc
@@ -276,8 +288,9 @@ to use when writing Perl code for accessing a PostgreSQL database.
%package python
Summary: Development module for Python code to access a PostgreSQL DB.
Group: Applications/Databases
-Requires: mx%{?pymainver}
-Requires: python%{?pymainver} >= %pyver, python < %pynextver
+Requires: python mx
+Conflicts: python < %pyver, python >= %pynextver
+
%description python
PostgreSQL is an advanced Object-Relational database management
@@ -317,6 +330,8 @@ system, including regression tests and benchmarks.
%patch1 -p1
%patch2 -p1
+%patch3 -p1
+%patch4 -p1
%build
@@ -336,9 +351,12 @@ CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS
# Strip out -ffast-math from CFLAGS....
CFLAGS=`echo $CFLAGS|xargs -n 1|grep -v ffast-math|xargs -n 100`
-export PYTHON="/usr/bin/python%{pyver}"
./configure --enable-locale --with-CXX --prefix=/usr --disable-rpath\
+%if %beta
+ --enable-debug \
+ --enable-cassert \
+%endif
%if %perl
--with-perl \
%endif
@@ -365,13 +383,16 @@ export PYTHON="/usr/bin/python%{pyver}"
%if %kerberos
--with-krb5=/usr/kerberos \
%endif
+%if %nls
+ --enable-nls \
+%endif
--sysconfdir=/etc/pgsql \
--mandir=%{_mandir} \
--docdir=%{_docdir} \
--includedir=%{_includedir} \
--datadir=/usr/share/pgsql
-make %{?_smp_mflags} all
+make all
%if %test
pushd src/test
@@ -421,10 +442,6 @@ pushd $RPM_BUILD_ROOT%{_mandir}
cp %{SOURCE12} man1
popd
-# install the dump script
-
-install -m755 %SOURCE14 $RPM_BUILD_ROOT/usr/bin/
-
# install dev headers.
make DESTDIR=$RPM_BUILD_ROOT install-all-headers
@@ -448,7 +465,9 @@ install -m755 src/Makefile.global $RPM_BUILD_ROOT/usr/include/pgsql
# Java/JDBC
# The user will have to set a CLASSPATH to find it here, but not sure where else to put it...
- # Install 7.0 JDBC jars
+ # JDBC jars
+ install -m 755 %{SOURCE8} $RPM_BUILD_ROOT/usr/share/pgsql
+ install -m 755 %{SOURCE9} $RPM_BUILD_ROOT/usr/share/pgsql
install -m 755 %{SOURCE10} $RPM_BUILD_ROOT/usr/share/pgsql
install -m 755 %{SOURCE11} $RPM_BUILD_ROOT/usr/share/pgsql
@@ -525,84 +544,120 @@ pushd $RPM_BUILD_ROOT/usr/lib/pgsql/contrib
# Get rid of useless makefiles
rm -f Makefile */Makefile
-# earthdistance
-pushd earthdistance
-perl -pi -e "s|/usr/share/pgsql/contrib|/usr/lib/pgsql/contrib/earthdistance|" *
-popd
# array
pushd array
-perl -pi -e "s|/usr/lib/contrib|/usr/lib/pgsql/contrib/array|" *
+perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/array|" *
+popd
+
+# btree_gist
+pushd btree_gist
+perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/btree_gist|" *.sql
+popd
+
+# chkpass
+pushd chkpass
+perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/chkpass|" *.sql
popd
# cube
pushd cube
-perl -pi -e "s|/usr/lib/contrib|/usr/lib/pgsql/contrib/cube|" cube.sql
+perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/cube|" cube.sql
+popd
+
+# dblink
+pushd dblink
+perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/dblink|" dblink.sql
+popd
+
+# earthdistance
+pushd earthdistance
+perl -pi -e "s|/usr/share/pgsql/contrib|/usr/lib/pgsql/contrib/earthdistance|" *.sql
popd
# fulltext
pushd fulltextindex
-perl -pi -e "s|/usr/lib/contrib|/usr/lib/pgsql/contrib/fulltextindex|" *.sql
+perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/fulltextindex|" *.sql
+popd
+
+# fuzzystrmatch
+pushd fuzzystrmatch
+perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/fuzzystrmatch|" *.sql
popd
# intarray
pushd intarray
-perl -pi -e "s|/usr/lib/contrib|/usr/lib/pgsql/contrib/intarray|" *.sql
+perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/intarray|" *.sql
popd
# isbn_issn
pushd isbn_issn
-perl -pi -e "s|/usr/lib/contrib|/usr/lib/pgsql/contrib/isbn_issn|" *.sql
+perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/isbn_issn|" *.sql
popd
# lo
pushd lo
-perl -pi -e "s|/usr/lib/contrib|/usr/lib/pgsql/contrib/lo|" *.sql
+perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/lo|" *.sql
popd
# miscutil
pushd miscutil
-perl -pi -e "s|/usr/lib/contrib|/usr/lib/pgsql/contrib/miscutil|" *.sql
+perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/miscutil|" *.sql
popd
-# noup
+# noupdate
pushd noupdate
-perl -pi -e "s|/usr/lib/contrib|/usr/lib/pgsql/contrib/noupdate|" *.sql
+perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/noupdate|" *.sql
popd
# pgcrypto
pushd pgcrypto
-perl -pi -e "s|/usr/lib/contrib|/usr/lib/pgsql/contrib/pgcrypto|" *.sql
+perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/pgcrypto|" *.sql
popd
+# pgstattuple
+pushd pgstattuple
+perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/pgstattuple|" *.sql
+popd
# rserv
pushd rserv
perl -pi -e "s|/usr/share/|/usr/lib/|" *
-perl -pi -e "s|/usr/lib/contrib|/usr/lib/pgsql/contrib/rserv|" *
+perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib|" *
perl -pi -e "s|/usr/bin|/usr/lib/pgsql/contrib/rserv|" *
-perl -pi -e "s|/usr/lib/pgsql/contrib\"|/usr/lib/pgsql/contrib/rserv\"|" *
-perl -pi -e "s|/usr/lib/pgsql/contrib$|/usr/lib/pgsql/contrib/rserv|" *
+popd
+
+# rtree_gist
+pushd pgstattuple
+perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib|" *.sql
popd
# seg
pushd seg
-perl -pi -e "s|/usr/lib/contrib|/usr/lib/pgsql/contrib/seg|" *.sql
+perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib|" *.sql
popd
# spi
pushd spi
-perl -pi -e "s|/usr/lib/contrib|/usr/lib/pgsql/contrib/spi|" *.sql
+perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/spi|" *.sql
popd
+# Don"t need these
+rm -fr startscripts
+
# string
pushd string
-perl -pi -e "s|/usr/lib/contrib|/usr/lib/pgsql/contrib/string|" *.sql
+perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/string|" *.sql
+popd
+
+# tsearch
+pushd tsearch
+perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/tsearch|" *.sql
popd
# userlock
pushd userlock
-perl -pi -e "s|/usr/lib/contrib|/usr/lib/pgsql/contrib/userlock|" *.sql
+perl -pi -e "s|\\\$libdir|/usr/lib/pgsql/contrib/userlock|" *.sql
popd
popd
@@ -619,6 +674,14 @@ ln -s libpq.so.2 libpq.so.2.0
popd
+%find_lang libpq
+%find_lang pg_dump
+%find_lang postgres
+%find_lang psql
+
+cat psql.lang pg_dump.lang > main.lst
+cat postgres.lang files.lst > server.lst
+
%pre
# Need to make backups of some executables if an upgrade
# They will be needed to do a dump of the old version's database.
@@ -696,7 +759,7 @@ rm -f perlfiles.list
# Note that macros such as config are available in those lists.
# The lists differentiate between RedHat, SuSE, and others.
-%files
+%files -f main.lst
%defattr(-,root,root)
%doc doc/FAQ doc/KNOWN_BUGS doc/MISSING_FEATURES doc/README*
%doc COPYRIGHT README HISTORY doc/bug.template
@@ -736,14 +799,14 @@ rm -f perlfiles.list
%dir /usr/lib/pgsql/contrib/
/usr/lib/pgsql/contrib/*
-%files libs
+%files libs -f libpq.lang
%defattr(-,root,root)
/usr/lib/libpq.so.*
/usr/lib/libecpg.so.*
/usr/lib/libpq++.so.*
/usr/lib/libpgeasy.so.*
-%files server -f files.lst
+%files server -f server.lst
%defattr(-,root,root)
/usr/bin/initdb
/usr/bin/initlocation
@@ -753,7 +816,6 @@ rm -f perlfiles.list
/usr/bin/postgres
/usr/bin/postgresql-dump
/usr/bin/postmaster
-/usr/bin/rh-pgdump.sh
%{_mandir}/man1/initdb.1*
%{_mandir}/man1/initlocation.1*
%{_mandir}/man1/ipcclean.1*
@@ -784,12 +846,14 @@ rm -f perlfiles.list
/usr/lib/libecpg.so
/usr/lib/libpq++.so
/usr/lib/libpgeasy.so
-/usr/lib/libpgtcl.so
/usr/lib/libpq.a
/usr/lib/libecpg.a
/usr/lib/libpq++.a
/usr/lib/libpgeasy.a
+%if tcl
+/usr/lib/libpgtcl.so
/usr/lib/libpgtcl.a
+%endif
%{_mandir}/man1/ecpg.1*
%{_mandir}/man1/pg_config.1*
@@ -848,8 +912,10 @@ rm -f perlfiles.list
%if %jdbc
%files jdbc
%defattr(-,root,root)
-/usr/share/pgsql/jdbc7.0-1.1.jar
+/usr/share/pgsql/jdbc7.1-1.1.jar
/usr/share/pgsql/jdbc7.1-1.2.jar
+/usr/share/pgsql/jdbc7.2dev-1.1.jar
+/usr/share/pgsql/jdbc7.2dev-1.2.jar
%endif
%if %test
@@ -860,32 +926,39 @@ rm -f perlfiles.list
%endif
%changelog
-* Mon Feb 4 2002 Trond Eivind Glomsrød <teg@redhat.com> 7.2-0.7
-- 7.2
-
-* Thu Jan 31 2002 Elliot Lee <sopwith@redhat.com> 7.2rc2-0.3
-- Fix python dependencies
-
-* Mon Jan 28 2002 Trond Eivind Glomsrød <teg@redhat.com> 7.2rc2-0.2
-- Added Elliot Lee's python quote enhancement patch
-
-* Fri Jan 25 2002 Trond Eivind Glomsrød <teg@redhat.com> 7.2rc2-0.1
-- 7.2rc2
-- Patches now included mainstream
-
-* Wed Jan 23 2002 Trond Eivind Glomsrød <teg@redhat.com> 7.2rc1-0.2
-- fix perl
-
-* Wed Jan 23 2002 Trond Eivind Glomsrød <teg@redhat.com> 7.2rc1-0.1
-- 7.2rc1
-- Disable perl for now, it doesn't build...
-- autoconf fixes
-
-* Thu Jan 17 2002 Trond Eivind Glomsrød <teg@redhat.com> 7.2b5-0.3
-- Work around buggy autoconf test (AC_PROG_CC_WORKS)
-
-* Tue Jan 15 2002 Trond Eivind Glomsrød <teg@redhat.com> 7.2b5-0.2
-- 7.2b5
+* Mon Feb 18 2002 Trond Eivind Glomsrød <teg@redhat.com> 7.2-3
+- Don't require tcl-devel, it's just tcl
+- Fix contrib. A lot. Again (last time in 7.1)
+- Add buildprereq of recent patch (#59910)
+- make the initscript 0755
+
+* Fri Feb 8 2002 Trond Eivind Glomsrød <teg@redhat.com> 7.2-2
+- Sync
+- Fix output of backslash-ns from upgrade detection
+- Make the default config use socket credentials, not trust
+- Add patches for tsearch/gist from Oleg Bartunov <oleg@sai.msu.su>
+- Deprecate rh-pgdump script. Dump before upgrading, restore afterwards.
+ And ask the developers to fix it.
+- Dependency and file inclusion enhancements for conditionals
+- escape previous changelog entry which didn't escape a macro
+- python quote enhancement patch added
+
+* Tue Feb 04 2002 Lamar Owen <lamar.owen@wgcr.org>
+- 7.2 final.
+- 7.2-1PGDG RPM release.
+- Integrate NLS build per Peter E.
+- Clean up a few things; undef beta for final build.
+- Newer JDBC -- point to correct website and 7.2 dev.
+- postgresql.init changes.
+- NLS build does funky %%defattr things; redhat-style-files.lst changed
+-- for execute permission on /etc/rc.d/init.d/postgresql
+
+* Sun Jan 27 2002 Lamar Owen <lamar.owen@wgcr.org>
+- 7.2rc2-0.1PGDG
+
+* Thu Nov 29 2001 Lamar Owen <lamar.owen@wgcr.org>
+- 7.2b3-0.3PGDG
+- beta conditionals for debugging, assertion checking, and no strip.
* Tue Nov 27 2001 Trond Eivind Glomsrød <teg@redhat.com>
- Improve python version handling
diff --git a/sources b/sources
index 1cfe388..7c4347c 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-57d69fb52be57f7caa91cccf7d24d199 file-lists.tar.gz
+75a05a4d34bceeb83d51f4cbde4d9952 file-lists.tar.gz
5e9beca9c039be1ded2e51a0edcd9fba migration-scripts.tar.gz
4174777cd91f3cc96f91efb2e4e1bc7c postgresql-7.2.tar.gz
3d2e8223f6bb715659cbecedeae81ccc postgresql-dump.1.gz