diff options
Diffstat (limited to 'transformers.spec')
-rw-r--r-- | transformers.spec | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/transformers.spec b/transformers.spec index 9dd3f8d..5bb5991 100644 --- a/transformers.spec +++ b/transformers.spec @@ -3,8 +3,8 @@ Version: 4.39.0 Release: 1%{?dist} Summary: Transformers provides thousands of pretrained models to perform tasks on different modalities. License: Apache-2.0 -URL: https://huggingface.co/docs/transformers/index -Source0: https://github.com/huggingface/transformers.git +URL: https://huggingface.co/docs/transformers/index +Source0: https://github.com/huggingface/transformers/archive/refs/tags/v%{version}.tar.gz Requires: python3-filelock Requires: python3-packaging @@ -27,7 +27,6 @@ BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip BuildRequires: python3-wheel -BuildRequires: python3-hatchling %description -n python3-transformers python3-transformers provides APIs for transformers realize. @@ -42,6 +41,7 @@ description for the doc of the python-transformers %prep %autosetup -p1 -n transformers-%{version} +pip install hatchling %build %pyproject_build |