Enhanced spec file for GnuCash 1.6.6

Chris Lyttle chris@wilddev.net
01 May 2002 00:46:10 -0700


On Tue, 2002-04-30 at 15:46, Dave Peticolas wrote:
> On Tue, 2002-04-30 at 15:40, Derek Atkins wrote:
> > Dave Peticolas <dave@krondo.net> writes:
> > 
> > > RPM scans all the library files in the rpm for dependencies,
> > > so cross-linking is irrelevant. Putting the postgres backend
> > > into a separate RPM would probably solve the problem, but I
> > > haven't tried it.
> > 
> > Might want to try it before denouncing the SQL backend ;) I agree that
> > providing the SQL backend pre-built would be a Good Thing (TM).
> 
> I'm not denouncing the sql backend, I am rejecting Linas's reasoning
> for why you should only build rpms with the backend enabled.
> When I build rpms, I generally build one with and one without postgres.
> Alternatively, we could have a base rpm plus an rpm that just has the
> postgres backend. Either way, two rpms need to be built. The former
> has the advantage that you only need to download one rpm either way,
> the latter is probably easier for us to build, since you could probably
> do it with one run of rpm.
> 
> dave
> 

Its easy enough to create separate RPM's the question would be if there
is some linking between libs that you have to have in order to run
GnuCash and postgres ones, if GnuCash doesn't care but just uses the
postgres ones if they happen to be there then it'd be easy. BTW in HEAD
2 people who aren't using Postgres have reported error's with a lib when
starting GnuCash. I think it was the new Business modules giving the
error but I cant remember the exact message. Ask cstim or hampton about
it maybe they have clearer recollections.
I'm willing to put together and test a stable RPM with the Postgres
stuff separated off into a separate rpm but probably not till the
weekend.

Chris