Fix RNG file for langpacks (#689755)

This commit is contained in:
Bill Nottingham 2011-03-22 11:26:00 -04:00
parent 479cbbcaf3
commit a0b0894f9d

View File

@ -23,12 +23,17 @@
<zeroOrMore> <zeroOrMore>
<ref name="category"/> <ref name="category"/>
</zeroOrMore> </zeroOrMore>
<optional> <interleave><!-- We don't care what order these are in -->
<interleave><!-- We don't care what order these are in --> <optional>
<ref name="whiteout"/> <ref name="whiteout"/>
</optional>
<optional>
<ref name="blacklist"/> <ref name="blacklist"/>
</interleave> </optional>
</optional> <optional>
<ref name="langpacks"/>
</optional>
</interleave>
</element> </element>
</define> </define>
<define name="group"> <define name="group">
@ -182,6 +187,29 @@
</group> </group>
</choice> </choice>
</define> </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:
&lt;match name="foo" install="foo-lang-%s"&gt;
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"> <define name="blacklist">
<a:documentation> <a:documentation>
The "blacklist" is a list of packages that will be *removed* if found The "blacklist" is a list of packages that will be *removed* if found