[Fedora-packaging] Requires(missingok)

Panu Matilainen pmatilai at laiskiainen.org
Mon Mar 3 08:44:15 UTC 2008


>
> On Sun, 2008-03-02 at 16:35 -0600, Jason L Tibbitts III wrote:
>> I saw a review ticket for a package which uses Requires(missingok):
>> which I have not seen before.  Some searching turned up the kismet and
>> python-docutils which currently use this idiom.
>>
>> What is this actually supposed to do?  I can understand what
>> Requires(hint) might do, but Requires(missingok) sounds more like it
>> wouldn't actually do anything if the dependency is not present, which
>> would make me wonder as to the point of having it at all.
>>
>> Do we want Requires(missingok) in Fedora packages?
>>
>
> no - at least for yum it is not supported.

Rpm doesn't support that either as of 4.4.2.x, but the parsing of 
Requires(foo) attributes is somewhat broken so it doesn't report the error 
as such in all cases (yes, it's a bug of course).

Requires(missingok) means just as much to rpm 4.4.2.x as 
Requires(arbitraryjunk)

 	- Panu -




More information about the Fedora-packaging mailing list