Hello community, here is the log from the commit of package python-Glances for openSUSE:Factory checked in at 2020-05-28 09:16:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Glances (Old) and /work/SRC/openSUSE:Factory/.python-Glances.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Glances" Thu May 28 09:16:54 2020 rev:9 rq:809366 version:3.1.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Glances/python-Glances.changes 2020-05-08 23:06:44.402032416 +0200 +++ /work/SRC/openSUSE:Factory/.python-Glances.new.3606/python-Glances.changes 2020-05-28 09:17:01.484922017 +0200 @@ -1,0 +2,5 @@ +Tue May 26 06:34:24 UTC 2020 - Petr Gajdos <pgaj...@suse.com> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Glances.spec ++++++ --- /var/tmp/diff_new_pack.T7Nm9l/_old 2020-05-28 09:17:03.296926293 +0200 +++ /var/tmp/diff_new_pack.T7Nm9l/_new 2020-05-28 09:17:03.296926293 +0200 @@ -40,11 +40,13 @@ Requires: python-future Requires: python-psutil >= 5.6.3 Requires: python-requests +Requires(post): update-alternatives +Requires(postun): update-alternatives Recommends: python-curses Provides: python-glances = %{version} Obsoletes: python-glances < %{version} -BuildArch: noarch Provides: glances +BuildArch: noarch %python_subpackages %description @@ -62,6 +64,8 @@ %install %python_install +%python_clone -a %{buildroot}%{_mandir}/man1/glances.1 +%python_clone -a %{buildroot}%{_bindir}/glances %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -70,11 +74,17 @@ %python_exec unitest-restful.py %python_exec unitest-xmlrpc.py +%post +%python_install_alternative glances glances.1 + +%postun +%python_uninstall_alternative glances + %files %{python_files} %license COPYING %doc NEWS.rst README.rst -%python3_only %{_bindir}/glances -%python3_only %{_mandir}/man1/glances.1.gz +%python_alternative %{_bindir}/glances +%python_alternative %{_mandir}/man1/glances.1%{?ext_man} %{python_sitelib}/* %changelog