summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-04-14 06:49:23 +0000
committerCoprDistGit <infra@openeuler.org>2024-04-14 06:49:23 +0000
commitbc14fa56c58cc191316c0c39466c05379b41fa1a (patch)
tree8c0494d135d3a6948a0107f0d71a3fa14facd1af
parentfa75736d2934c4cf2e28816d52ab7763890933c7 (diff)
automatic import of python-tokenizers
-rw-r--r--.gitignore1
-rw-r--r--python-tokenizers.spec6
-rw-r--r--sources2
3 files changed, 5 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index 21dc8af..0f794ce 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/tokenizers-0.15.2.tar.gz
+/tokenizers-0.14.1.tar.gz
diff --git a/python-tokenizers.spec b/python-tokenizers.spec
index ab92eaf..ef78fc4 100644
--- a/python-tokenizers.spec
+++ b/python-tokenizers.spec
@@ -1,5 +1,5 @@
%global pypi_name tokenizers
-%global pypi_version 0.15.2
+%global pypi_version 0.14.1
%global pkg_summary Fast State-of-the-Art Tokenizers optimized for Research and Production
%global pkg_description %{expand:
%{pkg_summary}}
@@ -13,7 +13,7 @@ License: Apache-2.0
URL: https://github.com/huggingface/tokenizers
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/tokenizers-%{version}.tar.gz
-BuildRequires: rust >= 1.74.0
+BuildRequires: rust
BuildRequires: cargo
BuildRequires: python3-devel
@@ -64,4 +64,4 @@ cd ./bindings/python
%changelog
* Sun Mar 31 2024 YunShu
-- add tokenizers 0.15.2
+- add tokenizers 0.14.1
diff --git a/sources b/sources
index 314c9e8..63175b9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ec3140f242b8a04df696bebc551cff35 tokenizers-0.15.2.tar.gz
+9d738b2d85e6cf5c47ba016e5f03b135 tokenizers-0.14.1.tar.gz