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