diff options
Diffstat (limited to 'python-bantam.spec')
-rw-r--r-- | python-bantam.spec | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/python-bantam.spec b/python-bantam.spec index f124abf..304a902 100644 --- a/python-bantam.spec +++ b/python-bantam.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-bantam -Version: 2.0.14 +Version: 2.2.2 Release: 1 Summary: small utils to automate web interface in Python License: BSD 2-CLAUSE URL: https://github.com/nak/bantam -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ca/90/1365fb81d1a7700994f81786f729de23428c205ba47a66f08ae85d85b7ed/bantam-2.0.14.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/a8/fd/75ee75ceaea3ccfcd053a6ee9e95eb2777be4dd28789747713f4c9aec27c/bantam-2.2.2.tar.gz BuildArch: noarch Requires: python3-aiohttp @@ -24,7 +24,6 @@ See https://nak.github.io/bantam_docs/ for details. - %package -n python3-bantam Summary: small utils to automate web interface in Python Provides: python-bantam @@ -44,7 +43,6 @@ See https://nak.github.io/bantam_docs/ for details. - %package help Summary: Development documents and examples for bantam Provides: python3-bantam-doc @@ -61,9 +59,8 @@ See https://nak.github.io/bantam_docs/ for details. - %prep -%autosetup -n bantam-2.0.14 +%autosetup -n bantam-2.2.2 %build %py3_build @@ -77,20 +74,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 . @@ -103,5 +100,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.14-1 +* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 2.2.2-1 - Package Spec generated |