forked from pool/python-pybind11
- Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pybind11?expand=0&rev=15
This commit is contained in:
committed by
Git OBS Bridge
parent
7f916e5284
commit
56986a21fe
@@ -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
|
||||
|
Reference in New Issue
Block a user