relaxng: deduplicate definition of arch=

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2022-07-07 14:47:36 +02:00 committed by kevin
parent a11a80531f
commit 27dbb3b62a
1 changed files with 7 additions and 9 deletions

View File

@ -314,15 +314,7 @@
<ref name="string"/>
</attribute>
<optional>
<attribute name="arch">
<ref name="string"/>
<a:documentation>
Arch to blacklist this package from. If unspecified, it will be
blocked on all arches.
<!-- Technically this should be an enum of known arches:
i386 x86_64 ppc ppc64 ia64 sparc alpha ... -->
</a:documentation>
</attribute>
<ref name="arch"/>
</optional>
</element>
</zeroOrMore>
@ -358,6 +350,12 @@
<define name="arch">
<attribute name="arch">
<ref name="string"/>
<a:documentation>
Arch to blacklist this package from. If unspecified, it will be
blocked on all arches.
<!-- Technically this should be an enum of known arches:
i386 x86_64 ppc ppc64 ia64 sparc alpha ... -->
</a:documentation>
</attribute>
</define>
<define name="variant">