[Fedora-packaging] Using alternatives

Dominik 'Rathann' Mierzejewski dominik at greysector.net
Mon May 19 19:51:32 UTC 2008


Hi.

While reviewing a package, I stumbled across the use of alternatives
and found out it's not regulated in any way in Fedora. So far, I've
encountered three ways of handling the symlinks that are set up using
alternatives:
1. some packages have Provides: for them (like cups or postfix),
2. some don't own those files at all (like lam or scim),
3. some %ghost them.

All seem to work, but in case of 2. it's not possible to find out which
packages own/provide those files using rpm -qf, thus I consider it an
inferior solution.

Personally, I'm leaning towards 1., but I don't see any disadvantages
in 3., either. Comments?

Having said that, I'm going to write up a guideline to cover that. I expect
to have a presentable draft ready in a week or two.

Regards,
R.

-- 
Fedora contributor http://fedoraproject.org/wiki/DominikMierzejewski
Livna contributor http://rpm.livna.org MPlayer developer http://mplayerhq.hu
"Faith manages."
        -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"




More information about the packaging mailing list