The package rpms/xtensor-python.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/xtensor-python.git/commit/?id=825....
Change:
+ExcludeArch: armv7hl ppc64le s390x
Thanks.
Full change:
============
commit 825bb4efe7c198ca28e58ebeb03ba58e207227bf
Author: serge-sans-paille <sguelton(a)redhat.com>
Date: Mon Sep 16 23:12:56 2019 +0000
Initial package
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..3f4a9bd
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/xtensor-python-0.23.1.tar.gz
diff --git a/README.md b/README.md
deleted file mode 100644
index 616e459..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# xtensor-python
-
-The xtensor-python package
\ No newline at end of file
diff --git a/sources b/sources
new file mode 100644
index 0000000..98c09b4
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (xtensor-python-0.23.1.tar.gz) =
73e1462b0bd1212c2d935927924536ab161def404d622be485a87f5ffcd8356484f6a3d3b520cdf7d3b9f92d9da3fc9a58515cbdf7ac34b9a26e4787a81e2e24
diff --git a/xtensor-python.spec b/xtensor-python.spec
new file mode 100644
index 0000000..fa52197
--- /dev/null
+++ b/xtensor-python.spec
@@ -0,0 +1,69 @@
+Name: xtensor-python
+Version: 0.23.1
+Release: 0%{?dist}
+Summary: Python bindings for xtensor
+License: BSD
+URL:
https://xtensor-python.readthedocs.io/
+
+%global github
https://github.com/QuantStack/xtensor-python
+Source0: %{github}/archive/%{version}/%{name}-%{version}.tar.gz
+
+# because xtensor does so for armv7hl, ppc64le and s390x
+ExcludeArch: armv7hl ppc64le s390x
+
+BuildRequires: cmake
+BuildRequires: gcc-c++
+BuildRequires: gtest-devel
+BuildRequires: python3-pytest
+BuildRequires: pybind11-devel
+BuildRequires: python3-devel
+BuildRequires: xtensor-devel
+BuildRequires: python3-numpy
+
+
+# there is no actual arched content - this is a header only library
+%global debug_package %{nil}
+
+%global _description %{expand:
+xtensor-python enables in-place use of Numpy arrays in C++ with all the
+benefits from xtensor:
+- C++ universal function and broadcasting.
+- STL-compliant APIs.
+- A broad coverage of NumPy APIs.}
+
+
+%description %_description
+
+%package devel
+Summary: %{summary}
+Provides: %{name} = %{version}-%{release}
+Provides: %{name}-static = %{version}-%{release}
+Requires: pybind11-devel
+Requires: python3-devel
+Requires: xtensor-devel
+Requires: python3-numpy
+
+%description devel %_description
+
+%prep
+%autosetup -p1
+
+%build
+%cmake -DBUILD_TESTS=ON .
+%make_build
+
+%install
+%make_install
+
+%check
+%make_build xtest
+
+%files devel
+%doc README.md
+%license LICENSE
+%{_includedir}/%{name}/
+%{_libdir}/cmake/%{name}/
+
+%changelog
+* Tue Sep 3 2019 sguelton(a)redhat.com - 0.23.1-0
+- Initial package
commit b458c4a10eb2d9c7a1a0baeef643da5db1090881
Author: serge-sans-paille <sguelton(a)redhat.com>
Date: Mon Sep 16 22:04:08 2019 +0000
Gaea's touch