!18 Update package to version 3.0.0

From: @jxy_git 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2023-05-19 09:41:36 +00:00 committed by Gitee
commit 71913ddd7f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 8 additions and 5 deletions

Binary file not shown.

BIN
munch-3.0.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-munch
Version: 2.5.0
Release: 2
Version: 3.0.0
Release: 1
Summary: A dot-accessible dictionary (a la JavaScript objects)
License: MIT
URL: https://github.com/Infinidat/munch
Source0: https://files.pythonhosted.org/packages/43/a1/ec48010724eedfe2add68eb7592a0d238590e14e08b95a4ffb3c7b2f0808/munch-2.5.0.tar.gz
Source0: https://files.pythonhosted.org/packages/e1/40/5dcab397be4682839a1c669b2c24c857e59f073d691a2bcf9b14cebb054a/munch-3.0.0.tar.gz
BuildArch: noarch
Requires: python3-six
@ -37,7 +37,7 @@ True
%package -n python3-munch
Summary: A dot-accessible dictionary (a la JavaScript objects)
Provides: python-munch
Provides: python-munch = %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
@ -81,7 +81,7 @@ True
```
%prep
%autosetup -n munch-2.5.0
%autosetup -n munch-%{version}
%build
%py3_build
@ -121,6 +121,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Tue May 16 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 3.0.0-1
- Update package to version 3.0.0
* Mon Jan 06 2020 lingsheng <lingsheng@huawei.com> - 2.5.0-2
- Add buildrequire python3-pbr