autoxml rocks

This commit is contained in:
Eray Özkural
2005-11-17 00:49:06 +00:00
parent b548ac9be1
commit 39f7520c1a
2 changed files with 88 additions and 85 deletions
+3
View File
@@ -39,6 +39,9 @@ class Source:
class Package(specfile.Package):
__metaclass__ = autoxml.autoxml
# if this is working autoxml r0Xx0rz
t_PartOf = [autoxml.String, autoxml.mandatory]
t_Build = [ autoxml.Integer, autoxml.optional]
t_Distribution = [ autoxml.String, autoxml.mandatory]
t_DistributionRelease = [ autoxml.String, autoxml.mandatory]