Hello community,

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

Package is "python-confusable-homoglyphs"

Thu May 28 09:19:51 2020 rev:4 rq:809609 version:3.2.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-confusable-homoglyphs/python-confusable-homoglyphs.changes
        2019-03-26 15:40:57.280288001 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-confusable-homoglyphs.new.3606/python-confusable-homoglyphs.changes
      2020-05-28 09:19:52.945270700 +0200
@@ -1,0 +2,5 @@
+Wed May 27 09:36:47 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-confusable-homoglyphs.spec ++++++
--- /var/tmp/diff_new_pack.e8Hxfa/_old  2020-05-28 09:19:53.493271704 +0200
+++ /var/tmp/diff_new_pack.e8Hxfa/_new  2020-05-28 09:19:53.493271704 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-confusable-homoglyphs
 #
-# 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
@@ -30,6 +30,8 @@
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-click
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 %python_subpackages
 
@@ -47,15 +49,22 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/confusable_homoglyphs
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %python_exec setup.py test
 
+%post
+%python_install_alternative confusable_homoglyphs
+
+%postun
+%python_uninstall_alternative confusable_homoglyphs
+
 %files %{python_files}
 %doc README.rst
 %license LICENSE
 %{python_sitelib}/*
-%python3_only %{_bindir}/confusable_homoglyphs
+%python_alternative %{_bindir}/confusable_homoglyphs
 
 %changelog


Reply via email to