Enhanced spec file for GnuCash 1.6.6

Derek Atkins warlord@MIT.EDU
30 Apr 2002 18:27:57 -0400

If you save the Postgress backend library in its own RPM,
will it still add postgres to the "requires" portion of
the main RPM?

Where is it pulling in the dependency?  (My guess would be
all the cross-linking of the modules)


Dave Peticolas <dave@krondo.com> writes:

> On Tue, 2002-04-30 at 15:14, Linas Vepstas wrote:
> > 
> > May I remind everyone that when gnucash is built with postgres, that
> > binary will still run on a machine without postgres installed.
> > That's because the backends are dynamically loaded.
> > 
> > So I recommend always building gnucash *with* postgres, especially when
> > building binaries for other people...
> And may I remind you, as I have several times before,
> that when you build an rpm file with postgres support,
> rpm adds the postgres libs to the list of required libs,
> so you can't install the rpm without postgres,
> regardless of whether you want to use the postgres
> backend or not. That is why we build rpm's without postgres,
> not because we think the binary won't run.
> dave

       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available