summaryrefslogtreecommitdiff
path: root/python-sil-machine.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 12:52:34 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 12:52:34 +0000
commit5327a62cdf4347d1a9d89163fd558a45d625ef6a (patch)
treebfbaa175b74ee83c37958abec84a4cac9d3ecad2 /python-sil-machine.spec
parentd4b4e582d716d3ab20f36b6de3c275d1b727e115 (diff)
automatic import of python-sil-machineopeneuler20.03
Diffstat (limited to 'python-sil-machine.spec')
-rw-r--r--python-sil-machine.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-sil-machine.spec b/python-sil-machine.spec
index 020564b..a49f95d 100644
--- a/python-sil-machine.spec
+++ b/python-sil-machine.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: A natural language processing library that is focused on providing tools for resource-poor languages.
License: MIT
URL: https://github.com/sillsdev/machine.py
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a6/c8/6b1556b3d6f88b6e6cfb6eb2351462c46f225f1099feb8c9c3fd94067e80/sil_machine-0.9.3.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/a6/c8/6b1556b3d6f88b6e6cfb6eb2351462c46f225f1099feb8c9c3fd94067e80/sil_machine-0.9.3.tar.gz
BuildArch: noarch
Requires: python3-regex
@@ -99,7 +99,7 @@ If you would like to find out more about how to use Machine, check out the tutor
%prep
-%autosetup -n sil-machine-0.9.3
+%autosetup -n sil_machine-0.9.3
%build
%py3_build
@@ -113,20 +113,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 .
@@ -139,5 +139,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.9.3-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.9.3-1
- Package Spec generated