Hello community,
here is the log from the commit of package python-pybind11 for openSUSE:Factory
checked in at 2020-07-21 15:39:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pybind11 (Old)
and /work/SRC/openSUSE:Factory/.python-pybind11.new.3592 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pybind11"
Tue Jul 21 15:39:36 2020 rev:10 rq:821409 version:2.5.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pybind11/python-pybind11.changes
2020-07-15 12:02:26.919985451 +0200
+++
/work/SRC/openSUSE:Factory/.python-pybind11.new.3592/python-pybind11.changes
2020-07-21 15:40:00.487496321 +0200
@@ -1,0 +2,6 @@
+Fri Jul 17 01:00:06 UTC 2020 - Stefan BrĂ¼ns <[email protected]>
+
+- Also expand generation of test binaries for Python 2 and 3,
+ fixes Leap 15.x builds where Python 2 is still built.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pybind11.spec ++++++
--- /var/tmp/diff_new_pack.p5Yl7e/_old 2020-07-21 15:40:01.531497697 +0200
+++ /var/tmp/diff_new_pack.p5Yl7e/_new 2020-07-21 15:40:01.543497713 +0200
@@ -64,21 +64,25 @@
%python_build
# calling cmake to install header to right location and
# generate cmake include files
+%{python_expand pushd .
%cmake \
-DPYBIND11_INSTALL=ON \
-DPYBIND11_TEST=ON \
+ -DPYTHON_EXECUTABLE:FILEPATH=%{_bindir}/$python \
%cmake_build
+popd
+}
%install
%python_install
-%cmake_install
+%python_expand %cmake_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# removing duplicated header files
rm -rfv %{buildroot}%{_includedir}/python2.*/pybind11/
rm -rfv %{buildroot}%{_includedir}/python3.*/pybind11
-#%%check
+%check
# test fails as python3-widget is not in distribuion
rm tests/test_embed/test_interpreter.py
%pytest