Kaydet (Commit) 9aa31bcc authored tarafından Fatih Aşıcı's avatar Fatih Aşıcı

specfile: Accept BuildType tag inside Package tags

It is not functional at this time.
üst 0262a6df
......@@ -52,6 +52,8 @@
<!ATTLIST Archive type CDATA #REQUIRED>
<!ATTLIST Archive target CDATA #IMPLIED>
<!ELEMENT BuildType (#PCDATA)>
<!ELEMENT BuildDependencies (Dependency*)>
<!ELEMENT Dependency (#PCDATA)>
......@@ -82,6 +84,7 @@
PartOf |
Summary |
Description |
BuildType |
RuntimeDependencies |
Files |
Conflicts |
......
......@@ -85,6 +85,9 @@
<zeroOrMore>
<ref name="Description"/>
</zeroOrMore>
<optional>
<ref name="BuildType"/>
</optional>
<optional>
<ref name="RuntimeDependencies"/>
</optional>
......@@ -1333,6 +1336,13 @@
</group>
</define>
<!-- BuildType -->
<define name="BuildType">
<element name="BuildType">
<text/>
</element>
</define>
<!-- BuildDependencies -->
<define name="BuildDependencies">
<element name="BuildDependencies">
......
# -*- coding: utf-8 -*-
#
# Copyright (C) 2005-2010, TUBITAK/UEKAE
# Copyright (C) 2005-2011, TUBITAK/UEKAE
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free
......@@ -232,6 +232,7 @@ class Package:
t_PartOf = [autoxml.String, autoxml.optional]
t_License = [ [autoxml.String], autoxml.optional]
t_Icon = [ autoxml.String, autoxml.optional]
t_BuildType = [ autoxml.String, autoxml.optional ]
t_PackageDependencies = [ [pisi.dependency.Dependency], autoxml.optional, "RuntimeDependencies/Dependency"]
t_PackageAnyDependencies = [[AnyDependency], autoxml.optional, "RuntimeDependencies/AnyDependency"]
t_ComponentDependencies = [ [autoxml.String], autoxml.optional, "RuntimeDependencies/Component"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment