diff --git a/xsimd.spec b/xsimd.spec index 2f1e805..3e47590 100644 --- a/xsimd.spec +++ b/xsimd.spec @@ -1,5 +1,3 @@ -%undefine __cmake_in_source_build - Name: xsimd Version: 7.4.6 Release: 1%{?dist} @@ -21,6 +19,9 @@ BuildRequires: gtest-devel # there is no actual arched content - this is a header only library %global debug_package %{nil} +# Get Fedora 33++ behavior on anything older +%undefine __cmake_in_source_build + %global _description \ SIMD (Single Instruction, Multiple Data) is a feature of microprocessors that \ has been available for many years. SIMD instructions perform a single operation \ @@ -55,7 +56,7 @@ Provides: %{name}-static = %{version}-%{release} %check # Explicitly not supported upstream for simd mode. Still valuable for scalar mode layer. %ifnarch ppc64le s390x -%make_build -C %{_vpath_builddir} xtest +%cmake_build -- xtest %endif %files devel