diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-09 07:35:15 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-09 07:35:15 +0000 |
commit | f2cc1ad2e635e1968b7e0567f13be232928e32d3 (patch) | |
tree | 39ccd8639ac3a283782413402332aa035ac29d60 | |
parent | b95b11f866392e020a9ec123d44f2f61bf682b56 (diff) |
automatic import of python-opustools-pkgopeneuler20.03
-rw-r--r-- | python-opustools-pkg.spec | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/python-opustools-pkg.spec b/python-opustools-pkg.spec index c5d36e0..657e4fe 100644 --- a/python-opustools-pkg.spec +++ b/python-opustools-pkg.spec @@ -5,7 +5,7 @@ Release: 1 Summary: Tools to read OPUS License: MIT License URL: https://github.com/Helsinki-NLP/OpusTools -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/14/25/843d07bee632c269820bbe7e0a0843c9e2af8ad7ebd441970ca2869432ca/opustools_pkg-0.0.52.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/14/25/843d07bee632c269820bbe7e0a0843c9e2af8ad7ebd441970ca2869432ca/opustools_pkg-0.0.52.tar.gz BuildArch: noarch @@ -670,7 +670,7 @@ opus_reader.printPairs() and then run: %prep -%autosetup -n opustools-pkg-0.0.52 +%autosetup -n opustools_pkg-0.0.52 %build %py3_build @@ -684,20 +684,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 . @@ -710,5 +710,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.52-1 +* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.52-1 - Package Spec generated |