summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 06:24:35 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 06:24:35 +0000
commitdea5cb90a987a5dffcd7e16d201de7f9899cbaa0 (patch)
treebeac30e80518335d13fb59beaf896770d3d6e69f
parent9d0c1a1726134bcdbf0a99978fefb08ded632785 (diff)
automatic import of python-cmdkitopeneuler20.03
-rw-r--r--python-cmdkit.spec14
1 files changed, 7 insertions, 7 deletions
diff --git a/python-cmdkit.spec b/python-cmdkit.spec
index db44b66..e2f7b95 100644
--- a/python-cmdkit.spec
+++ b/python-cmdkit.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: A command-line utility toolkit for Python.
License: Apache License
URL: https://cmdkit.readthedocs.io
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/83/02/adfaf80caa456d6cdb007eaac4591dc18faea990fcdc05fa312a9114a63f/cmdkit-2.6.1.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/83/02/adfaf80caa456d6cdb007eaac4591dc18faea990fcdc05fa312a9114a63f/cmdkit-2.6.1.tar.gz
BuildArch: noarch
Requires: python3-toml
@@ -65,20 +65,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 .
@@ -91,5 +91,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 2.6.1-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 2.6.1-1
- Package Spec generated