Fix compilation failure due to python-setuptools update to 66.0
This commit is contained in:
parent
6dedbc700b
commit
449ec1efd5
@ -5,7 +5,7 @@ These handlers are designed for Python standard library's logging package.
|
||||
|
||||
Name: python-logutils
|
||||
Version: 0.3.5
|
||||
Release: 9
|
||||
Release: 10
|
||||
License: BSD
|
||||
Summary: Handlers for Python library's logging package
|
||||
URL: https://pypi.io/project/logutils
|
||||
@ -14,6 +14,8 @@ Source0: https://pypi.io/packages/source/l/logutils/logutils-%{version}.t
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-redis
|
||||
BuildRequires: redis
|
||||
|
||||
%description %_description
|
||||
|
||||
@ -45,7 +47,9 @@ rm -rf %{py2dir}
|
||||
%{__python3} setup.py install -O1 --skip-build --root=%{buildroot}
|
||||
|
||||
%check
|
||||
%{__python3} setup.py test
|
||||
export PYTHONPATH=%{buildroot}%{python3_sitelib}
|
||||
%{__python3} -m unittest discover -v tests
|
||||
|
||||
|
||||
%files -n python3-logutils
|
||||
%license LICENSE.txt
|
||||
@ -57,6 +61,9 @@ rm -rf %{py2dir}
|
||||
%doc doc/
|
||||
|
||||
%changelog
|
||||
* Tue May 23 2023 yaoxin <yao_xin001@hoperun.com> - 0.3.5-10
|
||||
- Fix compilation failure due to python-setuptools update to 66.0
|
||||
|
||||
* Mon Sep 27 2021 caodongxia <caodongxia@huawei.com> - 0.3.5-9
|
||||
- Provides python-logutils
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user