summaryrefslogtreecommitdiff
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
parent412fbdad227c45d8e9170e72ad9a68862abbf18a (diff)
automatic import of python-torchtext
-rw-r--r--python-torchtext.spec4
-rw-r--r--sources2
2 files changed, 3 insertions, 3 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
diff --git a/sources b/sources
index b4dccfe..c3492c9 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-cf3187df653f05d56ef88d5e9d9e1773 sentencepiece.zip
+e897db8e4baae2ac67c8648737d020c4 sentencepiece.zip
0a932ddf29de28dd729801983bfdd361 text-0.16.2.tar.gz