diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-08 12:42:22 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-08 12:42:22 +0000 |
commit | 68f87dfe71ceb20196a897ef74b9ccba60062958 (patch) | |
tree | a27ade080f6a58455b88b4c722577e1522b325bd | |
parent | ad455c0f87d8145842327388f6c3267d376070d9 (diff) |
automatic import of python-absolufy-importsopeneuler20.03
-rw-r--r-- | python-absolufy-imports.spec | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/python-absolufy-imports.spec b/python-absolufy-imports.spec index f748a9c..1c4cb8e 100644 --- a/python-absolufy-imports.spec +++ b/python-absolufy-imports.spec @@ -5,7 +5,7 @@ Release: 1 Summary: A tool to automatically replace relative imports with absolute ones. License: MIT URL: https://github.com/MarcoGorelli/absolufy-imports -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/74/0f/9da9dc9a12ebf4622ec96d9338d221e0172699e7574929f65ec8fdb30f9c/absolufy_imports-0.3.1.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/74/0f/9da9dc9a12ebf4622ec96d9338d221e0172699e7574929f65ec8fdb30f9c/absolufy_imports-0.3.1.tar.gz BuildArch: noarch @@ -166,7 +166,7 @@ $ absolufy-imports mypackage/myfile.py --never ``` %prep -%autosetup -n absolufy-imports-0.3.1 +%autosetup -n absolufy_imports-0.3.1 %build %py3_build @@ -180,20 +180,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 . @@ -206,5 +206,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.1-1 +* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.1-1 - Package Spec generated |