OBS User unknown 2008-09-08 14:29:58 +00:00 committed by Git OBS Bridge
parent 9a9ff05016
commit 0df354b7ba
6 changed files with 21 additions and 109 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7ccf1e5c987920e4d6eb98b8589939e29d3a361d285055d5af35ddd8e1a2d992
size 13995572

3
postgresql-8.3.3.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e9406b93794dc4fd15b21e10512d2b694236d79b018d29b9ca86311d5cca2437
size 14004538

View File

@ -1,5 +1,5 @@
#
# spec file for package postgresql-pl (Version 8.3.1)
# spec file for package postgresql-pl (Version 8.3.3)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -23,14 +23,13 @@ BuildRequires: openldap2-devel openssl-devel pam-devel readline-devel
BuildRequires: ncurses-devel
BuildRequires: python-devel tcl-devel
Summary: The PL/Tcl, PL/Perl, and PL/Python Procedural Languages for PostgreSQL
Version: 8.3.1
Release: 7
Version: 8.3.3
Release: 1
%define pg_minor_version %(echo %version | cut -f1-2 -d.)
License: BSD 3-Clause
Group: Productivity/Databases/Servers
Source0: postgresql-%version.tar.bz2
NoSource: 0
Patch: postgresql-xslt.patch
Url: http://www.postgresql.org/
Requires: postgresql-server = %pg_minor_version
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -155,7 +154,6 @@ Authors:
# The sources for the postgresql-pl package can be found
# in the postgresql source RPM.
%setup -q -n postgresql-%{version}
%patch
%build
export CFLAGS="%optflags $SP"

View File

@ -1,66 +0,0 @@
--- configure
+++ configure
@@ -7923,9 +7923,9 @@ fi
if test "$with_libxslt" = yes ; then
-echo "$as_me:$LINENO: checking for xsltLibxmlVersion in -lxslt" >&5
-echo $ECHO_N "checking for xsltLibxmlVersion in -lxslt... $ECHO_C" >&6
-if test "${ac_cv_lib_xslt_xsltLibxmlVersion+set}" = set; then
+echo "$as_me:$LINENO: checking for xsltInit in -lxslt" >&5
+echo $ECHO_N "checking for xsltInit in -lxslt... $ECHO_C" >&6
+if test "${ac_cv_lib_xslt_xsltInit+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
@@ -7943,11 +7943,11 @@ extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
-char xsltLibxmlVersion ();
+char xsltInit ();
int
main ()
{
-xsltLibxmlVersion ();
+xsltInit ();
;
return 0;
}
@@ -7974,20 +7974,20 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- ac_cv_lib_xslt_xsltLibxmlVersion=yes
+ ac_cv_lib_xslt_xsltInit=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
-ac_cv_lib_xslt_xsltLibxmlVersion=no
+ac_cv_lib_xslt_xsltInit=no
fi
rm -f conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltLibxmlVersion" >&5
-echo "${ECHO_T}$ac_cv_lib_xslt_xsltLibxmlVersion" >&6
-if test $ac_cv_lib_xslt_xsltLibxmlVersion = yes; then
+echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltInit" >&5
+echo "${ECHO_T}$ac_cv_lib_xslt_xsltInit" >&6
+if test $ac_cv_lib_xslt_xsltInit = yes; then
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBXSLT 1
_ACEOF
--- configure.in
+++ configure.in
@@ -795,7 +795,7 @@ if test "$with_libxml" = yes ; then
fi
if test "$with_libxslt" = yes ; then
- AC_CHECK_LIB(xslt, xsltLibxmlVersion, [], [AC_MSG_ERROR([library 'xslt' is required for XSLT support])])
+ AC_CHECK_LIB(xslt, xsltInit, [], [AC_MSG_ERROR([library 'xslt' is required for XSLT support])])
fi
# for contrib/uuid-ossp

View File

@ -1,7 +1,11 @@
-------------------------------------------------------------------
Thu Sep 4 14:11:53 CEST 2008 - yxu@suse.de
Fri Sep 5 10:15:20 CEST 2008 - max@suse.de
- added pgbench subpackage for testing purpose
- New version: 8.3.3 with countless bug fixes over 8.3.1.
- For details, see
http://www.postgresql.org/docs/8.3/static/release-8-3-2.html ,
http://www.postgresql.org/docs/8.3/static/release-8-3-3.html ,
or /usr/share/doc/packages/postgresql/HISTORY .
-------------------------------------------------------------------
Thu Aug 28 23:23:58 CEST 2008 - cthiel@suse.de

View File

@ -1,5 +1,5 @@
#
# spec file for package postgresql (Version 8.3.1)
# spec file for package postgresql (Version 8.3.3)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -22,8 +22,8 @@ BuildRequires: bison flex gettext-devel krb5-devel libxslt-devel
BuildRequires: openldap2-devel openssl-devel pam-devel readline-devel zlib-devel
BuildRequires: ncurses-devel
Summary: Basic Clients and Utilities for PostgreSQL
Version: 8.3.1
Release: 37
Version: 8.3.3
Release: 1
%define pg_minor_version %(echo %version | cut -f1-2 -d.)
License: BSD 3-Clause
Group: Productivity/Databases/Tools
@ -36,7 +36,6 @@ Source15: postgresql-bashprofile
Source16: postgresql-firewall
Source17: postgresql-rpmlintrc
Source99: postgresql-pl.spec
Patch: postgresql-xslt.patch
Patch1: postgresql-8.3-conf.patch
PreReq: postgresql-libs = %pg_minor_version
Url: http://www.postgresql.org/
@ -207,30 +206,8 @@ Authors:
Bruce Momjian <pgman@candle.pha.pa.us>
Jan Wieck <JanWieck@Yahoo.com>
%package pgbench
License: BSD 3-Clause
Summary: A simple TPC-B like benchmark program for PostgreSQL
Group: Productivity/Databases/Tools
Requires: postgresql-libs = %pg_minor_version
%description pgbench
pgbench is a simple program for running benchmark tests on PostgreSQL.
It runs the same sequence of SQL commands over and over, possibly in
multiple concurrent database sessions, and then calculates the average
transaction rate (transactions per second). By default, pgbench tests a
scenario that is loosely based on TPC-B, involving five SELECT, UPDATE,
and INSERT commands per transaction. However, it is easy to test other
cases by writing your own transaction script files.
Authors:
--------
Tatsuo Ishii
%prep
%setup -q
%patch
%patch1
%build
@ -297,7 +274,6 @@ for f in /etc/init.d /var/adm/fillup-templates /usr/sbin \
do
install -d %buildroot/$f
done
install -m 755 contrib/pgbench/pgbench %buildroot%_bindir
install -m 755 %{SOURCE9} %buildroot/etc/init.d/postgresql
install -m 644 %{SOURCE8} %buildroot/var/adm/fillup-templates/sysconfig.postgresql
%if 0%suse_version > 1020
@ -474,13 +450,13 @@ rm -f %my_provides
%doc %_mandir/man1/ecpg.1*
%doc %_mandir/man1/pg_config.1*
%files pgbench
%defattr(-,root,root)
%_bindir/pgbench
%changelog
* Thu Sep 04 2008 yxu@suse.de
- added pgbench subpackage for testing purpose
* Fri Sep 05 2008 max@suse.de
- New version: 8.3.3 with countless bug fixes over 8.3.1.
- For details, see
http://www.postgresql.org/docs/8.3/static/release-8-3-2.html ,
http://www.postgresql.org/docs/8.3/static/release-8-3-3.html ,
or /usr/share/doc/packages/postgresql/HISTORY .
* Fri Aug 29 2008 cthiel@suse.de
- fix init script
* Mon May 19 2008 schwab@suse.de