summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 17:01:59 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 17:01:59 +0000
commitea91f9b64b0c141d25689a66423c8e541a31f5c2 (patch)
tree52a0f8c6eacc5e9d496eae1e234700aced4f399d
parent419cc4b52c83747ff29e4269fa6cc0c88504c7e0 (diff)
automatic import of python-redditjsonopeneuler20.03
-rw-r--r--python-redditjson.spec14
1 files changed, 7 insertions, 7 deletions
diff --git a/python-redditjson.spec b/python-redditjson.spec
index 4ad0c53..3df202b 100644
--- a/python-redditjson.spec
+++ b/python-redditjson.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: uses the reddit api to gather user generated posts for a specific subreddit. After scraping, the content is stored in a json file.
License: MIT
URL: https://github.com/HussanKhan/redditJson
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/fd/96/5948d72e42109fa8023d302c7d82e833b65ea37492977844a23b40c3b746/redditJson-0.0.11.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/fd/96/5948d72e42109fa8023d302c7d82e833b65ea37492977844a23b40c3b746/redditJson-0.0.11.tar.gz
BuildArch: noarch
Requires: python3-requests
@@ -55,20 +55,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 .
@@ -81,5 +81,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.11-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.11-1
- Package Spec generated