Drop pyflakes and pycodestyle version limit

flake8默认依赖pyflakes<1.7和pycodestyle<2.4,但pyflakes和pycodestyle在20.03 LTS SP2已有对应的高版本软件包,不适合降级。

该PR移除flake8对pyflakes、pycodestyle,保证能正常安装
This commit is contained in:
王玺源 2021-11-09 10:59:27 +00:00 committed by Gitee
parent fdc821e25d
commit d3b5f21b3f

View File

@ -1,7 +1,8 @@
%global _empty_manifest_terminate_build 0
%global __requires_exclude .*pyflakes.*|.*pycodestyle.*
Name: python-flake8
Version: 3.5.0
Release: 1
Release: 2
Summary: the modular source code checker: pep8, pyflakes and co
License: MIT
URL: https://gitlab.com/pycqa/flake8
@ -80,6 +81,7 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Tue Nov 09 2021 OpenStack_SIG <openstack@openeuler.org> - 3.5.0-2
- Drop pyflakes and pycodestyle version limit
* Fri Nov 05 2021 OpenStack_SIG <openstack@openeuler.org> - 3.5.0-1
- Init package python3-flake8 of version 3.5.0