[TriLUG] RPM spec file... Requires: init(foo) ??

Tanner Lovelace clubjuggler at gmail.com
Thu Aug 17 23:40:19 EDT 2006


On 8/17/06, Benjamin Reed <rangerrick at befunk.com> wrote:

> D'oh!  You're right.
>
> However, looking at it, I'm assuming it's kind of like RPMs that provide
> perl(XML::API) or whatever.  It's just a convention used for defining
> certain types of provides/requires.

Eureka!  That's where I've seen it.  Man, it's been a while since
I worked with RPMs.

>
> I expect that wherever that spec file was made, they had custom stuff in
> their find-depends scripts included in RPM to auto-generate init-script
> dependencies, or something else goofy like that.

Yeah, that's very weird.

> In a requires: line, that syntax doesn't mean anything, it's just
> another string.  You could "Provides: shoe(size10)" probably and still
> have it work, and if a package Requires: shoe(size10) it will work.  :)

Ha!  Nice example.

Cheers,
Tanner
-- 
Tanner Lovelace
clubjuggler at gmail dot com
http://wtl.wayfarer.org/
(fieldless) In fess two roundels in pale, a billet fesswise and an
increscent, all sable.



More information about the TriLUG mailing list