summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-04-16 00:22:08 +0000
committerCoprDistGit <infra@openeuler.org>2024-04-16 00:22:08 +0000
commit96449d224af70bdc8b47e9850f5d5702faa0d097 (patch)
tree9e59c71af13f0a0e24cefea6277ce1920d9b0cad
parent0669634f3349c0a29315b2f41a2997f3cf14b092 (diff)
automatic import of onnxruntimeopeneuler23.09
-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