From 53164007249e5a17b77d5e2cac0a5bfceb742cac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Tue, 24 Oct 2006 18:20:20 +0000 Subject: [PATCH] Change order of the tags in specfile.py. This change doesn't effect pisi but scripts using specfile can make a little difference now according to common choice of tag ordering in repository. --- pisi/specfile.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pisi/specfile.py b/pisi/specfile.py index 40eed3d5..23436e40 100644 --- a/pisi/specfile.py +++ b/pisi/specfile.py @@ -91,9 +91,9 @@ class Update: a_type = [autoxml.String, autoxml.optional] t_Date = [autoxml.String, autoxml.mandatory] t_Version = [autoxml.String, autoxml.mandatory] + t_Comment = [autoxml.String, autoxml.optional] t_Name = [autoxml.Text, autoxml.optional] t_Email = [autoxml.String, autoxml.optional] - t_Comment = [autoxml.String, autoxml.optional] def __str__(self): s = self.date @@ -147,12 +147,12 @@ class Source: t_Name = [autoxml.String, autoxml.mandatory] t_Homepage = [autoxml.String, autoxml.optional] t_Packager = [Packager, autoxml.mandatory] - t_Summary = [autoxml.LocalText, autoxml.mandatory] - t_Description = [autoxml.LocalText, autoxml.optional] + t_License = [ [autoxml.String], autoxml.mandatory] t_IsA = [ [autoxml.String], autoxml.optional] t_PartOf = [autoxml.String, autoxml.optional] + t_Summary = [autoxml.LocalText, autoxml.mandatory] + t_Description = [autoxml.LocalText, autoxml.optional] t_Icon = [ autoxml.String, autoxml.optional] - t_License = [ [autoxml.String], autoxml.mandatory] t_Archive = [Archive, autoxml.mandatory ] t_Patches = [ [Patch], autoxml.optional] t_BuildDependencies = [ [Dependency], autoxml.optional]