summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 06:30:05 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 06:30:05 +0000
commite1c348075bd67963c979c6f846b3a92104608d22 (patch)
treefa959fc3c27a890547299514a73782dc93c0ba28
parente93936f29616063a2423c4993fb717d4bae4483d (diff)
automatic import of python-rangeopeneuler20.03
-rw-r--r--python-range.spec14
1 files changed, 7 insertions, 7 deletions
diff --git a/python-range.spec b/python-range.spec
index baa878f..ae6655b 100644
--- a/python-range.spec
+++ b/python-range.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Printer of nested lists with Range
License: UNKNOWN
URL: http://www.starthabit.com
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/38/5f/6120871e1679eb093e2686714a1fec00831bfaebdfdeb982245c40cf7108/range-1.0.0.zip
+Source0: https://mirrors.aliyun.com/pypi/web/packages/38/5f/6120871e1679eb093e2686714a1fec00831bfaebdfdeb982245c40cf7108/range-1.0.0.zip
BuildArch: noarch
@@ -42,20 +42,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 .
@@ -68,5 +68,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