!9 Update to 2.0.7

From: @starlet-dx 
Reviewed-by: @cherry530 
Signed-off-by: @cherry530
This commit is contained in:
openeuler-ci-bot 2023-04-11 07:36:25 +00:00 committed by Gitee
commit b4a938d5e2
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 7 additions and 4 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-json-logger
Version: 2.0.4
Version: 2.0.7
Release: 1
Summary: A python library adding a json log formatter
License: BSD
URL: http://github.com/madzak/python-json-logger
Source0: https://files.pythonhosted.org/packages/0a/c9/3d58b02da0966cd3067ebf99f454bfa01b18d83cfa69b5fb09ddccf94066/python-json-logger-2.0.4.tar.gz
Source0: http://github.com/madzak/python-json-logger/archive/v%{version}/python-json-logger-%{version}.tar.gz
BuildArch: noarch
%description
@ -36,7 +36,7 @@ as json objects. With JSON we can make our logs more readable by machines and
we can stop writing custom parsers for syslog type records.
%prep
%autosetup -n python-json-logger-%{version}
%autosetup -n python-json-logger-%{version} -p1
%build
%py3_build
@ -73,7 +73,7 @@ mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%check
%{__python3} setup.py test
PYTHONPATH=%{buildroot}/%{python3_sitelib} %{__python3} -m unittest discover
%files -n python3-json-logger -f filelist.lst
%dir %{python3_sitelib}/*
@ -82,6 +82,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Tue Apr 11 2023 yaoxin <yao_xin001@hoperun.com> - 2.0.7-1
- Update to 2.0.7
* Mon Dec 05 2022 wangjunqi <wangjunqi@kylinos.cn> - 2.0.4-1
- Update package to version 2.0.4