Hello community,

here is the log from the commit of package python-pycha for openSUSE:Factory 
checked in at 2020-05-20 18:47:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pycha (Old)
 and      /work/SRC/openSUSE:Factory/.python-pycha.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pycha"

Wed May 20 18:47:40 2020 rev:6 rq:807657 version:0.8.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pycha/python-pycha.changes        
2020-02-05 19:44:53.155358671 +0100
+++ /work/SRC/openSUSE:Factory/.python-pycha.new.2738/python-pycha.changes      
2020-05-20 18:47:49.949601802 +0200
@@ -1,0 +2,5 @@
+Wed May 20 07:26:19 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pycha.spec ++++++
--- /var/tmp/diff_new_pack.QGf3vu/_old  2020-05-20 18:47:50.937604021 +0200
+++ /var/tmp/diff_new_pack.QGf3vu/_new  2020-05-20 18:47:50.941604030 +0200
@@ -23,18 +23,20 @@
 Summary:        A library for making charts with Python
 License:        LGPL-3.0-or-later
 Group:          Development/Languages/Python
-URL:            http://bitbucket.org/lgs/pycha/
+URL:            https://bitbucket.org/lgs/pycha/
 Source:         
https://files.pythonhosted.org/packages/source/p/pycha/pycha-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-cairocffi
 Requires:       python-six
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module cairocffi}
 BuildRequires:  %{python_module six}
 # /SECTION
-BuildArch:      noarch
 %python_subpackages
 
 %description
@@ -52,12 +54,19 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/chavier
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%post
+%python_install_alternative chavier
+
+%postun
+%python_uninstall_alternative chavier
+
 %files %{python_files}
 %doc README.txt CHANGES.txt AUTHORS
 %license COPYING
 %{python_sitelib}/*
-%python3_only %{_bindir}/chavier
+%python_alternative %{_bindir}/chavier
 
 %changelog


Reply via email to