Hello community, here is the log from the commit of package python-technicolor for openSUSE:Leap:15.2 checked in at 2020-05-24 18:08:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-technicolor (Old) and /work/SRC/openSUSE:Leap:15.2/.python-technicolor.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-technicolor" Sun May 24 18:08:41 2020 rev:4 rq:808419 version:2017.1.16.1544 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-technicolor/python-technicolor.changes 2020-03-02 13:23:47.202449582 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-technicolor.new.2738/python-technicolor.changes 2020-05-24 18:08:41.350109097 +0200 @@ -1,0 +2,5 @@ +Tue May 19 08:03:12 UTC 2020 - Petr Gajdos <pgaj...@suse.com> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-technicolor.spec ++++++ --- /var/tmp/diff_new_pack.YzK3wu/_old 2020-05-24 18:08:41.734109928 +0200 +++ /var/tmp/diff_new_pack.YzK3wu/_new 2020-05-24 18:08:41.738109937 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-technicolor # -# 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-setuptools +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -45,15 +47,22 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/technicolor %python_expand %fdupes %{buildroot}%{$python_sitelib} %check # no testsuite found +%post +%python_install_alternative technicolor + +%postun +%python_uninstall_alternative technicolor + %files %{python_files} %doc README.md %license LICENSE -%python3_only %{_bindir}/technicolor +%python_alternative %{_bindir}/technicolor %{python_sitelib}/* %changelog