summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 10:15:16 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 10:15:16 +0000
commitf884229707a3d3978905fe4923972c256bb67b60 (patch)
treef2340a2af88b7188a9badbfae2c260343a1069e7
parent7cf494a5302f0d7a2bacd9aec3d2946b216e2d87 (diff)
automatic import of python-bantamopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-bantam.spec21
-rw-r--r--sources2
3 files changed, 11 insertions, 13 deletions
diff --git a/.gitignore b/.gitignore
index a4e44ff..0f98355 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/bantam-2.0.14.tar.gz
+/bantam-2.2.2.tar.gz
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
diff --git a/sources b/sources
index 781b79b..79df129 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6ce9eabf0b586146255222847648175e bantam-2.0.14.tar.gz
+525aea6f75623974643e62b2cd94da83 bantam-2.2.2.tar.gz