summaryrefslogtreecommitdiff
path: root/python-mythx-cli.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 09:55:58 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 09:55:58 +0000
commit4ae9616ba1bebdab8e250f0b58368791dc7228ff (patch)
tree5a7c37d6b6adddd9e7fa07eac1d9804948eddc04 /python-mythx-cli.spec
parent5a5398dc51fee987a802d559f1ff2cae779eccef (diff)
automatic import of python-mythx-cliopeneuler20.03
Diffstat (limited to 'python-mythx-cli.spec')
-rw-r--r--python-mythx-cli.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-mythx-cli.spec b/python-mythx-cli.spec
index afab19c..e2a621b 100644
--- a/python-mythx-cli.spec
+++ b/python-mythx-cli.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: A command line interface for the MythX smart contract security analysis API
License: MIT license
URL: https://github.com/dmuhs/mythx-cli
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/07/15/e4508c92151ad997e50bf8d91391bdace007f10c5454812935c6351ea1c4/mythx_cli-0.7.3.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/07/15/e4508c92151ad997e50bf8d91391bdace007f10c5454812935c6351ea1c4/mythx_cli-0.7.3.tar.gz
BuildArch: noarch
Requires: python3-Click
@@ -36,7 +36,7 @@ Provides: python3-mythx-cli-doc
%prep
-%autosetup -n mythx-cli-0.7.3
+%autosetup -n mythx_cli-0.7.3
%build
%py3_build
@@ -50,20 +50,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 .
@@ -76,5 +76,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.3-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.3-1
- Package Spec generated