commit:     ea7cd6e092def3df76f45f3ed30ecd1e4473e499
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 11 22:41:51 2018 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Jun 11 22:41:51 2018 +0000
URL:        
https://gitweb.gentoo.org/proj/nxml-gentoo-schemas.git/commit/?id=ea7cd6e0

Update rnc schemas.

 glsa.rnc     |  4 +++-
 metadata.rnc | 11 ++++++++++-
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/glsa.rnc b/glsa.rnc
index a9f182a..2711a6a 100644
--- a/glsa.rnc
+++ b/glsa.rnc
@@ -128,7 +128,8 @@ vulnerable = element vulnerable { attlist.vulnerable, text }
 attlist.vulnerable &=
   attribute range {
     "le" | "lt" | "eq" | "gt" | "ge" | "rlt" | "rle" | "rgt" | "rge"
-  }
+  },
+  [ a:defaultValue = "*" ] attribute slot { text }?
 # Element:      unaffected
 # Description:  Version of the fixed (or unaffected) package. In case the 
 #               package is superseded by another package, you need to
@@ -144,6 +145,7 @@ attlist.unaffected &=
   attribute range {
     "le" | "lt" | "eq" | "gt" | "ge" | "rlt" | "rle" | "rgt" | "rge"
   },
+  [ a:defaultValue = "*" ] attribute slot { text }?,
   attribute name { text }?
 # Element:      service
 # Description:  Provide information about the Gentoo services that are

diff --git a/metadata.rnc b/metadata.rnc
index 2ac5f01..7f4c26e 100644
--- a/metadata.rnc
+++ b/metadata.rnc
@@ -10,7 +10,12 @@ attlist.catmetadata &=
 pkgmetadata =
   element pkgmetadata {
     attlist.pkgmetadata,
-    (maintainer | longdescription | slots | use | upstream)*
+    (maintainer
+     | longdescription
+     | slots
+     | stabilize-allarches
+     | use
+     | upstream)*
   }
 attlist.pkgmetadata &=
   [ a:defaultValue = "" ] attribute pkgname { text }?
@@ -42,6 +47,9 @@ attlist.slot &= attribute name { text }
 # The meaning of sub-SLOTs for the whole package
 subslots = element subslots { attlist.subslots, text* }
 attlist.subslots &= empty
+# whether it's possible to stabilize ALLARCHES
+stabilize-allarches =
+  element stabilize-allarches { attlist.stabilize-allarches, empty }
 # description of what this USE flag does for this package
 use = element use { attlist.use, flag* }
 flag = element flag { attlist.flag, (text | pkg | cat)* }
@@ -128,6 +136,7 @@ attlist.use &= [ a:defaultValue = "en" ] attribute lang { 
text }?
 attlist.maintainer &= attribute restrict { text }?
 attlist.longdescription &= attribute restrict { text }?
 attlist.flag &= attribute restrict { text }?
+attlist.stabilize-allarches &= attribute restrict { text }?
 # standard parts
 
 # an email address

Reply via email to