summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 01:58:50 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 01:58:50 +0000
commit239e2b9b34ddb30a43ca24632488cfd7e6d1317e (patch)
tree7259010d916aa1049bdeb6365d82ec8b40db8ba8
parent447f95fe4ac4d41d1e03c53994fe1362db8b31e7 (diff)
automatic import of python-linkpreviewopeneuler20.03
-rw-r--r--python-linkpreview.spec14
1 files changed, 7 insertions, 7 deletions
diff --git a/python-linkpreview.spec b/python-linkpreview.spec
index 407edd9..f8d255d 100644
--- a/python-linkpreview.spec
+++ b/python-linkpreview.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Get link (URL) preview
License: MIT
URL: https://pypi.org/project/linkpreview/
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/3d/6b/a52531157b38844d0dcc62a6be9a57f5b24204ec2cf4158390e6d53eae5f/linkpreview-0.6.5.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/3d/6b/a52531157b38844d0dcc62a6be9a57f5b24204ec2cf4158390e6d53eae5f/linkpreview-0.6.5.tar.gz
BuildArch: noarch
Requires: python3-requests
@@ -374,20 +374,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 .
@@ -400,5 +400,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.5-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.5-1
- Package Spec generated