summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 05:23:55 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 05:23:55 +0000
commitb594cc5d0703bf945ae444fcaf9592ce8b156ba0 (patch)
treeee2ee0fbc2b8cdfaf431359873c31fbefcf27868
parent8524cd6fad71ad7894a022a5ab0ec58543f0f8c6 (diff)
automatic import of python-nhm-spideropeneuler20.03
-rw-r--r--python-nhm-spider.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-nhm-spider.spec b/python-nhm-spider.spec
index 560edcf..4edc096 100644
--- a/python-nhm-spider.spec
+++ b/python-nhm-spider.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: base on asyncio, spider module like scrapy.
License: MIT License
URL: https://github.com/noHairMan/nhm-spider
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/aa/13/83875eee61d51e86f3a8c749515608e1b6bdf85c2bb03aadf7f85963838b/nhm_spider-2.0.1.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/aa/13/83875eee61d51e86f3a8c749515608e1b6bdf85c2bb03aadf7f85963838b/nhm_spider-2.0.1.tar.gz
BuildArch: noarch
Requires: python3-aiohttp
@@ -74,7 +74,7 @@ twine upload dist/*
%prep
-%autosetup -n nhm-spider-2.0.1
+%autosetup -n nhm_spider-2.0.1
%build
%py3_build
@@ -88,20 +88,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 .
@@ -114,5 +114,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.1-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.1-1
- Package Spec generated