## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm 1.15.0.post0 %bcond check 1 # https://github.com/moby/buildkit %global goipath github.com/moby/buildkit Version: 0.27.0 %global tag v%{gsub %{version} ~ -} %gometa -L -f %global common_description %{expand: Concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit.} Name: docker-buildkit Release: %autorelease Summary: Concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit # Generated by go-vendor-tools License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0 URL: %{gourl} Source0: %{gosource} # Generated by go-vendor-tools Source1: %{archivename}-vendor.tar.bz2 Source2: go-vendor-tools.toml BuildRequires: go-vendor-tools >= 0.7.0 BuildRequires: git BuildRequires: docker-distribution # Upstream binary package includes the package equivalents below Requires: containerd Requires: runc Requires: containernetworking-plugins Recommends: qemu-user-static Provides: golang-github-moby-buildkit = %{version}-%{release} Obsoletes: golang-github-moby-buildkit < 0.12.0-1 %description %{common_description} %prep %goprep -A %setup -q -T -D -a1 %{forgesetupargs} # no patch file at this time # %%autopatch -p1 %generate_buildrequires %go_vendor_license_buildrequires -c %{S:2} %build # see upstream Dockerfile for any changes to buildtags or ldflags %global buildtags seccomp %global specldflags -X %{goipath}/version.Version=%{version} -X %{goipath}/version.Revision=%{release} -X %{goipath}/version.Package=%{goipath} export GO_BUILDTAGS="%{buildtags}" export GO_LDFLAGS="%{specldflags}" # set currentgoldflags to nil; blocks default -X version string # %%global currentgoldflags %%{specldflags} for cmd in cmd/* ; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %install %go_vendor_license_install -c %{S:2} install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %check %go_vendor_license_check -c %{S:2} %if %{with check} %global test_ignores %{shrink: %dnl skip tests that fail with create tmp file: open - invalid argument -s "TestConversion" -s "TestSetBlob" -s "TestLoopLeaseContent" -s "TestSharingCompressionVariant" -s "TestContentAttachable" %dnl skip specific tests that fail with 'operation not permitted' -s "TestGetRemotes" -s "TestExtractOnMutable" -s "TestMergeOp" -s "TestDiffOp" -s "TestCLIIntegration" -s "TestSnapshotExtract" -s "TestJobsIntegration" -s "TestGhaCacheIntegration" %dnl exclude directories where tests fail with 'operation not permitted' -d cache/contenthash -t source -d client -d frontend -t frontend/dockerfile -d snapshot -t util/overlay } %gocheck2 %{test_ignores} %endif %files -f %{go_vendor_license_filelist} %license vendor/modules.txt %doc docs examples AUTHORS README.md %{_bindir}/buildctl %{_bindir}/buildkitd %changelog ## START: Generated by rpmautospec * Thu Jan 22 2026 Bradley G Smith - 0.27.0-1 - Update to release v0.27.0 - Upstream fixes and new features * Thu Jan 22 2026 Bradley G Smith - 0.26.3-4 - Drop policy-helper override * Fri Jan 16 2026 Fedora Release Engineering - 0.26.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Jan 16 2026 Fedora Release Engineering - 0.26.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Tue Dec 16 2025 Bradley G Smith - 0.26.3-1 - Update to release v0.26.3 - Resolves CVE-2024-25621: rhbz#2419004, rhbz#2419033, rhbz#2419427 - Upstream fix * Thu Nov 20 2025 Bradley G Smith - 0.26.2-1 - Update to release v0.26.2 - Upstream fix * Mon Nov 17 2025 Bradley G Smith - 0.26.1-1 - Update to release v0.26.1 - Upstream fixes * Thu Nov 13 2025 Bradley G Smith - 0.26.0-1 - Update to release v0.26.0 - Resolves: rhbz#2412681, rhbz#2412761 - Upstream new features and fixes - dependency override for moby/policy-helper needed for license (default version does not a a license file) * Wed Nov 05 2025 Bradley G Smith - 0.25.2-1 - Update to v0.25.2 - CVE-2025-58183; Resolves: rhbz#2412529 - CVE-2025-58188; Resolves: rhbz#2412380, rhbz#2411476, rhbz#2410945 - CVE-2025-58185; Resolves: rhbz#2410578, rhbz#2410299, rhbz#2410013 - CVE-2025-61723; Resolves: rhbz#2409627, rhbz#2409349, rhbz#2409065 - CVE-2025-58189; Resolves: rhbz#2408157, rhbz#2407880, rhbz#2407612 - Upstream updates * Thu Oct 23 2025 Bradley G Smith - 0.25.1-3 - Switch to docker-distribution package for 'registry' - Switch to docker-distribution as a BuildRequires for registry which removes dependency on unsupported golang- packages - Adopt gocheck2 and simplify %%check * Fri Oct 10 2025 Alejandro Sáez - 0.25.1-2 - rebuild * Tue Oct 07 2025 Bradley G Smith - 0.25.1-1 - Update to release 0.25.1 - Upstream fixes * Tue Sep 30 2025 Bradley G Smith - 0.25.0-1 - Update to release v0.25.0 - Resolves: rhbz#2399354, rhbz#2399081, rhbz#2398678, rhbz#2398424 - Upstream feature additions and fixes * Wed Sep 03 2025 Bradley G Smith - 0.24.0-1 - Update to release v0.24.0 - Upstream new features and fixes * Sat Aug 16 2025 Maxwell G - 0.23.2-6 - rebuild * Fri Aug 15 2025 Maxwell G - 0.23.2-5 - Rebuild for golang-1.25.0 * Fri Aug 15 2025 Maxwell G - 0.23.2-4 - Revert "Rebuild for golang-1.25.0" * Fri Aug 15 2025 Maxwell G - 0.23.2-3 - Rebuild for golang-1.25.0 * Wed Jul 23 2025 Fedora Release Engineering - 0.23.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Thu Jul 03 2025 Bradley G Smith - 0.23.2-1 - Update to release v0.23.2 - Upstream fixes * Fri Jun 20 2025 Bradley G Smith - 0.23.1-1 - Update to release v0.23.1 - Upstream fix * Tue Jun 17 2025 Bradley G Smith - 0.23.0-1 - Update to release v0.23.0 - Upstream changes and fixes * Wed May 21 2025 Bradley G Smith - 0.22.0-1 - Update package to release v0.22.0 - Upstream fixes and changes * Wed Apr 30 2025 Bradley G Smith - 0.21.1-1 - Update to release v0.21.1 - Upstream fixes - Update build requires to use more modern registry package - Update .gitignore to exclude rpms and mockbuild results_ directory * Tue Apr 15 2025 Bradley G Smith - 0.21.0-1 - Update to release v0.21.0 - Upstream new features and fixes - Add docker-distribution as BuildRequires * Mon Mar 24 2025 Bradley G Smith - 0.20.2-1 - Update package to release v0.20.2 - Fix possible UID overflow when setting user for container (CVE-2024-40635) * Mon Mar 24 2025 Maxwell G - 0.20.1-2 - Update License for latest go-vendor-tools * Wed Mar 05 2025 Bradley G Smith - 0.20.1-1 - Update to release v0.20.1 - Resolves rhbz#2350122 - Upstream fixes * Wed Feb 19 2025 Bradley G Smith - 0.20.0-1 - Update to release v0.20.0 - New features and fixes from upstream * Mon Feb 03 2025 Bradley G Smith - 0.19.0-1 - Initialize repository with release v0.19.0 - Resolves rhbz#2342034 - Replaces golang-github-moby-buildkit package ## END: Generated by rpmautospec