summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 13:15:50 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 13:15:50 +0000
commit558c252d8464fa5e5c888152bc3ed1c3b9ef3c9f (patch)
treef7a0ca86b4dcaf460e0c6463b79abd27545ad5df
parentef7805758cb1d08987ea0f6313bf702f9f66f3cd (diff)
automatic import of python-aiohttp-asgiopeneuler20.03
-rw-r--r--python-aiohttp-asgi.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-aiohttp-asgi.spec b/python-aiohttp-asgi.spec
index 97b4c74..ab87d9b 100644
--- a/python-aiohttp-asgi.spec
+++ b/python-aiohttp-asgi.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Adapter to running ASGI applications on aiohttp
License: Apache-2.0
URL: https://github.com/mosquito/aiohttp-asgi
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/8b/0e/a97a05f992765d666b066cf08d968ffc98e719f28ebeaf0601869e5e0044/aiohttp_asgi-0.5.2.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/8b/0e/a97a05f992765d666b066cf08d968ffc98e719f28ebeaf0601869e5e0044/aiohttp_asgi-0.5.2.tar.gz
BuildArch: noarch
Requires: python3-aiohttp
@@ -33,7 +33,7 @@ Provides: python3-aiohttp-asgi-doc
This module provides a way to use any ASGI compatible frameworks and aiohttp together.
%prep
-%autosetup -n aiohttp-asgi-0.5.2
+%autosetup -n aiohttp_asgi-0.5.2
%build
%py3_build
@@ -47,20 +47,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 .
@@ -73,5 +73,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.2-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.2-1
- Package Spec generated