diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-09 03:32:38 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-09 03:32:38 +0000 |
commit | 2ed8129f3b2557f72d36c11567b1a87d5512d198 (patch) | |
tree | 90e7d221356f124fb7e0616492711bdb89602e54 | |
parent | 18588f233372e6d1d7ebde13c02e79608b9d3b0f (diff) |
automatic import of python-dumb-pypiopeneuler20.03
-rw-r--r-- | python-dumb-pypi.spec | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/python-dumb-pypi.spec b/python-dumb-pypi.spec index 6aaf647..6cf1c56 100644 --- a/python-dumb-pypi.spec +++ b/python-dumb-pypi.spec @@ -5,7 +5,7 @@ Release: 1 Summary: please add a summary manually as the author left a blank one License: Apache License 2.0 URL: https://github.com/chriskuehl/dumb-pypi -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/7d/d9/e118974a2c0f37629f6301c96c79ed3be83333e2bd2ef1adca18e2fd4844/dumb_pypi-1.14.1.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/7d/d9/e118974a2c0f37629f6301c96c79ed3be83333e2bd2ef1adca18e2fd4844/dumb_pypi-1.14.1.tar.gz BuildArch: noarch Requires: python3-jinja2 @@ -450,7 +450,7 @@ To run the tests, call `make test`. To run an individual test, you can do [per-version-api]: https://warehouse.pypa.io/api-reference/json.html#get--pypi--project_name---version--json %prep -%autosetup -n dumb-pypi-1.14.1 +%autosetup -n dumb_pypi-1.14.1 %build %py3_build @@ -464,20 +464,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 . @@ -490,5 +490,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 1.14.1-1 +* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 1.14.1-1 - Package Spec generated |