summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 03:44:14 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 03:44:14 +0000
commite3e677aaad0b31e156e59d6f1f14851517c8f0ab (patch)
tree9460ebe6b17c70ecc52d2290db2fb020d846a1d9
parentea0a2ba672c65ac2b422edd27086b79dab719689 (diff)
automatic import of python-web-2-albumopeneuler20.03
-rw-r--r--python-web-2-album.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-web-2-album.spec b/python-web-2-album.spec
index a956072..dc8596a 100644
--- a/python-web-2-album.spec
+++ b/python-web-2-album.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Return photo list and caption (markdown format) from web.
License: MIT License
URL: https://github.com/gaoyunzhi/web_2_album
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c3/20/2eb8e02e4263daabf014b57ce56731790c6c796a13cd74f2ef8033c7ffd9/web_2_album-0.0.67.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/c3/20/2eb8e02e4263daabf014b57ce56731790c6c796a13cd74f2ef8033c7ffd9/web_2_album-0.0.67.tar.gz
BuildArch: noarch
Requires: python3-cached-url
@@ -100,7 +100,7 @@ result.cap
%prep
-%autosetup -n web-2-album-0.0.67
+%autosetup -n web_2_album-0.0.67
%build
%py3_build
@@ -114,20 +114,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 .
@@ -140,5 +140,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.67-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.67-1
- Package Spec generated