Hello community, here is the log from the commit of package python-petact for openSUSE:Leap:15.2 checked in at 2020-05-28 20:10:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-petact (Old) and /work/SRC/openSUSE:Leap:15.2/.python-petact.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-petact" Thu May 28 20:10:01 2020 rev:4 rq:809367 version:0.1.2 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-petact/python-petact.changes 2020-03-09 18:10:13.721098792 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-petact.new.3606/python-petact.changes 2020-05-28 20:10:01.718976227 +0200 @@ -1,0 +2,5 @@ +Wed May 20 07:26:12 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-petact.spec ++++++ --- /var/tmp/diff_new_pack.HJZ0hw/_old 2020-05-28 20:10:02.078977298 +0200 +++ /var/tmp/diff_new_pack.HJZ0hw/_new 2020-05-28 20:10:02.082977310 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-petact # -# 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 @@ -49,15 +51,22 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/petact %python_expand %fdupes %{buildroot}%{$python_sitelib} %check # no upstream tests +%post +%python_install_alternative petact + +%postun +%python_uninstall_alternative petact + %files %{python_files} %doc README.md %license LICENSE -%python3_only %{_bindir}/petact +%python_alternative %{_bindir}/petact %{python_sitelib}/* %changelog
