diff --git a/python-json-logger-2.0.1.tar.gz b/python-json-logger-2.0.1.tar.gz deleted file mode 100644 index 2133ebe..0000000 Binary files a/python-json-logger-2.0.1.tar.gz and /dev/null differ diff --git a/python-json-logger-2.0.2.tar.gz b/python-json-logger-2.0.2.tar.gz new file mode 100644 index 0000000..1d9b59a Binary files /dev/null and b/python-json-logger-2.0.2.tar.gz differ diff --git a/python-json-logger.spec b/python-json-logger.spec index 23b06a2..105d1af 100644 --- a/python-json-logger.spec +++ b/python-json-logger.spec @@ -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 - 2.0.2-1 +- Upgrade package python3-json-logger to version 2.0.2 + * Tue May 10 2022 xigaoxinyan - 2.0.1-3 - License compliance rectification