Remove flake8.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Tue, 15 Sep 2015 18:23:52 +0000 (20:23 +0200)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Tue, 15 Sep 2015 18:33:51 +0000 (20:33 +0200)
python-pOCCI.spec

index ef78f3a..f58ec05 100644 (file)
@@ -44,9 +44,8 @@ Patch1:          %{srcname}-2to3.diff
 BuildArch:      noarch
 BuildRequires:  python2-devel python-pycurl
 %if 0%{?with_python3}
-BuildRequires:  python3-devel python3-pycurl python3-flake8
+BuildRequires:  python3-devel python3-pycurl
 %endif
-BuildRequires:  python-flake8
 BuildRequires:  python-sphinx
 
 %description
@@ -90,6 +89,7 @@ pushd %{srcname}-%{commit}
 %if 0%{?rhel} && 0%{?rhel} <= 6
 sed -e "/'sphinx.ext.viewcode'/d" -i doc/conf.py
 %endif
+sed -e "/'flake8'/d" -i setup.py
 popd
 cp -a %{srcname}-%{commit} python2
 cp -a %{srcname}-%{commit} python3