Hello community,
here is the log from the commit of package python-jedihttp for
openSUSE:Leap:15.2 checked in at 2020-05-28 20:08:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-jedihttp (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-jedihttp.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jedihttp"
Thu May 28 20:08:56 2020 rev:12 rq:809062 version:0+git.1497381496.75b8b74
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-jedihttp/python-jedihttp.changes
2020-03-09 18:06:41.824857176 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-jedihttp.new.3606/python-jedihttp.changes
2020-05-28 20:08:58.230787249 +0200
@@ -1,0 +2,5 @@
+Mon May 25 10:59:32 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jedihttp.spec ++++++
--- /var/tmp/diff_new_pack.gJSNnj/_old 2020-05-28 20:08:58.634788452 +0200
+++ /var/tmp/diff_new_pack.gJSNnj/_new 2020-05-28 20:08:58.638788464 +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