Update package python-json-logger of version 2.0.2

This commit is contained in:
renliang16 2022-05-24 13:36:02 +00:00
parent 719b2af6e2
commit 3c5a600e0d
3 changed files with 18 additions and 10 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,14 +1,16 @@
%global _empty_manifest_terminate_build 0
Name: python-json-logger
Version: 2.0.1
Release: 3
Version: 2.0.2
Release: 1
Summary: A python library adding a json log formatter
License: BSD-2-Clause
License: BSD
URL: http://github.com/madzak/python-json-logger
Source0: https://files.pythonhosted.org/packages/bd/95/ccbae460a4db2610b8d2635b5f1e7ed146fb771f4ef47ef20a1f216f9b78/python-json-logger-2.0.1.tar.gz
Source0: https://files.pythonhosted.org/packages/6f/a6/b47b6c0211e858c711d8dfdf34557a9da17579892efb71df9dbf983ba724/python-json-logger-2.0.2.tar.gz
BuildArch: noarch
%description
This library is provided to allow standard python logging to output log data 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.
This library is provided to allow standard python logging to output log data
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.
%package -n python3-json-logger
Summary: A python library adding a json log formatter
@ -20,23 +22,27 @@ BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
%description -n python3-json-logger
This library is provided to allow standard python logging to output log data 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.
This library is provided to allow standard python logging to output log data
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.
%package help
Summary: A python library adding a json log formatter
Provides: python3-json-logger-doc
%description help
This library is provided to allow standard python logging to output log data 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.
This library is provided to allow standard python logging to output log data
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-2.0.1 -p1
%autosetup -n python-json-logger-%{version}
%build
%py3_build
%install
%py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
@ -69,11 +75,13 @@ mv %{buildroot}/doclist.lst .
%files -n python3-json-logger -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Tue May 24 2022 renliang <renliang@uniontech.com> - 2.0.2-1
- Upgrade package python3-json-logger to version 2.0.2
* Tue May 10 2022 xigaoxinyan <xigaoxinyan@h-partners.com> - 2.0.1-3
- License compliance rectification