Hello community, here is the log from the commit of package python-actdiag for openSUSE:Factory checked in at 2020-06-10 00:44:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-actdiag (Old) and /work/SRC/openSUSE:Factory/.python-actdiag.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-actdiag" Wed Jun 10 00:44:00 2020 rev:6 rq:809820 version:2.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-actdiag/python-actdiag.changes 2020-02-26 15:04:03.901073694 +0100 +++ /work/SRC/openSUSE:Factory/.python-actdiag.new.3606/python-actdiag.changes 2020-06-10 00:44:08.338293144 +0200 @@ -1,0 +2,5 @@ +Wed May 27 09:35:59 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-actdiag.spec ++++++ --- /var/tmp/diff_new_pack.wM8YKW/_old 2020-06-10 00:44:09.418295841 +0200 +++ /var/tmp/diff_new_pack.wM8YKW/_new 2020-06-10 00:44:09.422295851 +0200 @@ -31,13 +31,15 @@ BuildRequires: python-rpm-macros Requires: python-blockdiag >= 1.5.0 Requires: python-setuptools +Requires(post): update-alternatives +Requires(postun): update-alternatives +BuildArch: noarch %if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24 || 0%{?rhel} >= 8 Suggests: python-docutils Suggests: python-nose Suggests: python-pep8 >= 1.3 Suggests: python-reportlab %endif -BuildArch: noarch %python_subpackages %description @@ -51,12 +53,19 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/actdiag %python_expand %fdupes %{buildroot}%{$python_sitelib} +%post +%python_install_alternative actdiag + +%postun +%python_uninstall_alternative actdiag + %files %{python_files} %license LICENSE %doc README.rst -%python3_only %{_bindir}/actdiag +%python_alternative %{_bindir}/actdiag %{python_sitelib}/* %changelog
