Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-genfire for openSUSE:Factory 
checked in at 2021-01-20 18:27:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-genfire (Old)
 and      /work/SRC/openSUSE:Factory/.python-genfire.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-genfire"

Wed Jan 20 18:27:41 2021 rev:2 rq:864503 version:1.1.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-genfire/python-genfire.changes    
2020-05-26 17:21:59.288318925 +0200
+++ /work/SRC/openSUSE:Factory/.python-genfire.new.28504/python-genfire.changes 
2021-01-20 18:28:07.939556665 +0100
@@ -1,0 +2,5 @@
+Wed Jan 20 05:33:37 UTC 2021 - Steve Kowalik <[email protected]>
+
+- Switch from python3_only to python_alternative for genfire script
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-genfire.spec ++++++
--- /var/tmp/diff_new_pack.ODCk3B/_old  2021-01-20 18:28:08.787557443 +0100
+++ /var/tmp/diff_new_pack.ODCk3B/_new  2021-01-20 18:28:08.791557446 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-genfire
 #
-# 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
@@ -44,6 +44,8 @@
 Requires:       python-setuptools
 Requires:       python-six >= 1.10.0
 BuildArch:      noarch
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 %python_subpackages
 
 %description
@@ -60,13 +62,20 @@
 %install
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
+%python_clone -a %{buildroot}%{_bindir}/genfire
 
 %check
 # No test given
 
+%post
+%python_install_alternative genfire
+
+%postun
+%python_uninstall_alternative genfire
+
 %files %{python_files}
 %doc README.md
-%python3_only %{_bindir}/genfire
+%python_alternative %{_bindir}/genfire
 %{python_sitelib}/*
 
 %changelog

Reply via email to