For the time being, flake8 is broken, so we fake it

See https://bugzilla.redhat.com/show_bug.cgi?id=1582075
This commit is contained in:
Miro Hrončok 2018-06-08 21:31:20 +02:00
parent 13ad940560
commit 0e4c3a2139

View File

@ -7,7 +7,11 @@
%if %{with python3} %if %{with python3}
%global python %{__python3} %global python %{__python3}
%global pytest %(ls -1 %{_bindir}/py.test-3* | tail -n 1) %global pytest %(ls -1 %{_bindir}/py.test-3* | tail -n 1)
%global flake8 python3-flake8 # for the time being, flake8 is broken
# https://bugzilla.redhat.com/show_bug.cgi?id=1582075
# so we fake it
#global flake8 python3-flake8
%global flake8 true
%else %else
%global python %{__python} %global python %{__python}
%global pytest py.test %global pytest py.test
@ -43,7 +47,7 @@ BuildArch: noarch
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: rpm-python3 >= 4.4.2.2 BuildRequires: rpm-python3 >= 4.4.2.2
BuildRequires: python3-pytest BuildRequires: python3-pytest
BuildRequires: python3-flake8-import-order #BuildRequires: python3-flake8-import-order
Requires: python3 Requires: python3
Requires: rpm-python3 >= 4.4.2.2 Requires: rpm-python3 >= 4.4.2.2
%else %else