[RPM] PostgreSQL RPM and python

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: pgsql-ports(at)postgresql(dot)org
Cc: lowen(at)pari(dot)edu
Subject: [RPM] PostgreSQL RPM and python
Date: 2003-12-17 19:40:07
Message-ID: 20031217194007.GA26464@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

(I'm not subscribed to the list, so to be safe I added you in Cc:)

Lamar,

I'm trying to build your Postgres RPM on Mandrake 9.2. So far the only
thing I've stuck into is the PL that is not built if --without-python,
but the %files section includes plpython.so anyway (so the build fails).

I applied this patch and it appears to be working now:

*** postgresql.spec~ 2003-12-17 15:36:52.000000000 -0300
--- postgresql.spec 2003-12-17 16:15:15.000000000 -0300
***************
*** 735,742 ****
--- 735,744 ----
%{_bindir}/pltcl_loadmod
%{_datadir}/pgsql/unknown.pltcl
%endif
+ %if %python
%{_libdir}/pgsql/plpython.so
%endif
+ %endif

%if %python
%files python

Your RPMset is wonderful. This is my first time using it, and the fact
that I had so little problems is the proof ;-) Thanks for all your
work,

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Por suerte hoy explotó el califont porque si no me habría muerto
de aburrido" (Papelucho)

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message Lamar Owen 2003-12-17 19:53:34 Re: [RPM] PostgreSQL RPM and python
Previous Message Peter Eisentraut 2003-12-16 21:42:57 Re: 7.4 on OpenBSD 3.4/PPC