summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--torchtext.spec8
1 files changed, 1 insertions, 7 deletions
diff --git a/torchtext.spec b/torchtext.spec
index b2be746..180e56b 100644
--- a/torchtext.spec
+++ b/torchtext.spec
@@ -33,7 +33,7 @@ BuildRequires: ninja-build
# manual add third party lib
BuildRequires: re2-devel
-BuildRequires: sentencepiece-devel
+# BuildRequires: sentencepiece-devel
BuildRequires: utf8proc-devel
BuildRequires: double-conversion-devel
@@ -66,12 +66,6 @@ Summary: %{pkg_summary}
# the name here should match the name of tar.gz file
%prep
%autosetup -p1 -n text-%{version}
-tar -xvf %{_sourcedir}/re2-2024-04-1.tar.gz -C text-%{version}/third_party
-tar -xvf %{_sourcedir}/sentencepiece-0.2.0.tar.gz -C text-%{version}/third_party
-tar -xvf %{_sourcedir}/utf8proc-2.9.0.tar.gz -C text-%{version}/third_party
-tar -xvf %{_sourcedir}/double-conversion-3.3.0.tar.gz -C text-%{version}/third_party
-cd text-%{version}
-ls -lh
%build
%pyproject_build