Hello community,

here is the log from the commit of package python-cx_Freeze for 
openSUSE:Factory checked in at 2020-05-28 09:19:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cx_Freeze (Old)
 and      /work/SRC/openSUSE:Factory/.python-cx_Freeze.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cx_Freeze"

Thu May 28 09:19:43 2020 rev:4 rq:809604 version:6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cx_Freeze/python-cx_Freeze.changes        
2019-09-27 14:47:45.160873314 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-cx_Freeze.new.3606/python-cx_Freeze.changes  
    2020-05-28 09:19:43.905254142 +0200
@@ -1,0 +2,5 @@
+Wed May 27 09:36:53 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-cx_Freeze.spec ++++++
--- /var/tmp/diff_new_pack.wsbrVd/_old  2020-05-28 09:19:46.597259073 +0200
+++ /var/tmp/diff_new_pack.wsbrVd/_new  2020-05-28 09:19:46.597259073 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cx_Freeze
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -37,6 +37,8 @@
 BuildRequires:  chrpath
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 # we provide same binary like the deprecated py2 variant
 Conflicts:      %{oldpython}-cx_Freeze
 %python_subpackages
@@ -63,6 +65,8 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/cxfreeze-quickstart
+%python_clone -a %{buildroot}%{_bindir}/cxfreeze
 %python_expand chrpath -d 
%{buildroot}%{$python_sitearch}/cx_Freeze/bases/Console*
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
@@ -70,11 +74,19 @@
 # test_FindModule_from_zip - needs testpkg1.egg which is not present
 %pytest_arch -k 'not test_FindModule_from_zip'
 
+%post
+%python_install_alternative cxfreeze-quickstart
+%python_install_alternative cxfreeze
+
+%postun
+%python_uninstall_alternative cxfreeze-quickstart
+%python_uninstall_alternative cxfreeze
+
 %files %{python_files}
 %doc README.md
 %license doc/src/license.rst
-%python3_only %{_bindir}/cxfreeze
-%python3_only %{_bindir}/cxfreeze-quickstart
+%python_alternative %{_bindir}/cxfreeze
+%python_alternative %{_bindir}/cxfreeze-quickstart
 %{python_sitearch}/*
 
 %changelog


Reply via email to