From: Michael J. <e-...@ka...> - 2005-08-31 19:34:26
|
On Wednesday, 31 August 2005, at 10:47:28 (-0400), Jim Perrin wrote: > In any event I had some time to sit down and read the link Didier > posted, and I don't see how it hurts anything to spell out the > Requires. It might be redundant, but that would be about it. Well, you must also consider the portability factor. For example, consider RHEL3. It still uses XFree86. But RHEL4 uses xorg. So if you need the X libraries, do you Require XFree86-libs or xorg-x11-libs? The correct answer is, "Neither." You let RPM figure out that you need libX11.so.6 and grab whatever package has it. Always strive to state dependencies at the highest level possible. You can even do things like "BuildRequires: /usr/bin/gtk-config" instead of having to choose between whether the gtk+ 1.x devel stuff is in gtk1-devel, gtk+-devel, or gtk-devel. Go for the lowest common denominator. I've been saying this for over 5 years now, and it's about damn time people started agreeing with me! ;-) Michael -- Michael Jennings (a.k.a. KainX) http://www.kainx.org/ <me...@ka...> n + 1, Inc., http://www.nplus1.net/ Author, Eterm (www.eterm.org) ----------------------------------------------------------------------- "I wish you'd look at me that way, your beautiful eyes looking deep into mine, telling me more than any words could say. But you don't even know I'm alive. Baby, to you all I am is the invisible man." -- 98 Degrees |