Hello community, here is the log from the commit of package python-seqdiag for openSUSE:Factory checked in at 2020-05-19 14:58:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-seqdiag (Old) and /work/SRC/openSUSE:Factory/.python-seqdiag.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-seqdiag" Tue May 19 14:58:32 2020 rev:5 rq:807289 version:2.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-seqdiag/python-seqdiag.changes 2020-02-25 16:06:42.340553177 +0100 +++ /work/SRC/openSUSE:Factory/.python-seqdiag.new.2738/python-seqdiag.changes 2020-05-19 14:58:46.949440363 +0200 @@ -1,0 +2,5 @@ +Tue May 19 09:27:58 UTC 2020 - Petr Gajdos <pgaj...@suse.com> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-seqdiag.spec ++++++ --- /var/tmp/diff_new_pack.nKbhR2/_old 2020-05-19 14:58:47.977442643 +0200 +++ /var/tmp/diff_new_pack.nKbhR2/_new 2020-05-19 14:58:47.981442652 +0200 @@ -31,6 +31,8 @@ BuildRequires: python-rpm-macros Requires: python-blockdiag >= 1.5.0 Requires: python-setuptools +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -48,11 +50,18 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/seqdiag + +%post +%python_install_alternative seqdiag + +%postun +%python_uninstall_alternative seqdiag %files %{python_files} %license LICENSE %doc CHANGES.rst README.rst -%python3_only %{_bindir}/seqdiag +%python_alternative %{_bindir}/seqdiag %{python_sitelib}/* %changelog