Hello community, here is the log from the commit of package python-technicolor for openSUSE:Factory checked in at 2020-05-20 18:44:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-technicolor (Old) and /work/SRC/openSUSE:Factory/.python-technicolor.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-technicolor" Wed May 20 18:44:37 2020 rev:3 rq:807163 version:2017.1.16.1544 Changes: -------- --- /work/SRC/openSUSE:Factory/python-technicolor/python-technicolor.changes 2019-06-06 18:18:44.132661198 +0200 +++ /work/SRC/openSUSE:Factory/.python-technicolor.new.2738/python-technicolor.changes 2020-05-20 18:45:25.737277833 +0200 @@ -1,0 +2,5 @@ +Tue May 19 08:03:12 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-technicolor.spec ++++++ --- /var/tmp/diff_new_pack.Waqskk/_old 2020-05-20 18:45:27.521281841 +0200 +++ /var/tmp/diff_new_pack.Waqskk/_new 2020-05-20 18:45:27.525281850 +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
