Use standard cmake macros (rhbz#2381163)
This commit is contained in:
parent
88e12fae61
commit
94e2f8b8aa
1 changed files with 1 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue