/usr/share/zypp/schema/yum/rpm-inc.rng is in libzypp-common 15.3.0-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | <?xml version="1.0" encoding="UTF-8"?>
<grammar xmlns:rpm="http://linux.duke.edu/metadata/rpm" xmlns="http://relaxng.org/ns/structure/1.0">
<include href="common-inc.rng"/>
<define name="rpm.entry">
<element name="rpm:entry">
<optional>
<attribute name="pre">
<value>1</value>
</attribute>
</optional>
<optional>
<attribute name="kind">
<choice>
<value>atom</value>
<value>message</value>
<value>package</value>
<value>script</value>
<value>product</value>
<value>patch</value>
<value>pattern</value>
</choice>
</attribute>
</optional>
<attribute name="name"/>
<optional>
<ref name="private.evr"/>
<attribute name="flags">
<choice>
<value>EQ</value>
<value>GE</value>
<value>LE</value>
<value>LT</value>
<value>GT</value>
</choice>
</attribute>
</optional>
</element>
</define>
<define name="rpm.requires">
<element name="rpm:requires">
<optional>
<!-- pre should not be here, but it is in the wild -->
<attribute name="pre">
<value>1</value>
</attribute>
</optional>
<zeroOrMore>
<ref name="rpm.entry"/>
</zeroOrMore>
</element>
</define>
<define name="rpm.obsoletes">
<element name="rpm:obsoletes">
<oneOrMore>
<ref name="rpm.entry"/>
</oneOrMore>
</element>
</define>
<define name="rpm.provides">
<element name="rpm:provides">
<zeroOrMore>
<ref name="rpm.entry"/>
</zeroOrMore>
</element>
</define>
<define name="rpm.recommends">
<element name="rpm:recommends">
<zeroOrMore>
<ref name="rpm.entry"/>
</zeroOrMore>
</element>
</define>
<define name="rpm.supplements">
<element name="rpm:supplements">
<zeroOrMore>
<ref name="rpm.entry"/>
</zeroOrMore>
</element>
</define>
<define name="rpm.conflicts">
<element name="rpm:conflicts">
<oneOrMore>
<ref name="rpm.entry"/>
</oneOrMore>
</element>
</define>
<define name="rpm.enhances">
<element name="rpm:enhances">
<oneOrMore>
<ref name="rpm.entry"/>
</oneOrMore>
</element>
</define>
<define name="rpm.suggests">
<element name="rpm:suggests">
<zeroOrMore>
<ref name="rpm.entry"/>
</zeroOrMore>
</element>
</define>
</grammar>
|