diff --git a/.gitignore b/.gitignore index 9dd5826..5f73308 100644 --- a/.gitignore +++ b/.gitignore @@ -4,7 +4,3 @@ /324.diff /326.diff /325.diff -/xtensor-python-0.28.0.tar.gz -/327.diff -/xtensor-python-0.29.0.tar.gz -/331.diff diff --git a/sources b/sources index 40e5986..81812f7 100644 --- a/sources +++ b/sources @@ -1,2 +1,4 @@ -SHA512 (331.diff) = b68e6e8f86ae64309b794e9f4487b2a9adddd05e81f996b9ab82e66db329cd88d0b3fccffcb8a70d73d5410c78c26438e0b9bd73f39e26a9474b529953a5c87e -SHA512 (xtensor-python-0.29.0.tar.gz) = eec4c7e374dbe02bb63b6d61c9f24c9ea9a11e0a8d89f0d44c97cece81db8e886a03c752c7060a433033bb0af7483fa00373a25d410bbd3814566a1fbf9ead64 +SHA512 (325.diff) = b8665edc81840c8fe247ce75b1224b6ea457748cb28e937f48da919c7f0750b9eeca6e75af087b8f74a748d050dd7f156b570c73e45e98410568616b168d6df0 +SHA512 (326.diff) = d2a6110f360ae68e3463d07fcbda5825ab7f41d23fee722216170f42a85c8b3236d3f6df2a4493e3a89ca9eee2bb796df0659d0a59028cc7f2c9d6f521a32493 +SHA512 (324.diff) = 379dd32dbe806a5c2b9351506030cf746950555fa2408401d3a901a1357321fd681cee169b2055e049d52a693a2d4fb743438d99883653aa64a33861330f0136 +SHA512 (xtensor-python-0.26.0.tar.gz) = 7a7318fe212e354466175cda4bd264e56da3faf190aa34b6b086373fa08b7181a9356db4d396b8932d0be4738cb33fd4fb378c60bb94b3f8c858178b31acac89 diff --git a/xtensor-python.spec b/xtensor-python.spec index 4fb34da..9f90240 100644 --- a/xtensor-python.spec +++ b/xtensor-python.spec @@ -1,15 +1,18 @@ %undefine __cmake_in_source_build Name: xtensor-python -Version: 0.29.0 +Version: 0.26.0 Release: %autorelease Summary: Python bindings for xtensor -License: BSD-3-Clause +# Automatically converted from old format: BSD - review is highly recommended. +License: LicenseRef-Callaway-BSD 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/331.diff +Patch0: %{github}/pull/324.diff +Patch1: %{github}/pull/326.diff +Patch2: %{github}/pull/325.diff # because xtensor does so for armv7hl, ppc64le and s390x ExcludeArch: armv7hl ppc64le s390x @@ -61,14 +64,13 @@ Requires: python3-numpy %cmake_install %check -%cmake_build --target xtest +%make_build -C %{_vpath_builddir} xtest %files devel %doc README.md %license LICENSE %{_includedir}/%{name}/ -%{_datadir}/cmake/%{name}/ -%{_datadir}/pkgconfig/%{name}.pc +%{_libdir}/cmake/%{name}/ %changelog %autochangelog