Hello community,

here is the log from the commit of package python-cilium-microscope for 
openSUSE:Factory checked in at 2020-06-03 20:35:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cilium-microscope (Old)
 and      /work/SRC/openSUSE:Factory/.python-cilium-microscope.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cilium-microscope"

Wed Jun  3 20:35:16 2020 rev:2 rq:811105 version:1.1.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-cilium-microscope/python-cilium-microscope.changes
        2020-02-04 19:57:31.101467357 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-cilium-microscope.new.3606/python-cilium-microscope.changes
      2020-06-03 20:36:14.233871229 +0200
@@ -1,0 +2,5 @@
+Wed May 27 09:36:44 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-cilium-microscope.spec ++++++
--- /var/tmp/diff_new_pack.8UrKE9/_old  2020-06-03 20:36:15.417874940 +0200
+++ /var/tmp/diff_new_pack.8UrKE9/_new  2020-06-03 20:36:15.421874952 +0200
@@ -43,6 +43,8 @@
 Requires:       python-rsa
 Requires:       python-urwid
 Requires:       python-websocket-client
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 Provides:       %{modname} = %{version}
 Obsoletes:      %{modname} < 1.1.1
 BuildArch:      noarch
@@ -61,11 +63,18 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/microscope
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%post
+%python_install_alternative microscope
+
+%postun
+%python_uninstall_alternative microscope
+
 %files %{python_files}
 %{python_sitelib}/*
-%python3_only %{_bindir}/microscope
+%python_alternative %{_bindir}/microscope
 %license LICENSE
 
 %changelog


Reply via email to