Update to 2.0.7
This commit is contained in:
parent
06d6809899
commit
29d63f41be
Binary file not shown.
BIN
python-json-logger-2.0.7.tar.gz
Normal file
BIN
python-json-logger-2.0.7.tar.gz
Normal file
Binary file not shown.
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user