summaryrefslogtreecommitdiff
path: root/readControlFile.go
diff options
context:
space:
mode:
Diffstat (limited to 'readControlFile.go')
-rw-r--r--readControlFile.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/readControlFile.go b/readControlFile.go
index 8876d64..84008a4 100644
--- a/readControlFile.go
+++ b/readControlFile.go
@@ -75,6 +75,11 @@ func (c *controlBox) readControlFile() error {
case "Architecture":
if c.Architecture.String() != value {
log.Warn("not sure what to do with Architecture", c.Architecture.String(), value)
+ if value == "noarch" {
+ log.Warn("attempting to set noarch")
+ c.Architecture.SetText(value)
+ }
+
}
default:
log.Warn("error unknown key", key, "value:", value)