summaryrefslogtreecommitdiff
path: root/python-torchtext.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-03-31 09:08:47 +0000
committerCoprDistGit <infra@openeuler.org>2024-03-31 09:08:47 +0000
commit9ba2cf4d205609f17a595787a8a47c3ca495dc65 (patch)
tree353937514003d227f3fdad5c520346e9a24cdbb2 /python-torchtext.spec
parent412fbdad227c45d8e9170e72ad9a68862abbf18a (diff)
automatic import of python-torchtext
Diffstat (limited to 'python-torchtext.spec')
-rw-r--r--python-torchtext.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/python-torchtext.spec b/python-torchtext.spec
index b69f9b3..af32c42 100644
--- a/python-torchtext.spec
+++ b/python-torchtext.spec
@@ -36,10 +36,10 @@ Summary: %{summary}
Models, data loaders and abstractions for language processing, powered by PyTorch
%prep
-unzip -q %{SOURCE1}
%autosetup -p1 -n text-%{pypi_version}
rm -rf third_party/*
-mv ../sentencepiece ./third_party/
+mkdir third_party/sentencepiece
+unzip ../%{SOURCE1} -d third_party/sentencepiece
%build
%py3_build