## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %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.8.2 %bcond_without check %global debug_package %{nil} # https://github.com/docker/cli %global goipath github.com/docker/cli Version: 22.06.0~beta.0 %global tag v22.06.0-beta.0 %gometa %global common_description %{expand: The docker CLI.} %global golicenses LICENSE NOTICE %global godocs docs CONTRIBUTING.md README.md TESTING.md AUTHORS Name: %{goname} Release: %autorelease Summary: The docker CLI License: Apache-2.0 URL: %{gourl} Source: %{gosource} # For compatibility with current Swarmkit # https://github.com/moby/swarmkit/issues/3081 Patch0: 0001-Revert-vendor-github.com-docker-docker.patch %description %{common_description} %gopkg %prep %goprep %patch0 -p1 sed -i "s|github.com/docker/distribution|github.com/distribution/distribution/v3|" $(find . -iname "*.go" -type f) %generate_buildrequires %go_generate_buildrequires # %%build # for cmd in cmd/* ; do # %%gobuild -o %%{gobuilddir}/bin/$(basename $cmd) %%{goipath}/$cmd # done %install %gopkginstall # install -m 0755 -vd %%{buildroot}%%{_bindir} # install -m 0755 -vp %%{gobuilddir}/bin/* %%{buildroot}%%{_bindir}/ %%if %{with check} %check %gocheck -t cli %endif # %%files # %%license LICENSE NOTICE # %%doc docs CONTRIBUTING.md README.md TESTING.md AUTHORS # %%{_bindir}/* %gopkgfiles %changelog * Sat Oct 22 2022 Robert-André Mauchin 22.06.0~beta.0-1 - Update to to 22.06~beta.0 * Wed Aug 10 2022 Maxwell G 20.10.7-8 - Rebuild to fix FTBFS * Thu Jul 21 2022 Fedora Release Engineering 20.10.7-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering 20.10.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Aug 03 2021 Robert-André Mauchin 20.10.7-5 - Unbootstrap * Tue Aug 03 2021 Robert-André Mauchin 20.10.7-4 - Remove k8s entirely * Tue Aug 03 2021 Robert-André Mauchin 20.10.7-3 - Unbootstrap * Tue Aug 03 2021 Robert-André Mauchin 20.10.7-2 - Fix patch filename * Tue Aug 03 2021 Robert-André Mauchin 20.10.7-1 - Update to version 20.10.7 Close: rhbz#1800572 * Thu Jul 22 2021 Fedora Release Engineering - 20.10.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Apr 20 2021 Olivier Lemasle - 20.10.6-1 - Update to 20.10.6 * Sun Mar 14 2021 Olivier Lemasle - 20.10.5-1 - Update to 20.10.5 * Tue Jan 26 2021 Fedora Release Engineering - 19.03.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Jul 25 22:24:04 CEST 2020 Robert-André Mauchin - 19.03.12-1 - Update to 19.03.12 * Mon Jul 27 2020 Fedora Release Engineering - 19.03.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 14:46:13 CET 2020 Robert-André Mauchin - 19.03.5-1 - Update to 19.03.5 * Wed Jan 29 2020 Fedora Release Engineering - 19.03.0-1.rc3.2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 19.03.0-1.rc3.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Jul 03 20:37:45 CEST 2019 Robert-André Mauchin - 19.03.0-1.rc3 - Release 19.03.0-rc3 * Wed May 01 15:26:24 CEST 2019 Robert-André Mauchin - 18.09.6-1 - Initial package