Hello community,

here is the log from the commit of package python-uncompyle6 for 
openSUSE:Leap:15.2 checked in at 2020-05-23 16:08:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-uncompyle6 (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-uncompyle6.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-uncompyle6"

Sat May 23 16:08:56 2020 rev:3 rq:808397 version:3.6.5

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-uncompyle6/python-uncompyle6.changes    
2020-04-18 18:41:13.233977681 +0200
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-uncompyle6.new.2738/python-uncompyle6.changes
  2020-05-23 16:09:00.041256400 +0200
@@ -1,0 +2,5 @@
+Mon May 18 09:10:38 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-uncompyle6.spec ++++++
--- /var/tmp/diff_new_pack.Tt9SqR/_old  2020-05-23 16:09:00.357257078 +0200
+++ /var/tmp/diff_new_pack.Tt9SqR/_new  2020-05-23 16:09:00.357257078 +0200
@@ -32,6 +32,8 @@
 Requires:       python-setuptools
 Requires:       python-spark_parser >= 1.8.7
 Requires:       python-xdis >= 4.2.2
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module hypothesis >= 2.0.0}
@@ -53,16 +55,26 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/pydisassemble
+%python_clone -a %{buildroot}%{_bindir}/uncompyle6
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %pytest pytest
 
+%post
+%python_install_alternative pydisassemble
+%python_install_alternative uncompyle6
+
+%postun
+%python_uninstall_alternative pydisassemble
+%python_uninstall_alternative uncompyle6
+
 %files %{python_files}
 %license COPYING
 %doc ChangeLog README README.rst
-%python3_only %{_bindir}/uncompyle6
-%python3_only %{_bindir}/pydisassemble
+%python_alternative %{_bindir}/uncompyle6
+%python_alternative %{_bindir}/pydisassemble
 %{python_sitelib}/*
 
 %changelog


Reply via email to