summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 13:39:08 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 13:39:08 +0000
commit4bbf8adc03a5f9f3046dc228a3ef924188d65ceb (patch)
tree126826bd880f7783d1b436299a0a5c3fa46001b8
parent5fb98f1552feefa0c60cc3828aaa33ece917e8ff (diff)
automatic import of python-campfire-apiopeneuler20.03
-rw-r--r--python-campfire-api.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-campfire-api.spec b/python-campfire-api.spec
index 5f1602e..66639c5 100644
--- a/python-campfire-api.spec
+++ b/python-campfire-api.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: CampfireAPI based on Capfire web.
License: MIT License
URL: https://github.com/Ghost-3/CapfireAPI
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/fb/14/147a9a829a4452c2782705e9d2aabdbb0206a7f9e9e70a06f8dc0f7c2c6b/Campfire%20API-0.0.7.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/fb/14/147a9a829a4452c2782705e9d2aabdbb0206a7f9e9e70a06f8dc0f7c2c6b/Campfire%20API-0.0.7.tar.gz
BuildArch: noarch
Requires: python3-requests
@@ -110,7 +110,7 @@ cf = LoginCampfireAPI(your_login, your_password)
%prep
-%autosetup -n Campfire-API-0.0.7
+%autosetup -n Campfire API-0.0.7
%build
%py3_build
@@ -124,20 +124,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 .
@@ -150,5 +150,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.7-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.7-1
- Package Spec generated