summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 14:00:39 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 14:00:39 +0000
commit752b87b80aca3b3fda7b82553bdf3c88d33fcfb5 (patch)
treeb7b23dfc8bcdf4225ef604e6752697eff335d437
parent0fc311b8e11db63d4c6b531e2b81dfacac8b5525 (diff)
automatic import of python-downloader-cliopeneuler20.03
-rw-r--r--python-downloader-cli.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-downloader-cli.spec b/python-downloader-cli.spec
index 5503c4e..b9d1dc4 100644
--- a/python-downloader-cli.spec
+++ b/python-downloader-cli.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: A simple downloader written in Python with an awesome progressbar.
License: MIT License
URL: https://github.com/deepjyoti30/downloader-cli
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/12/29/d971a1b2f1864fb27bc0af8f09e199488e0f0ecd12f6fdbf4393538aa89f/downloader_cli-0.3.3.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/12/29/d971a1b2f1864fb27bc0af8f09e199488e0f0ecd12f6fdbf4393538aa89f/downloader_cli-0.3.3.tar.gz
BuildArch: noarch
Requires: python3-urllib3
@@ -572,7 +572,7 @@ by default space(```" "```).
%prep
-%autosetup -n downloader-cli-0.3.3
+%autosetup -n downloader_cli-0.3.3
%build
%py3_build
@@ -586,20 +586,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 .
@@ -612,5 +612,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.3-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.3-1
- Package Spec generated