From 56986a21fe7fcdaca55960efa22f2a3de5b182ed0a93146c955396e011254dc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 11 Mar 2020 16:57:36 +0000 Subject: [PATCH] - Fix build without python2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pybind11?expand=0&rev=15 --- python-pybind11.changes | 5 +++++ python-pybind11.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-pybind11.changes b/python-pybind11.changes index ddaef1e..2d16d61 100644 --- a/python-pybind11.changes +++ b/python-pybind11.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 11 16:57:22 UTC 2020 - Tomáš Chvátal + +- Fix build without python2 + ------------------------------------------------------------------- Thu Feb 13 05:32:14 UTC 2020 - Stefan Brüns diff --git a/python-pybind11.spec b/python-pybind11.spec index 81c12aa..5ad6063 100644 --- a/python-pybind11.spec +++ b/python-pybind11.spec @@ -70,8 +70,8 @@ This package contains files for developing applications using pybind11. %cmake_install %python_expand %fdupes %{buildroot}%{$python_sitelib} # removing duplicated header files -rm -rv %{buildroot}%{_includedir}/python2.*/pybind11/ -rm -rv %{buildroot}%{_includedir}/python3.*/pybind11 +rm -rfv %{buildroot}%{_includedir}/python2.*/pybind11/ +rm -rfv %{buildroot}%{_includedir}/python3.*/pybind11 %files %{python_files} %doc README.md