From fbf9f4e802fa66327b60cdae1136c549b6344b8c Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 16 Nov 2024 10:30:30 -0600 Subject: add mirrors.wit.com example. add noarch --- readControlFile.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'readControlFile.go') 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) -- cgit v1.2.3