summaryrefslogtreecommitdiff
path: root/python-torchtext.spec
diff options
context:
space:
mode:
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