[packages/docker-buildx] up to 0.35.0

atler atler at pld-linux.org
Sun Jun 21 18:06:15 CEST 2026


commit 0a793cca094cc262b4b6dc5a678c570ac7f6d96b
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Jun 21 18:05:46 2026 +0200

    up to 0.35.0

 docker-buildx.spec | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)
---
diff --git a/docker-buildx.spec b/docker-buildx.spec
index aed29a6..6346d7d 100644
--- a/docker-buildx.spec
+++ b/docker-buildx.spec
@@ -1,13 +1,13 @@
 Summary:	Docker CLI plugin for extended build capabilities
 Name:		docker-buildx
-Version:	0.25.0
+Version:	0.35.0
 Release:	1
 License:	Apache v2.0
 Group:		Applications/System
 Source0:	https://github.com/docker/buildx/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	14797b2df82559a06bcf0a7c38235912
+# Source0-md5:	e46d1e899a5d1b562861731644c47ffd
 URL:		https://github.com/docker/buildx
-BuildRequires:	golang >= 1.23.0
+BuildRequires:	golang >= 1.25.9
 BuildRequires:	rpmbuild(macros) >= 2.009
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
@@ -15,6 +15,7 @@ Requires:	docker-ce-cli
 ExclusiveArch:	%go_arches
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		go_pkg	github.com/docker/build
 %undefine	_debugsource_packages
 
 %description
@@ -34,10 +35,14 @@ Key features:
 %setup -q -n buildx-%{version}
 
 %build
-%{__make} build \
-	BUILDX_BIN=/bin/false \
-	VERSION="%{version}" \
-	REVISION="%{release}"
+CGO_ENABLED=0 \
+%__go build \
+	-mod vendor \
+	-v \
+	-trimpath \
+	-ldflags "-X %{go_pkg}/version.Version=%{version} -X %{go_pkg}/version.Revision=%{release} -X %{go_pkg}/version.Package=github.com/docker/build" \
+	-o ./bin/build/docker-buildx \
+	./cmd/buildx
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/docker-buildx.git/commitdiff/0a793cca094cc262b4b6dc5a678c570ac7f6d96b



More information about the pld-cvs-commit mailing list