Hello community, here is the log from the commit of package python-jedihttp for openSUSE:Factory checked in at 2020-05-26 17:49:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-jedihttp (Old) and /work/SRC/openSUSE:Factory/.python-jedihttp.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jedihttp" Tue May 26 17:49:12 2020 rev:4 rq:808782 version:0+git.1497381496.75b8b74 Changes: -------- --- /work/SRC/openSUSE:Factory/python-jedihttp/python-jedihttp.changes 2018-12-24 11:38:34.773601850 +0100 +++ /work/SRC/openSUSE:Factory/.python-jedihttp.new.2738/python-jedihttp.changes 2020-05-26 17:49:14.407869998 +0200 @@ -1,0 +2,5 @@ +Mon May 25 10:59:32 UTC 2020 - Petr Gajdos <pgaj...@suse.com> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jedihttp.spec ++++++ --- /var/tmp/diff_new_pack.9MUDm5/_old 2020-05-26 17:49:15.815873084 +0200 +++ /var/tmp/diff_new_pack.9MUDm5/_new 2020-05-26 17:49:15.819873093 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-jedihttp # -# Copyright (c) 2018 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 @@ -22,6 +22,7 @@ Release: 0 Summary: HTTP/JSON wrapper around Jedi # FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines" +# FIXME: use correct group or remove it, see "https://en.opensuse.org/openSUSE:Package_group_guidelines" License: Apache-2.0 Group: Development/Libraries URL: https://github.com/vheon/JediHTTP @@ -43,6 +44,8 @@ Requires: python-jedi Requires: python-waitress Requires: update-alternatives +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -59,13 +62,19 @@ %install %python_install -%python_clone %{buildroot}%{_bindir}/jedihttp-server +%python_clone -a %{buildroot}%{_bindir}/jedihttp-server %python_expand %fdupes %{buildroot}%{$python_sitelib} +%post +%python_install_alternative jedihttp-server + +%postun +%python_uninstall_alternative jedihttp-server + %files %{python_files} %license LICENSE %doc README.md NOTICE -%python3_only %{_bindir}/jedihttp-server +%python_alternative %{_bindir}/jedihttp-server %{_bindir}/jedihttp-server-%{python_bin_suffix} %{python_sitelib}/jedihttp %{python_sitelib}/jedihttp-*.egg-info