diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-08 21:02:38 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-08 21:02:38 +0000 |
commit | a0c76079937460c0bf9c9b3b1fb93df0370b85b0 (patch) | |
tree | e603099ca52bd3bf4d9f52ca70403946e064487e | |
parent | 7d615318ab074d77dc7d92cab7073752e2f09f57 (diff) |
automatic import of python-metal-pythonopeneuler20.03
-rw-r--r-- | python-metal-python.spec | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/python-metal-python.spec b/python-metal-python.spec index f02ad47..c89df13 100644 --- a/python-metal-python.spec +++ b/python-metal-python.spec @@ -5,7 +5,7 @@ Release: 1 Summary: Python API client for metal-api License: MIT URL: https://github.com/metal-stack/metal-python -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/8e/91/b0f46266857bfb477362018929685480813a292d0e55bb6f0ed604dd2f0e/metal_python-0.22.5.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/8e/91/b0f46266857bfb477362018929685480813a292d0e55bb6f0ed604dd2f0e/metal_python-0.22.5.tar.gz BuildArch: noarch Requires: python3-certifi @@ -35,7 +35,7 @@ Provides: python3-metal-python-doc %prep -%autosetup -n metal-python-0.22.5 +%autosetup -n metal_python-0.22.5 %build %py3_build @@ -49,20 +49,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 . @@ -75,5 +75,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.22.5-1 +* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.22.5-1 - Package Spec generated |