Fix RNG file for langpacks (#689755)
This commit is contained in:
parent
479cbbcaf3
commit
a0b0894f9d
34
comps.rng
34
comps.rng
@ -23,12 +23,17 @@
|
||||
<zeroOrMore>
|
||||
<ref name="category"/>
|
||||
</zeroOrMore>
|
||||
<optional>
|
||||
<interleave><!-- We don't care what order these are in -->
|
||||
<optional>
|
||||
<ref name="whiteout"/>
|
||||
<ref name="blacklist"/>
|
||||
</interleave>
|
||||
</optional>
|
||||
<optional>
|
||||
<ref name="blacklist"/>
|
||||
</optional>
|
||||
<optional>
|
||||
<ref name="langpacks"/>
|
||||
</optional>
|
||||
</interleave>
|
||||
</element>
|
||||
</define>
|
||||
<define name="group">
|
||||
@ -182,6 +187,29 @@
|
||||
</group>
|
||||
</choice>
|
||||
</define>
|
||||
<define name="langpacks">
|
||||
<a:documentation>
|
||||
The "langpacks" item is a list of package-to-langpack mappings used
|
||||
by the yum-langpacks plugin.
|
||||
|
||||
An example is:
|
||||
<match name="foo" install="foo-lang-%s">
|
||||
When the 'foo' package is installed, the 'foo-lang-(language code)' package
|
||||
will be installed for any configured languages.
|
||||
</a:documentation>
|
||||
<element name="langpacks">
|
||||
<zeroOrMore>
|
||||
<element name="match">
|
||||
<attribute name="name">
|
||||
<ref name="string"/>
|
||||
</attribute>
|
||||
<attribute name="install">
|
||||
<ref name="string"/>
|
||||
</attribute>
|
||||
</element>
|
||||
</zeroOrMore>
|
||||
</element>
|
||||
</define>
|
||||
<define name="blacklist">
|
||||
<a:documentation>
|
||||
The "blacklist" is a list of packages that will be *removed* if found
|
||||
|
Loading…
Reference in New Issue
Block a user