Hello community,
here is the log from the commit of package postgresql for openSUSE:Factory
checked in at Thu Feb 11 19:14:28 CET 2010.
--------
--- postgresql/postgresql-pl.changes 2009-09-16 20:09:20.000000000 +0200
+++ /mounts/work_src_done/STABLE/postgresql/postgresql-pl.changes 2010-02-09 14:43:40.000000000 +0100
@@ -1,0 +2,6 @@
+Tue Feb 9 14:11:37 CET 2010 - max@suse.de
+
+- Fix linking against libperl.so (bnc#578053)
+- Fix package descriptions.
+
+-------------------------------------------------------------------
--- postgresql/postgresql.changes 2010-01-07 15:51:48.000000000 +0100
+++ /mounts/work_src_done/STABLE/postgresql/postgresql.changes 2010-02-09 14:43:43.000000000 +0100
@@ -1,0 +2,5 @@
+Tue Feb 9 14:42:29 CET 2010 - max@suse.de
+
+- Fix package descriptions.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
postgresql-perl-rpath.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ postgresql-pl.spec ++++++
--- /var/tmp/diff_new_pack.iM1GcX/_old 2010-02-11 19:13:42.000000000 +0100
+++ /var/tmp/diff_new_pack.iM1GcX/_new 2010-02-11 19:13:42.000000000 +0100
@@ -24,12 +24,13 @@
BuildRequires: python-devel tcl-devel
Summary: The PL/Tcl, PL/Perl, and PL/Python Procedural Languages for PostgreSQL
Version: 8.4.2
-Release: 2
+Release: 3
%define pg_minor_version %(echo %version | cut -f1-2 -d.)
License: BSD3c(or similar)
Group: Productivity/Databases/Servers
Source0: postgresql-%version.tar.bz2
NoSource: 0
+Patch0: postgresql-perl-rpath.patch
Url: http://www.postgresql.org/
Requires: postgresql-server = %pg_minor_version
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -41,50 +42,32 @@
transactions, foreign keys, subqueries, triggers, and user-defined
types and functions.
-This package contains the PL/Tcl, PL/Perl, and PL/Python procedural
-languages for PostgreSQL. With these modules one can use Perl, Python,
-and Tcl to write stored procedures, functions, and triggers.
+This source package builds the PL/Tcl, PL/Perl, and PL/Python
+procedural languages from the PostgreSQL source code. With these
+modules one can use Perl, Python, and Tcl to write stored procedures,
+functions, and triggers.
-PostgreSQL also offers the built-in procedural language PL/SQL which is
+PostgreSQL also offers the built-in procedural language PL/pgSQL which is
included in the postgresql-server package.
-
-
-Authors:
---------
- Marc G. Fournier
- Tom Lane
- Vadim B. Mikheev
- Bruce Momjian
- Jan Wieck
-
%package -n postgresql-plperl
License: BSD3c(or similar)
Summary: The PL/Tcl, PL/Perl, and PL/Python procedural languages for PostgreSQL
Group: Productivity/Databases/Servers
-Requires: perl
+Requires: perl = %perl_version
Obsoletes: postgresql-pl
Provides: postgresql-pl:%_libdir/postgresql/plperl.so
Requires: postgresql-server = %pg_minor_version
%description -n postgresql-plperl
-This package contains the the PL/Tcl, PL/Perl, and PL/Python procedural
-languages for the back-end. With these modules one can use Perl,
-Python, and Tcl to write stored procedures, functions and triggers.
-
-PostgreSQL also offers the builtin procedural language PL/SQL.
-
-
+PostgreSQL is an advanced object-relational database management system
+that supports an extended subset of the SQL standard, including
+transactions, foreign keys, subqueries, triggers, and user-defined
+types and functions.
-Authors:
---------
- Andrew Yu
- Jolly Chen
- Bruce Momjian
- Thomas G. Lockhart
- Tom Lane
- The Hermit Hacker
- etc.
+This package contains the PL/Perl procedural language for PostgreSQL.
+With this module one can use Perl to write stored procedures,
+functions, and triggers.
%package -n postgresql-plpython
License: BSD3c(or similar)
@@ -105,19 +88,6 @@
With this module one can use Python to write stored procedures,
functions, and triggers.
-PostgreSQL also offers the built-in procedural language PL/SQL which is
-included in the postgresql-server package.
-
-
-
-Authors:
---------
- Marc G. Fournier
- Tom Lane
- Vadim B. Mikheev
- Bruce Momjian
- Jan Wieck
-
%package -n postgresql-pltcl
License: BSD3c(or similar)
Summary: PL/Tcl Procedural Language for PostgreSQL
@@ -137,23 +107,11 @@
With thie module one can use Tcl to write stored procedures, functions,
and triggers.
-PostgreSQL also offers the built-in procedural language PL/SQL which is
-included in the postgresql-server package.
-
-
-
-Authors:
---------
- Marc G. Fournier
- Tom Lane
- Vadim B. Mikheev
- Bruce Momjian
- Jan Wieck
-
%prep
# The sources for the postgresql-pl package can be found
# in the postgresql source RPM.
%setup -q -n postgresql-%{version}
+%patch0
%build
export CFLAGS="%optflags $SP"
++++++ postgresql.spec ++++++
--- /var/tmp/diff_new_pack.iM1GcX/_old 2010-02-11 19:13:42.000000000 +0100
+++ /var/tmp/diff_new_pack.iM1GcX/_new 2010-02-11 19:13:42.000000000 +0100
@@ -24,7 +24,7 @@
BuildRequires: ncurses-devel
Summary: Basic Clients and Utilities for PostgreSQL
Version: 8.4.2
-Release: 2
+Release: 3
%define pg_minor_version %(echo %version | cut -f1-2 -d.)
License: BSD3c(or similar)
Group: Productivity/Databases/Tools
@@ -58,16 +58,6 @@
HTML documentation for PostgreSQL can be found in the postgresql-docs
package.
-
-
-Authors:
---------
- Marc G. Fournier
- Tom Lane
- Vadim B. Mikheev
- Bruce Momjian
- Jan Wieck
-
%package libs
License: BSD3c(or similar)
Summary: Shared Libraries Required for PostgreSQL Clients
@@ -91,16 +81,6 @@
package in order to use any other PostgreSQL package or any clients
that need to connect to a PostgreSQL server.
-
-
-Authors:
---------
- Marc G. Fournier
- Tom Lane
- Vadim B. Mikheev
- Bruce Momjian
- Jan Wieck
-
%package server
License: BSD3c(or similar)
Summary: The Programs Needed to Create and Run a PostgreSQL Server
@@ -131,16 +111,6 @@
Manual pages for the PostgreSQL SQL statements can be found in the
postgresql package.
-
-
-Authors:
---------
- Marc G. Fournier
- Tom Lane
- Vadim B. Mikheev
- Bruce Momjian
- Jan Wieck
-
%package contrib
License: BSD3c(or similar)
Summary: Contributed Extensions and Additions to PostgreSQL
@@ -160,16 +130,6 @@
Documentation for the modules contained in this package can be found in
/usr/share/doc/packages/postgresql/contrib.
-
-
-Authors:
---------
- Marc G. Fournier
- Tom Lane
- Vadim B. Mikheev
- Bruce Momjian
- Jan Wieck
-
%description server
PostgreSQL is an advanced object-relational database management system
that supports an extended subset of the SQL standard, including
@@ -180,16 +140,6 @@
PostgreSQL server, which will in turn allow you to create and maintain
PostgreSQL databases.
-
-
-Authors:
---------
- Marc G. Fournier
- Tom Lane
- Vadim B. Mikheev
- Bruce Momjian
- Jan Wieck
-
%package devel
License: BSD3c(or similar)
Summary: PostgreSQL development header files and libraries
@@ -209,15 +159,6 @@
which will interact with a PostgreSQL server.
-
-Authors:
---------
- Marc G. Fournier
- Tom Lane
- Vadim B. Mikheev
- Bruce Momjian
- Jan Wieck
-
%prep
%setup -q
%patch1
++++++ postgresql-perl-rpath.patch ++++++
We configure Postgres with --disable-rpath because for the most part we
want to leave it to ldconfig to determine where libraries are. However,
for some reason the Perl package puts libperl.so in a nonstandard place
and doesn't add that place to the ldconfig search path. I think this
is a Perl packaging bug, myself, but apparently it's not going to change.
So work around it by adding an rpath spec to plperl.so (only).
Per bug #162198.
--- src/pl/plperl/GNUmakefile 2009-06-05 14:29:56.000000000 -0400
+++ src/pl/plperl/GNUmakefile 2009-08-12 23:28:57.000000000 -0400
@@ -38,6 +38,9 @@
SHLIB_LINK = $(perl_embed_ldflags)
+# Force rpath to be used even though we disable it everywhere else
+SHLIB_LINK += $(rpath)
+
REGRESS_OPTS = --dbname=$(PL_TESTDB) --load-language=plperl
REGRESS = plperl plperl_trigger plperl_shared plperl_elog
# where to find psql for running the tests
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org