## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## 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.9.0 %bcond_without check # https://github.com/docker/cli-docs-tool %global goipath github.com/docker/cli-docs-tool Version: 0.5.1 %gometa %global common_description %{expand: Utilities to generate (reference) documentation for the docker CLI.} %global golicenses LICENSE %global godocs example README.md fixtures/buildx_stop.md\\\ fixtures/buildx.md fixtures/buildx_build.md\\\ fixtures/buildx_stop.pre.md Name: %{goname} Release: %autorelease Summary: Utilities to generate (reference) documentation for the docker CLI License: Apache-2.0 URL: %{gourl} Source: %{gosource} #BuildRequires: golang(github.com/docker/buildx/commands) #BuildRequires: golang(github.com/docker/buildx/driver/docker) #BuildRequires: golang(github.com/docker/buildx/driver/docker-container) #BuildRequires: golang(github.com/docker/buildx/driver/kubernetes) BuildRequires: golang(github.com/docker/cli/cli/command) BuildRequires: golang(github.com/spf13/cobra) BuildRequires: golang(github.com/spf13/pflag) BuildRequires: golang(gopkg.in/yaml.v3) %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) BuildRequires: golang(github.com/stretchr/testify/require) %endif %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Mon May 22 2023 John Doe - 0.5.1-1 - Uncommitted changes