diff options
author | CoprDistGit <infra@openeuler.org> | 2024-04-14 08:30:31 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-04-14 08:30:31 +0000 |
commit | 645e8ebab1b1bb474a7d6b47b66b120ceca54837 (patch) | |
tree | 1e4a62d6077b12da088e6c42605f769b673a7126 | |
parent | c1f4333338a7177ebcedb93dd6393b66adc1daf9 (diff) |
automatic import of python-torchdata
-rw-r--r-- | python-torchdata.spec | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/python-torchdata.spec b/python-torchdata.spec index 16a6735..5b3051e 100644 --- a/python-torchdata.spec +++ b/python-torchdata.spec @@ -29,6 +29,7 @@ BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-hatchling +BuildRequires: python3-numpy BuildRequires: python3-pytorch >= 2.1.2 %description @@ -44,10 +45,10 @@ Summary: %{pkg_summary} %autosetup -p1 -n data-%{pypi_version} # unzip and move to third_party/aws-sdk-cpp unzip -q %{SOURCE1} -mv aws-sdk-cpp* third_party/aws-sdk-cpp +mv aws-sdk-cpp*/* third_party/aws-sdk-cpp/ # unzip and move to third_party/pybind11 unzip -q %{SOURCE2} -mv pybind11* third_party/pybind11 +mv pybind11*/* third_party/pybind11/ %build %pyproject_build |