summaryrefslogtreecommitdiff
path: root/python-keytotext.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 08:40:42 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 08:40:42 +0000
commit1617408007dd670876a2be6936175dbee3adc44b (patch)
tree99a3d065a2c75d93a2168010ebde78452048df58 /python-keytotext.spec
parent964712432c0edce1cdeb27b0fb2ee9a8b35a3638 (diff)
automatic import of python-keytotextopeneuler20.03
Diffstat (limited to 'python-keytotext.spec')
-rw-r--r--python-keytotext.spec14
1 files changed, 7 insertions, 7 deletions
diff --git a/python-keytotext.spec b/python-keytotext.spec
index 1cee1df..70682e4 100644
--- a/python-keytotext.spec
+++ b/python-keytotext.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Text Generation Using Keywords
License: MIT
URL: https://github.com/gagan3012/keytotext
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/61/3e/9953ce241b8016150c3bd32ad9f037fcbbfb273f2b7fbd6d4461e7fb9024/keytotext-2.3.2.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/61/3e/9953ce241b8016150c3bd32ad9f037fcbbfb273f2b7fbd6d4461e7fb9024/keytotext-2.3.2.tar.gz
BuildArch: noarch
Requires: python3-torch
@@ -410,20 +410,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 .
@@ -436,5 +436,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 2.3.2-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 2.3.2-1
- Package Spec generated