summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 15:25:44 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 15:25:44 +0000
commit77b963ed7c2e357d683d129bb1c604064e7af40c (patch)
treec7bb12fd8a3909572ed62e6cc6c1a75654a5a018
parent57a4b065f4930b0e4b50465493b0f688e2a49a87 (diff)
automatic import of python-pydrocsidopeneuler20.03
-rw-r--r--python-pydrocsid.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-pydrocsid.spec b/python-pydrocsid.spec
index 9a6fe9a..870588a 100644
--- a/python-pydrocsid.spec
+++ b/python-pydrocsid.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Python Discord Bot Framework based on pycord
License: GPL-3.0-only
URL: https://github.com/PyDrocsid/library
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/cc/57/75eb9e5f29a6dbc3ba2540f0ded74ea920230db46f3071d097620abc30cb/PyDrocsid-2.3.4.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/cc/57/75eb9e5f29a6dbc3ba2540f0ded74ea920230db46f3071d097620abc30cb/PyDrocsid-2.3.4.tar.gz
BuildArch: noarch
Requires: python3-PyYAML
@@ -95,7 +95,7 @@ Python Discord Bot Framework based on [Pycord](https://pycord.dev/)
%prep
-%autosetup -n pydrocsid-2.3.4
+%autosetup -n PyDrocsid-2.3.4
%build
%py3_build
@@ -109,20 +109,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 .
@@ -135,5 +135,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 2.3.4-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 2.3.4-1
- Package Spec generated