diff --git a/pisi-spec.dtd b/pisi-spec.dtd index 55550207..a12a95e5 100644 --- a/pisi-spec.dtd +++ b/pisi-spec.dtd @@ -52,6 +52,8 @@ + + @@ -82,6 +84,7 @@ PartOf | Summary | Description | + BuildType | RuntimeDependencies | Files | Conflicts | diff --git a/pisi-spec.rng b/pisi-spec.rng index bdb087fb..dff1ada4 100644 --- a/pisi-spec.rng +++ b/pisi-spec.rng @@ -85,6 +85,9 @@ + + + @@ -1333,6 +1336,13 @@ + + + + + + + diff --git a/pisi/specfile.py b/pisi/specfile.py index 3f5cfee7..82fc2a86 100644 --- a/pisi/specfile.py +++ b/pisi/specfile.py @@ -1,6 +1,6 @@ # -*- 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"]