From 8807cbc7305e424725b2be8eed7ecd9234f7772e Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 19 May 2026 00:03:42 +0900 Subject: internal/rosa: create metadata alongside artifact This enables deferring evaluation of azalea-based packages and fixes the longstanding quirk of version being disjoint from other metadata. Signed-off-by: Ophestra --- internal/rosa/libarchive.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'internal/rosa/libarchive.go') diff --git a/internal/rosa/libarchive.go b/internal/rosa/libarchive.go index 1cb35c6a..d79f1282 100644 --- a/internal/rosa/libarchive.go +++ b/internal/rosa/libarchive.go @@ -88,9 +88,7 @@ install -Dv /usr/src/CTestCustom.cmake /cure/ }, (*CMakeHelper)(nil)), version } func init() { - native.MustRegister(&Artifact{ - f: Toolchain.newLibarchive, - + native.mustRegister(Toolchain.newLibarchive, &Metadata{ Name: "libarchive", Description: "multi-format archive and compression library", Website: "https://www.libarchive.org/", -- cgit v1.3.1