From 20ebddd9bf16d819ee4e92ec59ace37a1dc6fce7 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 17 Mar 2026 20:09:44 +0900 Subject: internal/rosa: export source kind This is set for an exported field, so export the constants as well. Signed-off-by: Ophestra --- internal/rosa/rosa.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'internal/rosa/rosa.go') diff --git a/internal/rosa/rosa.go b/internal/rosa/rosa.go index a28fd836..47ccddab 100644 --- a/internal/rosa/rosa.go +++ b/internal/rosa/rosa.go @@ -426,8 +426,8 @@ type Helper interface { } const ( - // sourceTarXZ denotes a source tarball to be decompressed using [XZ]. - sourceTarXZ = 1 + iota + // SourceKindTarXZ denotes a source tarball to be decompressed using [XZ]. + SourceKindTarXZ = 1 + iota ) // PackageAttr holds build-system-agnostic attributes. @@ -546,7 +546,7 @@ func (t Toolchain) NewPackage( var sourceSuffix string switch attr.SourceKind { - case sourceTarXZ: + case SourceKindTarXZ: sourceSuffix = ".tar.xz" scriptEarly += ` tar -C /usr/src/ -xf '/usr/src/` + name + `.tar.xz' -- cgit v1.3.1