Hello community, here is the log from the commit of package python-gprof2dot for openSUSE:Factory checked in at 2020-05-28 09:16:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-gprof2dot (Old) and /work/SRC/openSUSE:Factory/.python-gprof2dot.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-gprof2dot" Thu May 28 09:16:34 2020 rev:5 rq:809361 version:2019.11.30 Changes: -------- --- /work/SRC/openSUSE:Factory/python-gprof2dot/python-gprof2dot.changes 2020-05-06 11:04:44.455323683 +0200 +++ /work/SRC/openSUSE:Factory/.python-gprof2dot.new.3606/python-gprof2dot.changes 2020-05-28 09:16:46.636886983 +0200 @@ -1,0 +2,5 @@ +Tue May 26 06:34:29 UTC 2020 - Petr Gajdos <pgaj...@suse.com> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-gprof2dot.spec ++++++ --- /var/tmp/diff_new_pack.AfvHFQ/_old 2020-05-28 09:16:48.240890768 +0200 +++ /var/tmp/diff_new_pack.AfvHFQ/_new 2020-05-28 09:16:48.244890777 +0200 @@ -27,8 +27,9 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch - %python_subpackages %description @@ -44,11 +45,18 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/gprof2dot %python_expand %fdupes %{buildroot}%{$python_sitelib} +%post +%python_install_alternative gprof2dot + +%postun +%python_uninstall_alternative gprof2dot + %files %{python_files} %license LICENSE.txt -%python3_only %{_bindir}/gprof2dot +%python_alternative %{_bindir}/gprof2dot %{python_sitelib}/* %changelog