Hello community,

here is the log from the commit of package python-python-language-server for 
openSUSE:Factory checked in at 2020-05-04 22:01:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-language-server (Old)
 and      /work/SRC/openSUSE:Factory/.python-python-language-server.new.2738 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-python-language-server"

Mon May  4 22:01:21 2020 rev:9 rq:800145 version:0.31.10

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-python-language-server/python-python-language-server.changes
      2020-05-03 22:46:57.511120995 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-python-language-server.new.2738/python-python-language-server.changes
    2020-05-04 22:01:26.994603781 +0200
@@ -1,0 +2,5 @@
+Mon May  4 16:56:39 UTC 2020 - Matej Cepl <[email protected]>
+
+- Don't use %python3_only command, but properly use alternatives.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-python-language-server.spec ++++++
--- /var/tmp/diff_new_pack.RKNunx/_old  2020-05-04 22:01:28.386606719 +0200
+++ /var/tmp/diff_new_pack.RKNunx/_new  2020-05-04 22:01:28.394606737 +0200
@@ -77,6 +77,8 @@
 Requires:       python2-configparser
 Requires:       python2-future >= 0.14.0
 %endif
+Requires(post):   update-alternatives
+Requires(postun):  update-alternatives
 %python_subpackages
 
 %description
@@ -105,8 +107,15 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/pyls
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%post
+%python_install_alternative pyls
+
+%postun
+%python_uninstall_alternative pyls
+
 %check
 # Remove pytest addopts
 rm setup.cfg
@@ -114,6 +123,8 @@
 skip_tests="test_missing_message"
 # flake8>=2.2.0 produces E908 instead of empty list
 skip_tests+=" or test_flake8_no_checked_file"
+# pyflakes<2.2.0
+skip_tests+=" or test_flake8_lint"
 %if 0%{?sle_version} == 150100 && 0%{?is_opensuse}
   # Test failure on Leap 15.1 due to different pylint version
   skip_tests+=" or test_syntax_error_pylint_py"
@@ -125,7 +136,7 @@
 %files %{python_files}
 %doc README.rst
 %license LICENSE
-%python3_only %{_bindir}/pyls
+%python_alternative %{_bindir}/pyls
 %{python_sitelib}/python_language_server-%{version}-py*.egg-info
 %{python_sitelib}/pyls/
 


Reply via email to