summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 18:14:03 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 18:14:03 +0000
commit0e4ecabb412e4d92403a94cb1504d2df946a8feb (patch)
tree3197c008e71f47a496a1b6c4bb98ded870f10e14
parent6d29d4bd49719d0e506866045c0c8cede6973eab (diff)
automatic import of python-17monipopeneuler20.03
-rw-r--r--python-17monip.spec14
1 files changed, 7 insertions, 7 deletions
diff --git a/python-17monip.spec b/python-17monip.spec
index cce069d..20d05aa 100644
--- a/python-17monip.spec
+++ b/python-17monip.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: IP search based on 17mon.cn, the best IP database for China.
License: MIT
URL: http://lxyu.github.io/17monip/
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/77/42/33a54730582ad1f4d3e87b1d818aa6bb989941c8a54add88e7413936aee2/17MonIP-0.2.7.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/77/42/33a54730582ad1f4d3e87b1d818aa6bb989941c8a54add88e7413936aee2/17MonIP-0.2.7.tar.gz
BuildArch: noarch
@@ -45,20 +45,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 .
@@ -71,5 +71,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.7-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.7-1
- Package Spec generated