update to 2.5.0 [release 2.5.0-1mamba;Sat May 07 2022]
This commit is contained in:
parent
6f406265d4
commit
d4d6253051
@ -1,5 +1,5 @@
|
|||||||
Name: docker-compose
|
Name: docker-compose
|
||||||
Version: 1.29.2
|
Version: 2.5.0
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: Define and run multi-container applications with Docker
|
Summary: Define and run multi-container applications with Docker
|
||||||
Group: System/Servers
|
Group: System/Servers
|
||||||
@ -7,22 +7,9 @@ Vendor: openmamba
|
|||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://github.com/docker/compose
|
URL: https://github.com/docker/compose
|
||||||
Source: https://github.com/docker/compose.git/%{version}/compose-%{version}.tar.bz2
|
Source: https://github.com/docker/compose.git/v%{version}/compose-%{version}.tar.bz2
|
||||||
License: Apache License 2.0
|
License: Apache License 2.0
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: libpython3-devel
|
|
||||||
BuildRequires: python3.7dist(cached-property)
|
|
||||||
BuildRequires: python3.7dist(distro)
|
|
||||||
BuildRequires: python3.7dist(docker)
|
|
||||||
BuildRequires: python3.7dist(dockerpty)
|
|
||||||
BuildRequires: python3.7dist(docopt)
|
|
||||||
BuildRequires: python3.7dist(jsonschema)
|
|
||||||
BuildRequires: python3.7dist(python-dotenv)
|
|
||||||
BuildRequires: python3.7dist(pyyaml)
|
|
||||||
BuildRequires: python3.7dist(requests)
|
|
||||||
BuildRequires: python3.7dist(setuptools)
|
|
||||||
BuildRequires: python3.7dist(texttable)
|
|
||||||
BuildRequires: python3.7dist(websocket-client)
|
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -32,38 +19,27 @@ Define and run multi-container applications with Docker.
|
|||||||
%setup -q -n compose-%{version}
|
%setup -q -n compose-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %{__python3} setup.py build
|
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -ldflags=-X=github.com/docker/compose/v2/internal.Version=%{version} -mod=readonly -modcacherw"
|
||||||
|
CGO_ENABLED=0 go build -trimpath -tags "e2e,kube" -o compose ./cmd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%{__python3} setup.py install \
|
install -D -m0755 compose %{buildroot}%{_prefix}/lib/docker/cli-plugins/docker-compose
|
||||||
-O1 --skip-build \
|
install -d %{buildroot}%{_bindir}
|
||||||
--root="%{buildroot}" \
|
ln -sf ../lib/docker/cli-plugins/docker-compose %{buildroot}%{_bindir}/docker-compose
|
||||||
--install-headers=%{python3_inc} \
|
|
||||||
--install-lib=%{python3_sitearch} \
|
|
||||||
--record=%{name}.filelist
|
|
||||||
|
|
||||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
|
||||||
|
|
||||||
install -Dm644 contrib/completion/bash/docker-compose \
|
|
||||||
%{buildroot}%{_datadir}/bash-completion/completions/docker-compose
|
|
||||||
install -Dm644 contrib/completion/fish/docker-compose.fish \
|
|
||||||
%{buildroot}%{_datadir}/fish/vendor_completions.d/docker-compose.fish
|
|
||||||
install -Dm644 contrib/completion/zsh/_docker-compose \
|
|
||||||
%{buildroot}%{_datadir}/zsh/site-functions/_docker-compose
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%files -f %{name}.filelist
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{python3_sitearch}/docker_compose-%{version}-py*.egg-info
|
%{_bindir}/docker-compose
|
||||||
%{python3_sitearch}/docker_compose-%{version}-py*.egg-info/*
|
%{_prefix}/lib/docker/cli-plugins/docker-compose
|
||||||
%{_datadir}/bash-completion/completions/docker-compose
|
|
||||||
%{_datadir}/fish/vendor_completions.d/docker-compose.fish
|
|
||||||
%{_datadir}/zsh/site-functions/_docker-compose
|
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat May 07 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.0-1mamba
|
||||||
|
- update to 2.5.0
|
||||||
|
|
||||||
* Sun Aug 29 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.29.2-1mamba
|
* Sun Aug 29 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.29.2-1mamba
|
||||||
- package created using the webbuild interface
|
- package created using the webbuild interface
|
||||||
|
Loading…
Reference in New Issue
Block a user