summaryrefslogtreecommitdiff
path: root/python-odtools.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-odtools.spec')
-rw-r--r--python-odtools.spec18
1 files changed, 9 insertions, 9 deletions
diff --git a/python-odtools.spec b/python-odtools.spec
index a73e903..9aec2f2 100644
--- a/python-odtools.spec
+++ b/python-odtools.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-ODtools
-Version: 2.1.19
+Version: 2.1.20
Release: 1
Summary: zkrTools
License: Apache License
URL: https://github.com/zkr-origin-data-dpt/ODtools
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/78/25/2a9358cbe83d18b54546011cc86e4bc762072cfc0c014c890ddf12744d7e/ODtools-2.1.19.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/67/9a/a7e9a524995280d42874ead77222bf121d94ce83191c3caf4f20d65a95bc/ODtools-2.1.20.tar.gz
BuildArch: noarch
@@ -28,7 +28,7 @@ Provides: python3-ODtools-doc
%prep
-%autosetup -n ODtools-2.1.19
+%autosetup -n ODtools-2.1.20
%build
%py3_build
@@ -42,20 +42,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 .
@@ -68,5 +68,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 2.1.19-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 2.1.20-1
- Package Spec generated