Hello community,
here is the log from the commit of package python-certstream for
openSUSE:Factory checked in at 2020-06-10 00:44:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-certstream (Old)
and /work/SRC/openSUSE:Factory/.python-certstream.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-certstream"
Wed Jun 10 00:44:19 2020 rev:7 rq:809822 version:1.11
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-certstream/python-certstream.changes
2020-01-06 15:24:35.600555582 +0100
+++
/work/SRC/openSUSE:Factory/.python-certstream.new.3606/python-certstream.changes
2020-06-10 00:44:22.810329273 +0200
@@ -1,0 +2,5 @@
+Wed May 27 09:36:43 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-certstream.spec ++++++
--- /var/tmp/diff_new_pack.iMe32G/_old 2020-06-10 00:44:23.734331580 +0200
+++ /var/tmp/diff_new_pack.iMe32G/_new 2020-06-10 00:44:23.738331590 +0200
@@ -30,6 +30,8 @@
BuildRequires: %{python_module websocket-client >= 0.48.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
# /SECTION
Requires: python3-termcolor
Requires: python3-websocket-client >= 0.48.0
@@ -52,15 +54,22 @@
%install
%python_install
+%python_clone -a %{buildroot}%{_bindir}/certstream
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# there are no tests
+%post
+%python_install_alternative certstream
+
+%postun
+%python_uninstall_alternative certstream
+
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/certstream/
%{python_sitelib}/certstream-%{version}-py*.egg-info
-%python3_only %{_bindir}/certstream
+%python_alternative %{_bindir}/certstream
%changelog