Hello community, here is the log from the commit of package python-pycha for openSUSE:Leap:15.2 checked in at 2020-05-21 12:59:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-pycha (Old) and /work/SRC/openSUSE:Leap:15.2/.python-pycha.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pycha" Thu May 21 12:59:46 2020 rev:12 rq:807811 version:0.8.1 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-pycha/python-pycha.changes 2020-03-02 13:20:38.166073868 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-pycha.new.2738/python-pycha.changes 2020-05-21 13:00:04.954892157 +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.BNYnZA/_old 2020-05-21 13:00:05.358893037 +0200 +++ /var/tmp/diff_new_pack.BNYnZA/_new 2020-05-21 13:00:05.362893045 +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
