summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--onnxruntime.spec8
1 files changed, 3 insertions, 5 deletions
diff --git a/onnxruntime.spec b/onnxruntime.spec
index 4fa75de..74ff3bb 100644
--- a/onnxruntime.spec
+++ b/onnxruntime.spec
@@ -52,13 +52,11 @@ ONNX Runtime inference can enable faster customer experiences and lower costs, s
%autosetup -p1 -n %{name}-%{version}
%build
-%py3_build
-#python3 setup.py build
+cp ./requirements-dev.txt ./requirements.txt
+%pyproject_build
%install
-%define _unpackaged_files_terminate_build 0
-%py3_install
-#python3 setup.py install
+%pyproject_install
%files -n python3-onnxruntime
%doc *.md