Hello community,

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

Package is "python-neovim"

Sat Sep  9 20:26:38 2017 rev:8 rq:522186 version:0.1.13

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-neovim/python-neovim.changes      
2017-05-10 20:53:10.096404441 +0200
+++ /work/SRC/openSUSE:Factory/.python-neovim.new/python-neovim.changes 
2017-09-09 20:26:39.769007340 +0200
@@ -1,0 +2,5 @@
+Thu Sep  7 21:39:50 UTC 2017 - toddrme2...@gmail.com
+
+- Implement single-spec version
+
+-------------------------------------------------------------------

Old:
----
  python3-neovim.changes
  python3-neovim.spec

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

Other differences:
------------------
++++++ python-neovim.spec ++++++
--- /var/tmp/diff_new_pack.8C1Pvz/_old  2017-09-09 20:26:40.316930109 +0200
+++ /var/tmp/diff_new_pack.8C1Pvz/_new  2017-09-09 20:26:40.320929545 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-neovim
 Version:        0.1.13
 Release:        0
@@ -24,15 +25,20 @@
 Group:          Productivity/Editors/Vi
 Url:            https://github.com/neovim/python-client
 Source:         
https://github.com/neovim/python-client/archive/%{version}/python-client-%{version}.tar.gz
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
-BuildRequires:  python-devel >= 2.7
-BuildRequires:  python-setuptools
+BuildRequires:  python-rpm-macros
 Requires:       neovim >= 0.1.6
 Requires:       python-greenlet
 Requires:       python-msgpack-python
+%ifpython2
 Requires:       python-trollius
+%endif
 BuildArch:      noarch
 
+%python_subpackages
+
 %description
 Library for scripting Nvim processes through its msgpack-rpc API.
 
@@ -40,17 +46,16 @@
 %setup -q -n python-client-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-
-%fdupes %{buildroot}%{python_sitelib}/
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%files
+%files %{python_files}
 %defattr(-,root,root)
 %doc README.md LICENSE
-%{python_sitelib}/neovim-%{version}-*.egg-info/
 %{python_sitelib}/neovim/
+%{python_sitelib}/neovim-%{version}-*.egg-info/
 
 %changelog


Reply via email to