diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-06-09 00:50:45 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-06-09 00:50:45 +0000 |
| commit | 96593cd57627826473a4e2f1e911e3da65557a00 (patch) | |
| tree | 5a5a7390aa1a17f0fbd467a2a0f63ed250cdd9bf | |
| parent | 148cc74ac685c529dbc10265fc3316c874f31cd1 (diff) | |
automatic import of python-resource-manopeneuler20.03
| -rw-r--r-- | python-resource-man.spec | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/python-resource-man.spec b/python-resource-man.spec index 060b2ae..a0d0444 100644 --- a/python-resource-man.spec +++ b/python-resource-man.spec @@ -5,7 +5,7 @@ Release: 1 Summary: Python resource manager to work with the standard library for regular python code and executables. License: MIT URL: https://github.com/justengel/resource_man -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/1f/ee/8e4c4ae1742c2bf479657dfefb6a481fca23de4ec0b801b291f70317255b/resource_man-2.2.8.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/1f/ee/8e4c4ae1742c2bf479657dfefb6a481fca23de4ec0b801b291f70317255b/resource_man-2.2.8.tar.gz BuildArch: noarch Requires: python3-dynamicmethod @@ -30,7 +30,7 @@ Provides: python3-resource-man-doc %prep -%autosetup -n resource-man-2.2.8 +%autosetup -n resource_man-2.2.8 %build %py3_build @@ -44,20 +44,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 . @@ -70,5 +70,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 2.2.8-1 +* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 2.2.8-1 - Package Spec generated |
