diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-08 17:09:43 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-08 17:09:43 +0000 |
commit | 4dd560ff9bbe4d89023abc470c216cf6ce0a0c9b (patch) | |
tree | c41652fba72f6aa71aa0b89d4da317f8a2fa5bd9 | |
parent | dcd9d941621ed5aa5519eb42f9ac962fbc186e76 (diff) |
automatic import of python-py-cryptonightopeneuler20.03
-rw-r--r-- | python-py-cryptonight.spec | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/python-py-cryptonight.spec b/python-py-cryptonight.spec index 820be77..5092328 100644 --- a/python-py-cryptonight.spec +++ b/python-py-cryptonight.spec @@ -5,7 +5,7 @@ Release: 1 Summary: Python Cryptonight License: MIT URL: https://github.com/ph4r05/py-cryptonight -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/de/4c/6a373ebf4ca60cdf3f210e7572d6e5c0a6cd6abc78557cad1f5e512028f5/py_cryptonight-1.0.0.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/de/4c/6a373ebf4ca60cdf3f210e7572d6e5c0a6cd6abc78557cad1f5e512028f5/py_cryptonight-1.0.0.tar.gz BuildArch: noarch Requires: python3-nose @@ -62,7 +62,7 @@ Py2, Py3 compatible + tests with Monero test vectors. pip install py-cryptonight %prep -%autosetup -n py-cryptonight-1.0.0 +%autosetup -n py_cryptonight-1.0.0 %build %py3_build @@ -76,20 +76,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 . @@ -102,5 +102,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.0-1 +* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.0-1 - Package Spec generated |