diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-06-09 01:19:47 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-06-09 01:19:47 +0000 |
| commit | d833db100a920b74bf338cae0c276b2d32df0a20 (patch) | |
| tree | 0f1a8ace14b4c648a5573faaa9c7773fe78b73f9 /python-tfidf-matcher.spec | |
| parent | ce2ffe42de023c592f73b50e86438966ff61e054 (diff) | |
automatic import of python-tfidf-matcheropeneuler20.03
Diffstat (limited to 'python-tfidf-matcher.spec')
| -rw-r--r-- | python-tfidf-matcher.spec | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/python-tfidf-matcher.spec b/python-tfidf-matcher.spec index fcc3ee7..28df39e 100644 --- a/python-tfidf-matcher.spec +++ b/python-tfidf-matcher.spec @@ -5,7 +5,7 @@ Release: 1 Summary: A small package that enables super-fast TF-IDF based string matching. License: MIT License URL: https://github.com/louistsiattalou/tfidf_matcher -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/cc/cd/af378c05b1f199879f2deed7c31abc4175dad73052f08832a4b4752cdbf6/tfidf_matcher-0.3.0.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/cc/cd/af378c05b1f199879f2deed7c31abc4175dad73052f08832a4b4752cdbf6/tfidf_matcher-0.3.0.tar.gz BuildArch: noarch Requires: python3-scikit-learn @@ -63,7 +63,7 @@ This package provides two functions: - Some data manipulation to emit `k_matches` closest matches. %prep -%autosetup -n tfidf-matcher-0.3.0 +%autosetup -n tfidf_matcher-0.3.0 %build %py3_build @@ -77,20 +77,20 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/lib64 ]; then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/bin ]; then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/sbin ]; then - find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then - find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst + find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . @@ -103,5 +103,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.0-1 +* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.0-1 - Package Spec generated |
