Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pybind11 for openSUSE:Factory 
checked in at 2021-02-11 12:45:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pybind11 (Old)
 and      /work/SRC/openSUSE:Factory/.python-pybind11.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pybind11"

Thu Feb 11 12:45:58 2021 rev:11 rq:870296 version:2.6.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pybind11/python-pybind11.changes  
2020-07-21 15:40:00.487496321 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pybind11.new.28504/python-pybind11.changes   
    2021-02-11 12:46:16.417391582 +0100
@@ -1,0 +2,7 @@
+Sun Feb  7 13:15:06 UTC 2021 - John Vandenberg <jay...@gmail.com>
+
+- Add docs/changelog.rst to package contents
+- Update to v2.6.2
+  * See changelog for changes since 2.5.0
+
+-------------------------------------------------------------------

Old:
----
  pybind11-2.5.0.tar.gz

New:
----
  pybind11-2.6.2.tar.gz

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

Other differences:
------------------
++++++ python-pybind11.spec ++++++
--- /var/tmp/diff_new_pack.5ibPrr/_old  2021-02-11 12:46:16.953392362 +0100
+++ /var/tmp/diff_new_pack.5ibPrr/_new  2021-02-11 12:46:16.957392368 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pybind11
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pybind11
-Version:        2.5.0
+Version:        2.6.2
 Release:        0
 Summary:        Module for operability between C++11 and Python
 License:        BSD-3-Clause
@@ -76,6 +76,7 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/pybind11-config
 %python_expand %cmake_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 # removing duplicated header files
@@ -85,11 +86,19 @@
 %check
 # test fails as python3-widget is not in distribuion
 rm tests/test_embed/test_interpreter.py
-%pytest
+export PYTHONPATH=${PWD}/build/tests/
+%pytest -k 'not (tests_build_wheel or tests_build_global_wheel)'
+
+%post
+%python_install_alternative pybind11-config
+
+%postun
+%python_uninstall_alternative pybind11-config
 
 %files %{python_files}
-%doc README.md
+%doc README.rst docs/changelog.rst
 %license LICENSE
+%python_alternative %{_bindir}/pybind11-config
 %{python_sitelib}/pybind11*
 %exclude %{python_sitelib}/pybind11/include
 

++++++ pybind11-2.5.0.tar.gz -> pybind11-2.6.2.tar.gz ++++++
++++ 27611 lines of diff (skipped)

Reply via email to