From 67422642ef9e64f63d1eb56bb23429756d6c4331 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Fri, 31 Jan 2014 19:03:50 +0400 Subject: [PATCH] Fix order of fields. --- debian/format.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/format.go b/debian/format.go index a9bf48d7..c78e066e 100644 --- a/debian/format.go +++ b/debian/format.go @@ -11,7 +11,8 @@ import ( type Stanza map[string]string // Canonical order of fields in stanza -var canocialOrder = []string{"Package", "Version", "Installed-Size", "Priority", "Section", "Maintainer", "Architecture"} +var canocialOrder = []string{"Origin", "Label", "Suite", "Package", "Version", "Installed-Size", "Priority", "Section", "Maintainer", + "Architecture", "Codename", "Date", "Architectures", "Components", "Description", "MD5sum", "MD5Sum", "SHA1", "SHA256"} // Copy returns copy of Stanza func (s Stanza) Copy() (result Stanza) {