From 376fcc17568c2237d2a06064a058a7317a143d8e Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 16 Apr 2024 00:57:02 +0000 Subject: automatic import of torchtext --- torchtext.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'torchtext.spec') diff --git a/torchtext.spec b/torchtext.spec index 37ac9ef..d503bbd 100644 --- a/torchtext.spec +++ b/torchtext.spec @@ -16,12 +16,16 @@ License: %{pkg_license} # the url and source URL: https://pytorch.org/text/stable/index.html -Source0: https://github.com/pytorch/text/archive/refs/tags/v%{version}.tar.gz +Source0: https://github.com/pytorch/text/archive/refs/tags/v%{version}.tar.gz#/text-%{version}.tar.gz # patch Patch0: 001-fix-submodule.patch # build requires +BuildRequires: g++ +BuildRequires: cmake +BuildRequires: ninja-build + BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip -- cgit v1.2.3