On Sun, Aug 01, 2004 at 06:42:43PM +0200, Yosef Leibovich wrote: > Seems to me as well. My point is that manual dependecies should never be > needed.
How do you require QT >= 2.3 ? > > > > > > >>Don't get me wrong. The developer won't need to specify that, he'll > >>specify the required packages, and one rpm tool will automatically > >>generate the needed files list. > >> > >> > > > >Basically, this is already done. There are a number of scripts that > >generate automatic dependencies at package creation time. However if > >your package needs libpie.so.3 it can use /usr/lib/libar.so.3.1 from the > >package libpie-good-enough , /lib/libpie.3.14 from libpie-better and > >/usr/knuth-old/libpie.so.3.141.56 from libpie-web . Provided that you > >can guarantee that /usr/knuth-old is on ld.so.conf or on the user's > >LD_LIBRARY_PATH . > > > > > I don't think there are two libraries with the same name. All of them provide libpie.so.3 and the automatic provides script will detect it and add it to thir Provides list. > > >Thus the dependencies are on libraries, and on as most general version > >as possible. > > > > > > > It didn't work in my case though. My libcroco was fine and still rpms > wouldn't load. Care to give more details? > > >>This is much more exact measure (if dependecies are checked this is 100% > >>working, otherwise there's no chance it's gonna work) and allow > >>cross-distribution installations. > >> > >> > > > >Libraries names should be cross-distroes. The names of the packages that > >contain them are not guaranteed. > > > That's exactly why one should avoid depending on package names. > > >The versions ofthose libraries are also > >not guaranteed. -- Tzafrir Cohen +---------------------------+ http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend| mailto:[EMAIL PROTECTED] +---------------------------+ ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]