Backport PyBind11 3.x compatibility patch
Fix rhbz#2383231
This commit is contained in:
parent
2b7be5c327
commit
6f357d8cd6
3 changed files with 16 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
%undefine __cmake_in_source_build
|
||||
|
||||
Name: xtensor-python
|
||||
Version: 0.26.0
|
||||
Version: 0.28.0
|
||||
Release: %autorelease
|
||||
Summary: Python bindings for xtensor
|
||||
# Automatically converted from old format: BSD - review is highly recommended.
|
||||
|
|
@ -10,6 +10,10 @@ URL: https://xtensor-python.readthedocs.io/
|
|||
|
||||
%global github https://github.com/QuantStack/xtensor-python
|
||||
Source0: %{github}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
Patch0: %{github}/pull/324.diff
|
||||
Patch1: %{github}/pull/326.diff
|
||||
Patch2: %{github}/pull/325.diff
|
||||
Patch3: %{github}/pull/327.diff
|
||||
|
||||
# because xtensor does so for armv7hl, ppc64le and s390x
|
||||
ExcludeArch: armv7hl ppc64le s390x
|
||||
|
|
@ -68,6 +72,7 @@ Requires: python3-numpy
|
|||
%license LICENSE
|
||||
%{_includedir}/%{name}/
|
||||
%{_libdir}/cmake/%{name}/
|
||||
%{_datadir}/pkgconfig/%{name}.pc
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue