From 938a8b01022716ad87aec7067eb8eae2e732deef Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 9 Jun 2023 04:58:25 +0000 Subject: automatic import of python-scrapy-user-agents --- python-scrapy-user-agents.spec | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/python-scrapy-user-agents.spec b/python-scrapy-user-agents.spec index ca2eccf..d092c1f 100644 --- a/python-scrapy-user-agents.spec +++ b/python-scrapy-user-agents.spec @@ -5,7 +5,7 @@ Release: 1 Summary: Automatically pick an User-Agent for every request License: New BSD License URL: https://github.com/hyan15/crawler-demo/tree/master/crawling-basic/scrapy_user_agents -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/89/18/dcf232312662f4242439691142ef58b90c59eb8bb196b9cc86fcbd8c6c08/scrapy_user_agents-0.1.1.win-amd64.zip +Source0: https://mirrors.aliyun.com/pypi/web/packages/89/18/dcf232312662f4242439691142ef58b90c59eb8bb196b9cc86fcbd8c6c08/scrapy_user_agents-0.1.1.win-amd64.zip BuildArch: noarch Requires: python3-user-agents @@ -29,7 +29,7 @@ Provides: python3-scrapy-user-agents-doc Random User-Agent middleware picks up ``User-Agent`` strings based on `Python User Agents `__ and `MDN `__. %prep -%autosetup -n scrapy-user-agents-0.1.1 +%autosetup -n scrapy_user_agents.win-amd64-0.1.1 %build %py3_build @@ -43,20 +43,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 . @@ -69,5 +69,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Wed May 31 2023 Python_Bot - 0.1.1-1 +* Fri Jun 09 2023 Python_Bot - 0.1.1-1 - Package Spec generated -- cgit v1.2.3