|
|
e10583c |
Name: docker-compose
|
|
|
936d01e |
Version: 1.18.0
|
|
|
517fd02 |
Release: 4%{?dist}
|
|
|
b5e4716 |
Summary: Multi-container orchestration for Docker
|
|
|
e10583c |
|
|
|
e10583c |
License: ASL 2.0
|
|
|
936d01e |
URL: https://github.com/docker/compose
|
|
|
70572f9 |
Source0: %pypi_source
|
|
|
e10583c |
|
|
|
762b114 |
# Upstream uses environment markers to conditionally apply some dependencies.
|
|
|
762b114 |
# Environment markers were first added in setuptools 20.6.8.
|
|
|
762b114 |
Patch2: allow-older-setuptools.patch
|
|
|
762b114 |
|
|
|
77a7657 |
# rhbz#1636882
|
|
|
77a7657 |
# If the pip command is available and docker-py is in the output, docker-compose
|
|
|
77a7657 |
# will emit a warning advising the user to manipulate dependencies via pip. That
|
|
|
77a7657 |
# doesn't make sense when installed via RPM.
|
|
|
77a7657 |
Patch3: remove-pip-warning.patch
|
|
|
77a7657 |
|
|
|
e10583c |
# docker-compose is compatible with fig and is a simple rename.
|
|
|
e10583c |
# Currently it only prints deprecation warnings for changed functionality.
|
|
|
e10583c |
Provides: fig = %{version}-%{release}
|
|
|
e10583c |
# Last fig EVR was 1.0.1-2
|
|
|
e10583c |
Obsoletes: fig <= 1.0.1-3
|
|
|
e10583c |
|
|
|
31ff39a |
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
31ff39a |
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
d224138 |
BuildRequires: python%{python3_pkgversion}-pytest
|
|
|
d224138 |
BuildRequires: python%{python3_pkgversion}-cached_property >= 1.2.0
|
|
|
d224138 |
BuildRequires: python%{python3_pkgversion}-docopt >= 0.6.1
|
|
|
d224138 |
BuildRequires: python%{python3_pkgversion}-yaml >= 3.10
|
|
|
d224138 |
BuildRequires: python%{python3_pkgversion}-requests >= 2.6.1
|
|
|
d224138 |
BuildRequires: python%{python3_pkgversion}-texttable >= 0.9.0
|
|
|
d224138 |
BuildRequires: python%{python3_pkgversion}-websocket-client >= 0.32.0
|
|
|
d224138 |
BuildRequires: python%{python3_pkgversion}-docker >= 2.6.1
|
|
|
d224138 |
BuildRequires: python%{python3_pkgversion}-dockerpty >= 0.4.1
|
|
|
d224138 |
BuildRequires: python%{python3_pkgversion}-six >= 1.3.0
|
|
|
d224138 |
BuildRequires: python%{python3_pkgversion}-jsonschema >= 2.5.1
|
|
|
d224138 |
BuildRequires: python%{python3_pkgversion}-pysocks >= 1.5.6
|
|
|
31ff39a |
|
|
|
70572f9 |
Requires: python%{python3_pkgversion}-setuptools
|
|
|
70572f9 |
Requires: python%{python3_pkgversion}-cached_property >= 1.2.0
|
|
|
70572f9 |
Requires: python%{python3_pkgversion}-docopt >= 0.6.1
|
|
|
70572f9 |
Requires: python%{python3_pkgversion}-yaml >= 3.10
|
|
|
70572f9 |
Requires: python%{python3_pkgversion}-requests >= 2.6.1
|
|
|
70572f9 |
Requires: python%{python3_pkgversion}-texttable >= 0.9.0
|
|
|
70572f9 |
Requires: python%{python3_pkgversion}-websocket-client >= 0.32.0
|
|
|
70572f9 |
Requires: python%{python3_pkgversion}-docker >= 2.6.1
|
|
|
70572f9 |
Requires: python%{python3_pkgversion}-dockerpty >= 0.4.1
|
|
|
70572f9 |
Requires: python%{python3_pkgversion}-six >= 1.3.0
|
|
|
70572f9 |
Requires: python%{python3_pkgversion}-jsonschema >= 2.5.1
|
|
|
70572f9 |
Requires: python%{python3_pkgversion}-pysocks >= 1.5.6
|
|
|
e10583c |
|
|
|
e10583c |
BuildArch: noarch
|
|
|
e10583c |
|
|
|
70572f9 |
|
|
|
e10583c |
%description
|
|
|
61f9ca3 |
Compose is a tool for defining and running multi-container Docker
|
|
|
61f9ca3 |
applications. With Compose, you use a Compose file to configure your
|
|
|
de8831e |
application's services. Then, using a single command, you create and
|
|
|
61f9ca3 |
start all the services from your configuration.
|
|
|
61f9ca3 |
|
|
|
61f9ca3 |
Compose is great for development, testing, and staging environments,
|
|
|
61f9ca3 |
as well as CI workflows.
|
|
|
e10583c |
|
|
|
61f9ca3 |
Using Compose is basically a three-step process.
|
|
|
61f9ca3 |
|
|
|
de8831e |
1. Define your app's environment with a Dockerfile so it can be
|
|
|
61f9ca3 |
reproduced anywhere.
|
|
|
61f9ca3 |
2. Define the services that make up your app in docker-compose.yml so
|
|
|
61f9ca3 |
they can be run together in an isolated environment:
|
|
|
61f9ca3 |
3. Lastly, run docker-compose up and Compose will start and run your
|
|
|
61f9ca3 |
entire app.
|
|
|
e10583c |
|
|
|
70572f9 |
|
|
|
e10583c |
%prep
|
|
|
762b114 |
%autosetup -p 1
|
|
|
70572f9 |
rm -rf docker_compose.egg-info
|
|
|
e10583c |
|
|
|
8a04126 |
# Remove dependency version constraints not relevant in Fedora/EPEL
|
|
|
8a04126 |
sed -e 's/, < [0-9.]\+//' -i setup.py
|
|
|
e10583c |
|
|
|
d224138 |
# Backport of https://github.com/docker/compose/commit/8b5d32373e55dbf9d041c6b9c379900c94b9a6b9
|
|
|
d224138 |
sed -e 's/^import mock$/from tests import mock/' -i tests/unit/bundle_test.py
|
|
|
d224138 |
|
|
|
e10583c |
|
|
|
e10583c |
%build
|
|
|
31ff39a |
%py3_build
|
|
|
e10583c |
|
|
|
70572f9 |
|
|
|
e10583c |
%install
|
|
|
31ff39a |
%py3_install
|
|
|
42a65f4 |
install -D -p -m 644 contrib/completion/bash/docker-compose %{buildroot}%{_datadir}/bash-completion/completions/docker-compose
|
|
|
42a65f4 |
install -D -p -m 644 contrib/completion/zsh/_docker-compose %{buildroot}%{_datadir}/zsh/site-functions/_docker-compose
|
|
|
42a65f4 |
install -D -p -m 644 contrib/completion/fish/docker-compose.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/docker-compose.fish
|
|
|
e10583c |
|
|
|
70572f9 |
|
|
|
d224138 |
%check
|
|
|
51df8b1 |
PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} --verbose tests/unit
|
|
|
d224138 |
|
|
|
70572f9 |
|
|
|
e10583c |
%files
|
|
|
e10583c |
%license LICENSE
|
|
|
70572f9 |
%doc CHANGELOG.md README.rst
|
|
|
e10583c |
%{_bindir}/%{name}
|
|
|
31ff39a |
%{python3_sitelib}/compose
|
|
|
31ff39a |
%{python3_sitelib}/docker_compose-%{version}-py%{python3_version}.egg-info
|
|
|
42a65f4 |
%{_datadir}/bash-completion
|
|
|
42a65f4 |
%{_datadir}/zsh
|
|
|
42a65f4 |
%{_datadir}/fish
|
|
|
e10583c |
|
|
|
70572f9 |
|
|
|
e10583c |
%changelog
|
|
|
517fd02 |
* Thu Mar 07 2019 Carl George <carl@george.computer> - 1.18.0-4
|
|
|
517fd02 |
- Drop backports-ssl_match_hostname requirement for py34->py36 switch
|
|
|
517fd02 |
|
|
|
934bd20 |
* Thu Mar 07 2019 Troy Dawson <tdawson@redhat.com> - 1.18.0-3
|
|
|
934bd20 |
- Rebuilt to change main python from 3.4 to 3.6
|
|
|
934bd20 |
|
|
|
77a7657 |
* Mon Oct 08 2018 Carl George <carl@george.computer> - 1.18.0-2
|
|
|
77a7657 |
- Add patch3 to remove pip warning rhbz#1636882
|
|
|
77a7657 |
|
|
|
936d01e |
* Fri May 18 2018 Carl George <carl@george.computer> - 1.18.0-1
|
|
|
936d01e |
- Bump to upstream 1.18.0
|
|
|
8a04126 |
- Drop patch0, use sed on setup.py instead
|
|
|
762b114 |
- Add patch2 to allow use of older setuptools
|
|
|
31ff39a |
- Use python34 stack
|
|
|
d224138 |
- Run upstream unit tests
|
|
|
42a65f4 |
- Add bash, zsh, and fish completions
|
|
|
936d01e |
|
|
Carl George |
27e1d86 |
* Tue Jun 06 2017 Carl George <carl.george@rackspace.com> - 1.9.0-5
|
|
Carl George |
27e1d86 |
- Relax minimum requirement of python-requests
|
|
Carl George |
27e1d86 |
|
|
|
d3ca099 |
* Wed May 31 2017 Michael Hampton <error@ioerror.us> - 1.9.0-4
|
|
|
7ff38eb |
- Update python-docker-py minimum version; fixes BZ#1457376
|
|
|
7ff38eb |
|
|
|
4c60d87 |
* Sun May 21 2017 Michael Hampton <error@ioerror.us> - 1.9.0-3
|
|
|
4c60d87 |
- Remove requires upper bound from setup.py, fixes BZ#1452999
|
|
|
4c60d87 |
|
|
|
82d83eb |
* Sat Nov 19 2016 Michael Hampton <error@ioerror.us> - 1.9.0-2
|
|
|
82d83eb |
- Add new upstream dependency python-backports-ssl_match_hostname
|
|
|
82d83eb |
|
|
|
e6c787e |
* Sat Nov 19 2016 Michael Hampton <error@ioerror.us> - 1.9.0-1
|
|
|
e6c787e |
- Update to upstream 1.9.0
|
|
|
57e44e0 |
- Add new upstream dependency python2-backports-functools_lru_cache
|
|
|
e6c787e |
|
|
|
30ebe8d |
* Fri Sep 23 2016 Michael Hampton <error@ioerror.us> - 1.8.1-1
|
|
|
30ebe8d |
- Update to upstream 1.8.1
|
|
|
30ebe8d |
|
|
|
de8831e |
* Thu Jul 28 2016 Michael Hampton <error@ioerror.us> - 1.8.0-1
|
|
|
de8831e |
- Update to upstream 1.8.0
|
|
|
de8831e |
|
|
|
8475835 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.1-2
|
|
|
8475835 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
8475835 |
|
|
|
61f9ca3 |
* Thu May 05 2016 Michael Hampton <error@ioerror.us> - 1.7.1-1
|
|
|
61f9ca3 |
- Update to upstream 1.7.1
|
|
|
61f9ca3 |
- Updated package description from upstream
|
|
|
61f9ca3 |
|
|
|
97b63a1 |
* Thu Apr 14 2016 Michael Hampton <error@ioerror.us> - 1.7.0-1
|
|
|
97b63a1 |
- Update to upstream 1.7.0
|
|
|
97b63a1 |
|
|
|
4da3e6c |
* Fri Feb 05 2016 Michael Hampton <error@ioerror.us> - 1.6.0-1
|
|
|
4da3e6c |
- Update to upstream 1.6.0
|
|
|
4da3e6c |
|
|
|
16df5c4 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-5
|
|
|
16df5c4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
16df5c4 |
|
|
|
a58a183 |
* Tue Jan 12 2016 Michael Hampton <error@ioerror.us> - 1.5.2-4
|
|
|
a58a183 |
- Added missing dependency python-enum34
|
|
|
a58a183 |
|
|
|
cee0785 |
* Mon Jan 11 2016 Michael Hampton <error@ioerror.us> - 1.5.2-3
|
|
|
cee0785 |
- Added missing dependency python-jsonschema
|
|
|
cee0785 |
|
|
|
21d12d4 |
* Wed Dec 30 2015 Michael Hampton <error@ioerror.us> - 1.5.2-2
|
|
|
21d12d4 |
- Updated locations of docs
|
|
|
21d12d4 |
|
|
|
a09b761 |
* Wed Dec 30 2015 Michael Hampton <error@ioerror.us> - 1.5.2-1
|
|
|
a09b761 |
- Update to upstream 1.5.2
|
|
|
a09b761 |
|
|
|
4df82fe |
* Wed Sep 23 2015 Michael Hampton <error@ioerror.us> - 1.4.2-1
|
|
|
4df82fe |
- Fixes a regression in the 1.4.1 release that would cause
|
|
|
4df82fe |
docker-compose up without the -d option to exit immediately.
|
|
|
4df82fe |
|
|
|
26cc25a |
* Wed Sep 16 2015 Michael Hampton <error@ioerror.us> - 1.4.1-1
|
|
|
26cc25a |
- Update to upstream 1.4.1
|
|
|
26cc25a |
|
|
|
b5e4716 |
* Wed Aug 12 2015 Michael Hampton <error@ioerror.us> - 1.4.0-1
|
|
|
b5e4716 |
- Update to upstream 1.4.0
|
|
|
b5e4716 |
- Update Summary to match upstream summary
|
|
|
b5e4716 |
|
|
|
e10583c |
* Sat May 16 2015 Michael Hampton <error@ioerror.us> - 1.2.0-3
|
|
|
e10583c |
- Update Obsoletes EVR per packaging guidelines BZ#1213111
|
|
|
e10583c |
|
|
|
e10583c |
* Sun Apr 19 2015 Michael Hampton <error@ioerror.us> - 1.2.0-2
|
|
|
e10583c |
- Update location of LICENSE file
|
|
|
e10583c |
|
|
|
e10583c |
* Sat Apr 18 2015 Michael Hampton <error@ioerror.us> - 1.2.0-1
|
|
|
e10583c |
- Update to 1.2.0
|
|
|
e10583c |
- Added new doc SWARM.md
|
|
|
e10583c |
- Removed docker package requires as it is not required to build or run the
|
|
|
e10583c |
package, only to run tests, which we can't do anyway
|
|
|
e10583c |
- Removed commented code relating to running tests, which we can't do anyway
|
|
|
e10583c |
- Made package noarch as docker-io is no longer required
|
|
|
e10583c |
|
|
|
e10583c |
* Mon Mar 23 2015 Michael Hampton <error@ioerror.us> - 1.1.0-1
|
|
|
e10583c |
- Update to 1.1.0 including upstream name change
|
|
|
e10583c |
- Requires python-dockerpty
|
|
|
e10583c |
- Requires python-docker-py >= 0.7.1-3 BZ#1197300
|
|
|
e10583c |
|
|
|
e10583c |
* Tue Mar 17 2015 Matej Stuchlik <mstuchli@redhat.com> - 1.0.1-2
|
|
|
e10583c |
- Completely remove version specs from setup.py
|
|
|
e10583c |
|
|
|
e10583c |
* Tue Mar 17 2015 Matej Stuchlik <mstuchli@redhat.com> - 1.0.1-1
|
|
|
e10583c |
- Update to 1.0.1
|
|
|
e10583c |
|
|
|
e10583c |
* Wed Dec 03 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.0.0-5
|
|
|
e10583c |
- Remove upper bound from setup.py requires
|
|
|
e10583c |
|
|
|
e10583c |
* Wed Nov 12 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.0.0-4
|
|
|
e10583c |
- Add python-setuptools to requires
|
|
|
e10583c |
|
|
|
e10583c |
* Thu Oct 23 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.0.0-3
|
|
|
e10583c |
- Relax strict version requirements on websocket-client (#1155510)
|
|
|
e10583c |
|
|
|
e10583c |
* Tue Oct 21 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.0.0-2
|
|
|
e10583c |
- Update Requires
|
|
|
e10583c |
|
|
|
e10583c |
* Tue Oct 21 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.0.0-1
|
|
|
e10583c |
- Update to 1.0.0
|
|
|
e10583c |
- Droped the two patches
|
|
|
e10583c |
|
|
|
e10583c |
* Tue Oct 21 2014 Matej Stuchlik <mstuchli@redhat.com> - 0.5.2-2
|
|
|
e10583c |
- Explicitly disable debuginfo subpackage (#1154780)
|
|
|
e10583c |
- Add python-docker-py to Requires (#1154874)
|
|
|
e10583c |
|
|
|
e10583c |
* Thu Oct 09 2014 Matej Stuchlik <mstuchli@redhat.com> - 0.5.2-1
|
|
|
e10583c |
- Initial spec based on rhbz#1129889
|