Use standard cmake macros (rhbz#2381163)

This commit is contained in:
Cristian Le 2026-01-08 15:04:27 +00:00 committed by lecris
commit 94e2f8b8aa

View file

@ -1,5 +1,3 @@
%undefine __cmake_in_source_build
Name: xtensor-python
Version: 0.28.0
Release: %autorelease
@ -18,7 +16,6 @@ Patch3: %{github}/pull/327.diff
# because xtensor does so for armv7hl, ppc64le and s390x
ExcludeArch: armv7hl ppc64le s390x
BuildRequires: make
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: gtest-devel
@ -65,7 +62,7 @@ Requires: python3-numpy
%cmake_install
%check
%make_build -C %{_vpath_builddir} xtest
%cmake_build -t xtest
%files devel
%doc README.md