RPMs of SDL Apps

Hi People :slight_smile:

Just wondering… when I build an RPM for my SDL apps, is it a good idea to
let RPM automatically figure out the dependencies or should I manually
specify them…?

Such as,

Requires: libsdl >=1.2, libsdl_image >= 1.2

Cheers,

Stevie :)–
Stephen Sweeney
Java Software Engineer
http://www.parallelrealities.co.uk

is it a good idea to let RPM automatically figure out the dependencies

Yes.

or should I manually specify them…?

Nope.

Let RPM handle this stuff for each build itself. Consider your
dependencies change, you might either forget about it or you update your
system and some new used stuff is pulled in without you noticing it,
your manual specification gets useless. Besides that, why do something
when it can be done automatically? Unnecassary work. (Except you enjoy
copy&pasting from ‘ldd’ output so very much).

Maybe it makes sense if RPM does a mistake, but I have yet to see such
happen. Another possible (unlikely) exception might be you have several
binaries in the package, but only care for the dependencies of one
binary. But then one should think again about the package logic. :slight_smile:

PeterAm Fr, den 10.10.2003 schrieb Stephen Sweeney um 00:33: