summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 16:32:57 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 16:32:57 +0000
commit852aeab3bc4b7e90bc3c4661d282a3dd348f4e38 (patch)
tree880758a9c96480be3b3cf99b26789ebf4ff955da
parent219bd9ffe09f9d1dc297f1eaa609e773d4fdaf72 (diff)
automatic import of python-reddit-chatbot-pythonopeneuler20.03
-rw-r--r--python-reddit-chatbot-python.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-reddit-chatbot-python.spec b/python-reddit-chatbot-python.spec
index cb11c4c..87350df 100644
--- a/python-reddit-chatbot-python.spec
+++ b/python-reddit-chatbot-python.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: an event-driven chatbot library for reddit chatrooms
License: APLv2
URL: https://github.com/scrubjay55/Reddit_ChatBot_Python.git
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/14/63/c8224dcb522acd18adbfaa890ba8389c4efdd135e9ad736206f9f49e7f47/Reddit_ChatBot_Python-1.4.9.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/14/63/c8224dcb522acd18adbfaa890ba8389c4efdd135e9ad736206f9f49e7f47/Reddit_ChatBot_Python-1.4.9.tar.gz
BuildArch: noarch
Requires: python3-requests
@@ -36,7 +36,7 @@ works either with reddit username & password or the api token (not a regular one
it's not fully scoped)
%prep
-%autosetup -n Reddit-ChatBot-Python-1.4.9
+%autosetup -n Reddit_ChatBot_Python-1.4.9
%build
%py3_build
@@ -50,20 +50,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 .
@@ -76,5 +76,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 1.4.9-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 1.4.9-1
- Package Spec generated