summaryrefslogtreecommitdiff
path: root/python-ndd-tools.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 00:42:32 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 00:42:32 +0000
commite163dc6bcb46d767bb3db5a71d2a74d4073da8f9 (patch)
tree1f301e0bbba38aa1e2ec88cf472677e0b96de4d4 /python-ndd-tools.spec
parent25648a9ec99bf4f7245b8ddf0522dba713c6dcdd (diff)
automatic import of python-ndd-toolsopeneuler20.03
Diffstat (limited to 'python-ndd-tools.spec')
-rw-r--r--python-ndd-tools.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-ndd-tools.spec b/python-ndd-tools.spec
index 915f69e..ae39171 100644
--- a/python-ndd-tools.spec
+++ b/python-ndd-tools.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: My Collection of Tools
License: MIT
URL: https://github.com/hpduongducnhan/ndd_tools
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2b/1e/e822ff25aa893da68f896176062d854eda3fb48c37dabe7a177b2793dece/ndd_tools-1.2.6.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/2b/1e/e822ff25aa893da68f896176062d854eda3fb48c37dabe7a177b2793dece/ndd_tools-1.2.6.tar.gz
BuildArch: noarch
Requires: python3-requests
@@ -237,7 +237,7 @@ data = client.make_request('example1', header_dict, body_dict)
%prep
-%autosetup -n ndd-tools-1.2.6
+%autosetup -n ndd_tools-1.2.6
%build
%py3_build
@@ -251,20 +251,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 .
@@ -277,5 +277,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.6-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.6-1
- Package Spec generated