Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-neovim for openSUSE:Factory 
checked in at 2024-02-18 20:24:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-neovim (Old)
 and      /work/SRC/openSUSE:Factory/.python-neovim.new.1815 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-neovim"

Sun Feb 18 20:24:38 2024 rev:19 rq:1147273 version:0.5.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-neovim/python-neovim.changes      
2024-01-03 12:23:48.652896672 +0100
+++ /work/SRC/openSUSE:Factory/.python-neovim.new.1815/python-neovim.changes    
2024-02-18 20:25:14.926512094 +0100
@@ -1,0 +2,8 @@
+Fri Feb 16 20:50:09 UTC 2024 - Matej Cepl <mc...@cepl.eu>
+
+- "Do not use %python_module for Requires"
+   (from 
https://en.opensuse.org/openSUSE:Packaging_Python#Requires,_Provides_and_similar)
+   Fixes bsc#1220005
+- Also, clean up the SPEC file a bit.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-neovim.spec ++++++
--- /var/tmp/diff_new_pack.khEro6/_old  2024-02-18 20:25:15.494532551 +0100
+++ /var/tmp/diff_new_pack.khEro6/_new  2024-02-18 20:25:15.498532694 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-neovim
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,33 +25,35 @@
 Group:          Productivity/Text/Editors
 URL:            https://github.com/neovim/pynvim
 Source:         
https://github.com/neovim/%{modname}/archive/%{version}/%{modname}-%{version}.tar.gz
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       neovim >= 0.9.0
+Requires:       python-greenlet
+Requires:       python-msgpack
+Provides:       python-nvim
+BuildArch:      noarch
 # SECTION test requirements
-BuildRequires:  %{python_module msgpack}
 BuildRequires:  %{python_module greenlet}
+BuildRequires:  %{python_module msgpack}
 BuildRequires:  neovim
 # /SECTION
-Requires:       neovim >= 0.9.0
-Requires:       %{python_module greenlet}
-Requires:       %{python_module msgpack}
-Provides:       python-nvim
-BuildArch:      noarch
 %python_subpackages
 
 %description
 Library for scripting Nvim processes through its msgpack-rpc API.
 
 %prep
-%autosetup -n %{modname}-%{version}
+%autosetup -p1 -n %{modname}-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
@@ -60,7 +62,7 @@
 %files %{python_files}
 %license LICENSE
 %doc README.md
-%{python_sitelib}/neovim/
-%{python_sitelib}/%{modname}/
-%{python_sitelib}/%{modname}-%{version}-*.egg-info/
+%{python_sitelib}/neovim
+%{python_sitelib}/%{modname}
+%{python_sitelib}/%{modname}-%{version}*-info
 

Reply via email to