[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Generating comps.xml

On Thu, Nov 22, 2007 at 12:07:51PM +0100, Alexander Todorov wrote:

> Group information can be extracted from the RPM package:
> e.g. Group       : System Environment/Base may result in
> system-environment group with base subgroup or something like that.
> This group includes the packages that are tagged with that group name in 
> the .spec file.

This assumes there is a one-to-one mapping between used RPM group names
and comps groups.  AFAIK this is currently not the case.  It could be
done that way, as the RPM group tag is not used for anything else at this
moment (in the past anaconda used it for showing a tree structure, IIRC).

> You are right that default, mandatory and optional is hardly automated.
> For that one needs a criteria of some kind (that is probably missing in 
> the RPM file).

As the RPM group tag is just a string, you could probably even include it
there, like with "Group: base(optional)" or "Group: kde-desktop(mandatory)".

--    Jos Vos <jos xos nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]