Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-cu2qu for openSUSE:Factory 
checked in at 2021-01-26 14:47:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cu2qu (Old)
 and      /work/SRC/openSUSE:Factory/.python-cu2qu.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cu2qu"

Tue Jan 26 14:47:17 2021 rev:2 rq:866751 version:1.6.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cu2qu/python-cu2qu.changes        
2020-05-29 21:36:03.766415138 +0200
+++ /work/SRC/openSUSE:Factory/.python-cu2qu.new.28504/python-cu2qu.changes     
2021-01-26 14:51:08.363791257 +0100
@@ -1,0 +2,5 @@
+Tue Jan 26 09:23:44 UTC 2021 - Dirk M??ller <dmuel...@suse.com>
+
+- use alternatives 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-cu2qu.spec ++++++
--- /var/tmp/diff_new_pack.u0aWDW/_old  2021-01-26 14:51:08.911792005 +0100
+++ /var/tmp/diff_new_pack.u0aWDW/_new  2021-01-26 14:51:08.915792010 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cu2qu
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -54,14 +54,21 @@
 %python_install
 %python_expand rm %{buildroot}%{$python_sitearch}/cu2qu/cu2qu.c
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
+%python_clone -a %{buildroot}%{_bindir}/cu2qu
 
 %check
 %pytest_arch
 
+%post
+%python_install_alternative cu2qu
+
+%postun
+%python_uninstall_alternative cu2qu
+
 %files %{python_files}
 %doc README.rst
 %license LICENSE
-%python3_only %{_bindir}/cu2qu
+%python_alternative %{_bindir}/cu2qu
 %{python_sitearch}/*
 
 %changelog

Reply via email to