Hello community,
here is the log from the commit of package python-pybind11 for openSUSE:Factory
checked in at 2020-02-19 12:39:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pybind11 (Old)
and /work/SRC/openSUSE:Factory/.python-pybind11.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pybind11"
Wed Feb 19 12:39:36 2020 rev:6 rq:774186 version:2.4.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pybind11/python-pybind11.changes
2020-01-16 18:15:30.140780051 +0100
+++
/work/SRC/openSUSE:Factory/.python-pybind11.new.26092/python-pybind11.changes
2020-02-19 12:39:42.835529140 +0100
@@ -1,0 +2,8 @@
+Thu Feb 13 05:32:14 UTC 2020 - Stefan BrĂ¼ns <[email protected]>
+
+- Fix mixup of expanded/unexpaned python versions in devel package,
+ the devel package always required python(2)-devel and
+ python2-pybind. Move the data to a -common-devel subpackage,
+ pulled in by versioned python{2,3}-pybind-devel packages.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pybind11.spec ++++++
--- /var/tmp/diff_new_pack.Lbx9fa/_old 2020-02-19 12:39:43.263529964 +0100
+++ /var/tmp/diff_new_pack.Lbx9fa/_new 2020-02-19 12:39:43.263529964 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-pybind11
#
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -40,13 +40,19 @@
code. It can reduce boilerplate code in traditional extension modules
by inferring type information using compile-time introspection.
-%package -n %{name}-devel
+%package -n %{name}-common-devel
Summary: Development files for pybind11
-Requires: %{name} = %{version}
+Provides: %{python_module pybind11-common-devel = %{version}}
+
+%description -n %{name}-common-devel
+This package contains files for developing applications using pybind11.
+
+%package devel
+Summary: Development files for pybind11
+Requires: %{name}-common-devel = %{version}
Requires: python-devel
-Provides: %{python_module pybind11-devel = %{version}}
-%description -n %{name}-devel
+%description devel
This package contains files for developing applications using pybind11.
%prep
@@ -63,7 +69,7 @@
%python_install
%cmake_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
-# removing duplciated header files
+# removing duplicated header files
rm -rv %{buildroot}%{_includedir}/python2.*/pybind11/
rm -rv %{buildroot}%{_includedir}/python3.*/pybind11
@@ -72,9 +78,12 @@
%license LICENSE
%{python_sitelib}/*
-%files -n %{name}-devel
+%files -n %{name}-common-devel
%{_includedir}/pybind11
%license LICENSE
%{_datadir}/cmake/pybind11
+%files %{python_files devel}
+%license LICENSE
+
%changelog