To Require or not to Require?

Rex Dieter rdieter at math.unl.edu
Thu Aug 11 15:15:39 UTC 2011


> I have a package (keyutils) that produces three RPMs: keyutils (programs),
> keyutils-libs and keyutils-devel.  The programs in the keyutils RPM depend on
> the libraries in the keyutils-libs RPM and pick up implicit dependencies thus:
> 
> 	warthog>rpm -qRp keyutils-1.5.1-1.fc14.x86_64.rpm
> 	...
> 	config(keyutils) = 1.5.1-1.fc14
> 	...
> 	libkeyutils.so.1()(64bit)   
> 	...
> So does the keyutils rpm need an explicit Requires on the keyutils-libs rpm in
> the specfile or is the implicit library dependency sufficient?

Since it's a subpkg from the same srpm, I'd opt to be on the safe side, and add an 
explicit versioned Requires

-- rex



More information about the devel mailing list