## 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/compose/v2 %global goipath github.com/docker/compose/v2 Version: 2.31.0 %gometa -L -f %global common_description %{expand: Define and run multi-container applications with Docker.} Name: docker-compose Release: %autorelease Summary: Define and run multi-container applications with Docker # 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 BuildRequires: moby-rpm-macros # This fixes the issue in https://bugzilla.redhat.com/2316333. # The boolean Requires along with the Suggests will make sure docker-cli is # installed unless podman-docker is already installed. # Note that the "podman compose" command is not officially supported by the # `docker-compose` maintainers, # and any bugs that cannot be reproduced with `docker compose` # (where `docker` is provided by docker-cli and not podman-docker) # should be reported to the podman maintainers. Requires: (docker-cli or podman-docker) Suggests: docker-cli # Ensure that %%{moby_cli_plugins_dir} is owned when podman-docker is installed # by Requiring moby-filesystem explicitly. Requires: moby-filesystem # Provides /usr/bin/docker-compose wrapper for backwards compatibility Recommends: docker-compose-switch # Conflict with upstream package Conflicts: docker-compose-plugin %description %{common_description} %prep %goprep -A %setup -q -T -D -a1 %{forgesetupargs} %autopatch -p1 %generate_buildrequires %go_vendor_license_buildrequires -c %{S:2} %build export GO_LDFLAGS="-X %{goipath}/internal.Version=%{version}" %gobuild -o %{gobuilddir}/bin/docker-compose %{goipath}/cmd %install %go_vendor_license_install -c %{S:2} install -Dpm 0755 \ %{gobuilddir}/bin/docker-compose \ %{buildroot}%{moby_cli_plugins_dir}/docker-compose %check %go_vendor_license_check -c %{S:2} %if %{with check} # e2e tests require external services %gocheck -t pkg/e2e %endif %files -f %{go_vendor_license_filelist} %license vendor/modules.txt %doc README.md %{moby_cli_plugins_dir}/docker-compose %changelog ## START: Generated by rpmautospec * Thu Nov 28 2024 Bradley G Smith - 2.31.0-1 - Update to release v2.31.0 - Resolve rhbz#2329322 - Upstream fixes and improvements * Thu Nov 28 2024 Bradley G Smith - 2.30.3-2 - Exclude shell files from license report * Sat Nov 09 2024 Bradley G Smith - 2.30.3-1 - Update to new v2.30.3 release - Resolves: rhbz#2324429 * Thu Oct 31 2024 Bradley G Smith - 2.30.1-1 - Update to v2.30.1 - Resolves rhbz#2322885 * Fri Oct 11 2024 Bradley G Smith - 2.29.7-2 - Allow use of podman-docker instead of docker-cli - Relates: rhbz#2316333 * Sat Sep 21 2024 Bradley G Smith - 2.29.7-1 - Update to v2.29.7 - Resolves rhbz#2313924 * Fri Sep 20 2024 Maxwell G - 2.29.5-1 - Update to 2.29.5 upstream release - Resolves: rhbz#2313030 * Mon Sep 16 2024 Bradley G Smith - 2.29.3-1 - Update to v2.29.3 - resolves rhbz#2304795 * Sun Aug 25 2024 Bradley G Smith - 2.29.2-1 - Update to v2.29.2 * Sun Aug 25 2024 Bradley G Smith - 2.29.1-3 - Add readme with maintainers notes * Thu Aug 01 2024 Maxwell G - 2.29.1-1 - Update to 2.29.1. * Thu Aug 01 2024 Maxwell G - 2.28.1-1 - Update to 2.28.1. * Thu Aug 01 2024 Maxwell G - 2.26.0-1 - Update to 2.26.0. Fixes rhbz#2000794. * Wed Jul 24 2024 Miroslav Suchý - 1.29.2-15 - convert license to SPDX * Wed Jul 17 2024 Fedora Release Engineering - 1.29.2-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 08 2024 Python Maint - 1.29.2-13 - Rebuilt for Python 3.13 * Wed Jan 24 2024 Fedora Release Engineering - 1.29.2-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 1.29.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 1.29.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jun 30 2023 Python Maint - 1.29.2-9 - Rebuilt for Python 3.12 * Thu Jan 19 2023 Fedora Release Engineering - 1.29.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Nov 16 2022 Lumír Balhar - 1.29.2-7 - Fix compatibility with pytest 7.2 * Thu Jul 21 2022 Fedora Release Engineering - 1.29.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jun 16 2022 Python Maint - 1.29.2-5 - Rebuilt for Python 3.11 * Thu Jan 20 2022 Fedora Release Engineering - 1.29.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 1.29.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.29.2-2 - Rebuilt for Python 3.10 * Mon May 10 2021 Michael Hampton - 1.29.2-1 - Update to 1.29.2 * Wed Apr 21 2021 Michael Hampton - 1.29.1-1 - Rebase to 1.29.1 * Mon Mar 29 2021 Michael Hampton - 1.28.6-1 - Rebase to 1.28.6 * Fri Feb 26 2021 Michael Hampton - 1.28.5-1 - Rebase to 1.28.5 * Fri Feb 19 2021 Michael Hampton - 1.28.4-1 - Rebase to 1.28.4 * Wed Jan 27 2021 Michael Hampton - 1.28.2-1 - Rebase to 1.28.2 * Tue Jan 26 2021 Fedora Release Engineering - 1.28.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jan 20 2021 Michael Hampton - 1.28.0-1 - Rebase to 1.28.0 * Thu Sep 24 2020 Michael Hampton - 1.27.4-1 - Rebase to 1.27.4 * Wed Sep 16 2020 Michael Hampton - 1.27.3-2 - Requires python-docker 4.3.1 * Wed Sep 16 2020 Michael Hampton - 1.27.3-1 - Rebase to 1.27.3 * Mon Jul 27 2020 Fedora Release Engineering - 1.25.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 14 2020 Michael Hampton - 1.26.2-1 - Rebase to 1.26.2 - Add python-distro build dependency - Add python-dotenv build dependency * Tue May 26 2020 Miro Hrončok - 1.25.4-2 - Rebuilt for Python 3.9 * Mon Mar 23 2020 Michael Hampton - 1.25.4-2 - Remove patch for BZ#1705955 it is now in upstream source - Add python-ddt build dependency * Sat Feb 29 2020 Michael Hampton - 1.25.4-1 - Rebase to 1.25.4 * Tue Jan 28 2020 Fedora Release Engineering - 1.24.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Oct 7 2019 Michael Hampton - 1.24.1-3 - Require python-docker 4.0.2-2 for ssh feature * Thu Oct 03 2019 Miro Hrončok - 1.24.1-2 - Rebuilt for Python 3.8.0rc1 (#1748018) * Tue Sep 17 2019 Michael Hampton - 1.24.1-2 - Require python-docker 4.0.2 for ssh feature * Wed Aug 28 2019 Michael Hampton - 1.24.1-1 - Rebase to 1.24.1 (BZ#1691898) - Patch tests for pytest 5 compatibility (BZ#1705955) * Mon Aug 19 2019 Miro Hrončok - 1.22.0-6 - Rebuilt for Python 3.8 * Wed Jul 24 2019 Fedora Release Engineering - 1.22.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Jul 10 2019 Michael Hampton - 1.22.0-4 * Thu Jan 31 2019 Fedora Release Engineering - 1.22.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Oct 08 2018 Carl George - 1.22.0-2 - Run upstream unit tests * Wed Jul 18 2018 Michael Hampton - 1.22.0-1 - Update to 1.22.0 * Thu Jul 12 2018 Fedora Release Engineering - 1.20.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 1.20.1-2 - Rebuilt for Python 3.7 * Tue Mar 27 2018 Michael Hampton - 1.20.1-1 - Update to 1.20.1 * Wed Mar 21 2018 Michael Hampton - 1.20.0-1 - Update to 1.20.0 * Fri Mar 02 2018 Adam Williamson - 1.19.0-2 - Backport upstream patch for compatibility with python-docker 3.0.0 * Mon Feb 19 2018 Michael Hampton - 1.19.0-1 - Update to 1.19.0 * Wed Feb 07 2018 Fedora Release Engineering - 1.18.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Tue Dec 26 2017 Carl George - 1.18.0-1 - Latest upstream - Drop patch0 and patch1, use sed on setup.py instead - Rebase patch2 * Thu Nov 9 2017 Michael Hampton - 1.17.1-1 - Update to 1.17.1 (#1511455) * Thu Nov 2 2017 Michael Hampton - 1.17.0-1 - Update to 1.17.0 (#1504337) * Sun Sep 10 2017 Carl George - 1.16.1-2 - Align dependencies with upstream - RHEL compatibility - Add bash, zsh, and fish completions * Sat Sep 2 2017 Michael Hampton - 1.16.1-1 - Update to 1.16.1 (#1483776) * Fri Jul 28 2017 Michael Hampton - 1.15.0-1 - Update to 1.15.0 (#1471093) - Explicit python3-docker requirement - New upstream requirements python3-pysocks, python3-certifi, python3-idna * Wed Jul 26 2017 Fedora Release Engineering - 1.14.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 20 2017 Michael Hampton - 1.14.0-1 - Update to upstream 1.14.0 * Mon May 8 2017 Michael Hampton - 1.13.0-1 - Update to upstream 1.13.0 * Fri Apr 7 2017 Michael Hampton - 1.12.0-1 - Update to upstream 1.12.0 * Thu Mar 2 2017 Michael Hampton - 1.11.2-1 - Update to upstream 1.11.2 * Tue Feb 28 2017 Michael Hampton - 1.11.1-3 - Remove requirements upper bound from setup.py; BZ#1426145 - Added new dependency python3-colorama * Fri Feb 17 2017 Michael Hampton - 1.11.1-2 - python-docker-py package name changed to python-docker; BZ#1422198 * Fri Feb 10 2017 Michael Hampton - 1.11.1-1 - Update to upstream 1.11.1 * Fri Feb 10 2017 Fedora Release Engineering - 1.10.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Feb 3 2017 Michael Hampton - 1.10.1-1 - Update to upstream 1.10.1 * Mon Dec 19 2016 Miro Hrončok - 1.9.0-3 - Rebuild for Python 3.6 * Mon Nov 21 2016 Michael Hampton - 1.9.0-2 - BZ#1396852 * Sat Nov 19 2016 Michael Hampton - 1.9.0-1 - Update to upstream 1.9.0 * Fri Sep 23 2016 Michael Hampton - 1.8.1-1 - Update to upstream 1.8.1 * Sat Sep 10 2016 Michael Hampton - 1.8.0-2 - Port to Python 3, BZ#1374656 * Thu Jul 28 2016 Michael Hampton - 1.8.0-1 - Update to upstream 1.8.0 * Tue Jul 19 2016 Fedora Release Engineering - 1.7.1-2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu May 05 2016 Michael Hampton - 1.7.1-1 - Update to upstream 1.7.1 - Updated package description from upstream * Thu Apr 14 2016 Michael Hampton - 1.7.0-1 - Update to upstream 1.7.0 * Fri Feb 05 2016 Michael Hampton - 1.6.0-1 - Update to upstream 1.6.0 * Wed Feb 03 2016 Fedora Release Engineering - 1.5.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Jan 12 2016 Michael Hampton - 1.5.2-4 - Added missing dependency python-enum34 * Mon Jan 11 2016 Michael Hampton - 1.5.2-3 - Added missing dependency python-jsonschema * Wed Dec 30 2015 Michael Hampton - 1.5.2-2 - Updated locations of docs * Wed Dec 30 2015 Michael Hampton - 1.5.2-1 - Update to upstream 1.5.2 * Wed Sep 23 2015 Michael Hampton - 1.4.2-1 - Fixes a regression in the 1.4.1 release that would cause docker-compose up without the -d option to exit immediately. * Wed Sep 16 2015 Michael Hampton - 1.4.1-1 - Update to upstream 1.4.1 * Wed Aug 12 2015 Michael Hampton - 1.4.0-1 - Update to upstream 1.4.0 - Update Summary to match upstream summary * Sat May 16 2015 Michael Hampton - 1.2.0-3 - Update Obsoletes EVR per packaging guidelines BZ#1213111 * Sun Apr 19 2015 Michael Hampton - 1.2.0-2 - Update location of LICENSE file * Sat Apr 18 2015 Michael Hampton - 1.2.0-1 - Update to 1.2.0 - Added new doc SWARM.md - Removed docker package requires as it is not required to build or run the package, only to run tests, which we can't do anyway - Removed commented code relating to running tests, which we can't do anyway - Made package noarch as docker-io is no longer required * Mon Mar 23 2015 Michael Hampton - 1.1.0-1 - Update to 1.1.0 including upstream name change - Requires python-dockerpty - Requires python-docker-py >= 0.7.1-3 BZ#1197300 * Tue Mar 17 2015 Matej Stuchlik - 1.0.1-2 - Completely remove version specs from setup.py * Tue Mar 17 2015 Matej Stuchlik - 1.0.1-1 - Update to 1.0.1 * Wed Dec 03 2014 Matej Stuchlik - 1.0.0-5 - Remove upper bound from setup.py requires * Wed Nov 12 2014 Matej Stuchlik - 1.0.0-4 - Add python-setuptools to requires * Thu Oct 23 2014 Matej Stuchlik - 1.0.0-3 - Relax strict version requirements on websocket-client (#1155510) * Tue Oct 21 2014 Matej Stuchlik - 1.0.0-2 - Update Requires * Tue Oct 21 2014 Matej Stuchlik - 1.0.0-1 - Update to 1.0.0 - Droped the two patches * Tue Oct 21 2014 Matej Stuchlik - 0.5.2-2 - Explicitly disable debuginfo subpackage (#1154780) - Add python-docker-py to Requires (#1154874) * Thu Oct 09 2014 Matej Stuchlik - 0.5.2-1 - Initial spec based on rhbz#1129889 ## END: Generated by rpmautospec