Hello community,
here is the log from the commit of package python-docker-compose for
openSUSE:Factory checked in at 2020-05-28 09:17:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-docker-compose (Old)
and /work/SRC/openSUSE:Factory/.python-docker-compose.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-docker-compose"
Thu May 28 09:17:53 2020 rev:9 rq:809411 version:1.25.4
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-docker-compose/python-docker-compose.changes
2020-04-21 13:05:17.496168996 +0200
+++
/work/SRC/openSUSE:Factory/.python-docker-compose.new.3606/python-docker-compose.changes
2020-05-28 09:17:54.205046410 +0200
@@ -1,0 +2,5 @@
+Tue May 26 07:22:43 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-docker-compose.spec ++++++
--- /var/tmp/diff_new_pack.f4Qech/_old 2020-05-28 09:17:54.749047694 +0200
+++ /var/tmp/diff_new_pack.f4Qech/_new 2020-05-28 09:17:54.753047704 +0200
@@ -56,6 +56,8 @@
Requires: python-six >= 1.3.0
Requires: python-texttable >= 0.9.1
Requires: python-websocket-client >= 0.32.0
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
BuildArch: noarch
# This is py3 only as we have the binary just there
%ifpython3
@@ -99,15 +101,22 @@
%install
%python_install
+%python_clone -a %{buildroot}%{_bindir}/docker-compose
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest tests/unit
+%post
+%python_install_alternative docker-compose
+
+%postun
+%python_uninstall_alternative docker-compose
+
%files %{python_files}
%license LICENSE
%doc README.md CHANGES.md SWARM.md
-%python3_only %{_bindir}/docker-compose
+%python_alternative %{_bindir}/docker-compose
%{python_sitelib}/*
%changelog