summaryrefslogtreecommitdiff
path: root/python-cmd3.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 00:26:02 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 00:26:02 +0000
commit212feccdef9c7c60896d823c8d72da486b93acb4 (patch)
tree19fcf962a4e85494f5280a3f0452e073a9c6302f /python-cmd3.spec
parent1f2e9f81f273c11495d258e87e4dd538f7fb293f (diff)
automatic import of python-cmd3openeuler20.03
Diffstat (limited to 'python-cmd3.spec')
-rw-r--r--python-cmd3.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-cmd3.spec b/python-cmd3.spec
index 166de72..da91625 100644
--- a/python-cmd3.spec
+++ b/python-cmd3.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: cmd3 - A dynamic CMD shell with plugins
License: Apache License, Version 2.0
URL: https://github.com/cloudmesh/cmd3
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/7c/8a/7bea5c718d32b482a0e91af8c5dbd9035866a37ee4198e8497043612e8b0/cmd3-3.2.0.tar.bz2
+Source0: https://mirrors.aliyun.com/pypi/web/packages/7c/8a/7bea5c718d32b482a0e91af8c5dbd9035866a37ee4198e8497043612e8b0/cmd3-3.2.0.tar.bz2
BuildArch: noarch
@@ -58,7 +58,7 @@ The documentation is located at
* http://cloudmesh.github.com/cmd3/
%prep
-%autosetup -n cmd3-3.2.0
+%autosetup -n cmd3.tar-3.2.0
%build
%py3_build
@@ -72,20 +72,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 .
@@ -98,5 +98,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 3.2.0-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 3.2.0-1
- Package Spec generated