Hello community,

here is the log from the commit of package python-aina for openSUSE:Factory 
checked in at 2020-06-10 00:43:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-aina (Old)
 and      /work/SRC/openSUSE:Factory/.python-aina.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-aina"

Wed Jun 10 00:43:52 2020 rev:3 rq:809819 version:0.1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-aina/python-aina.changes  2019-06-03 
18:55:34.740424211 +0200
+++ /work/SRC/openSUSE:Factory/.python-aina.new.3606/python-aina.changes        
2020-06-10 00:43:57.130265164 +0200
@@ -1,0 +2,5 @@
+Wed May 27 09:36:01 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-aina.spec ++++++
--- /var/tmp/diff_new_pack.3OEf7H/_old  2020-06-10 00:43:58.594268819 +0200
+++ /var/tmp/diff_new_pack.3OEf7H/_new  2020-06-10 00:43:58.594268819 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-aina
 #
-# 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
@@ -33,6 +33,8 @@
 BuildRequires:  python-rpm-macros
 Requires:       python-base >= 3.5
 Requires:       python-click >= 6.0
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module click >= 6.0}
@@ -52,16 +54,23 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/aina
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 export LANG=en_US.UTF-8
 %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python setup.py test
 
+%post
+%python_install_alternative aina
+
+%postun
+%python_uninstall_alternative aina
+
 %files %{python_files}
 %doc AUTHORS.rst README.rst
 %license LICENSE
-%python3_only %{_bindir}/aina
+%python_alternative %{_bindir}/aina
 %{python_sitelib}/*
 
 %changelog


Reply via email to