summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 16:16:59 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 16:16:59 +0000
commita745140e4efdf90f1d58a5b3cb816daa09446661 (patch)
tree466ae718871834b24a0676d936839292dc6ad857
parentce5f5c5d507a47ce9201eba24f8a4bc13f40d294 (diff)
automatic import of python-base-astro-botopeneuler20.03
-rw-r--r--python-base-astro-bot.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-base-astro-bot.spec b/python-base-astro-bot.spec
index 6b55b1e..525043b 100644
--- a/python-base-astro-bot.spec
+++ b/python-base-astro-bot.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Base bot class for Star Citizen players
License: MIT
URL: https://github.com/Mirdalan/base_astro_bot
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/78/70/ea89c2607e1f802ec422e118643f531de1d9b780567a399997bf85457812/base_astro_bot-1.3.6.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/78/70/ea89c2607e1f802ec422e118643f531de1d9b780567a399997bf85457812/base_astro_bot-1.3.6.tar.gz
BuildArch: noarch
Requires: python3-pafy
@@ -258,7 +258,7 @@ in settings.py
%prep
-%autosetup -n base-astro-bot-1.3.6
+%autosetup -n base_astro_bot-1.3.6
%build
%py3_build
@@ -272,20 +272,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 .
@@ -298,5 +298,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3.6-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3.6-1
- Package Spec generated