[RPM] PostgreSQL RPM and python - Mailing list pgsql-ports

From Alvaro Herrera
Subject [RPM] PostgreSQL RPM and python
Date
Msg-id 20031217194007.GA26464@dcc.uchile.cl
Whole thread Raw
List 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)

pgsql-ports by date:

Previous
From: Lamar Owen
Date:
Subject: Re: [RPM] PostgreSQL RPM and python
Next
From: Marek Lewczuk
Date:
Subject: plPHP on Cygwin