From 94e2f8b8aa387b3c074e2e3ab0413ee1bdeb0332 Mon Sep 17 00:00:00 2001 From: Cristian Le Date: Thu, 8 Jan 2026 15:04:27 +0000 Subject: [PATCH] Use standard cmake macros (rhbz#2381163) --- xtensor-python.spec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/xtensor-python.spec b/xtensor-python.spec index 610dba3..43a36d2 100644 --- a/xtensor-python.spec +++ b/xtensor-python.spec @@ -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