## START: Set by rpmautospec ## (rpmautospec version 0.7.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.11.0 %bcond_without check # https://github.com/docker/buildx %global goipath github.com/docker/buildx Version: 0.18.0~rc3 %global tag v%{version_no_tilde} %gometa -L -f %global common_description %{expand: Docker CLI plugin for extended build capabilities with BuildKit.} Name: docker-buildx Release: %autorelease Summary: Docker CLI plugin for extended build capabilities with BuildKit # 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 AND Unicode-DFS-2016 URL: %{gourl} Source0: %{gosource} Source1: %{archivename}-vendor.tar.bz2 # Generated by go-vendor-tools Source2: go-vendor-tools.toml Patch: 0001-build-remove-go-build-trimpath-usage.patch BuildRequires: moby-rpm-macros BuildRequires: go-vendor-tools %if %{with check} BuildRequires: git-core %endif # Require the Docker CLI Requires: docker-cli %description %{common_description} %prep %goprep -A %setup -q -T -D -a1 %{forgesetupargs} %autopatch -p1 %generate_buildrequires %go_vendor_license_buildrequires -c %{S:2} %build GO_LDFLAGS="" GO_BUILDTAGS="" CGO_ENABLED=1 \ GO_EXTRA_FLAGS="%{gocompilerflags} -a -v -x" \ GO_EXTRA_LDFLAGS=%{gobuild_ldflags_shescaped} \ REVISION=%{release} \ VERSION=%{version} \ ./hack/build %install %go_vendor_license_install -c %{S:2} install -Dpm 0755 ./bin/build/docker-buildx %{buildroot}%{moby_cli_plugins_dir}/docker-buildx %check %go_vendor_license_check -c %{S:2} %if %{with check} # Disable integration tests rm tests/integration_test.go # gitutil tests require a git repository %gocheck -d util/gitutil %endif %files -f %{go_vendor_license_filelist} %license vendor/modules.txt %doc README.md %{moby_cli_plugins_dir}/docker-buildx %changelog ## START: Generated by rpmautospec * Wed Oct 30 2024 Bradley G Smith - 0.18.0~rc3-1 - Uncommitted changes * Sun Sep 15 2024 Bradley G Smith - 0.17.1-1 - Update to v0.17.1 - resolves rhbz#2312415 * Wed Sep 11 2024 Bradley G Smith - 0.17.0-1 - Update to v0.17.0 * Thu Aug 22 2024 Maxwell G - 0.16.2-1 - Initial package (rhbz#2274656) ## END: Generated by rpmautospec