We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 798fec8 commit cbfcfb8Copy full SHA for cbfcfb8
.distro/pybind11.spec
@@ -14,6 +14,9 @@ BuildRequires: cmake
14
BuildRequires: ninja-build
15
BuildRequires: gcc
16
BuildRequires: gcc-c++
17
+# Project CMake dependencies
18
+BuildRequires: catch-devel
19
+BuildRequires: eigen3-devel
20
# Test dependencies from tests/requirements.txt
21
# Cannot include the file because requirements are too constrained
22
BuildRequires: python3dist(build)
@@ -56,15 +59,20 @@ sed -i -E 's/,?\s*"ninja[^"]*"//' pyproject.toml
56
59
57
60
58
61
%build
62
+%cmake
63
+%cmake_build
64
+# Also running pyproject_wheel to get python metadata files
65
%pyproject_wheel
66
67
68
%install
69
+%cmake_install
70
%pyproject_install
71
%pyproject_save_files pybind11
72
73
74
%check
75
+%ctest
76
%pytest
77
78
0 commit comments