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>
<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:
&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">
<a:documentation>
The "blacklist" is a list of packages that will be *removed* if found