!3 python2 is not needed and delete the %check process for python2

Merge pull request !3 from 薄皮小笼包/master
This commit is contained in:
openeuler-ci-bot 2020-01-11 14:14:07 +08:00 committed by Gitee
commit 47897f8a01

View File

@ -1,3 +1,4 @@
%global with_tests 0%{?_with_tests:0}
Name: python-pocketlint
Version: 0.17
Release: 2
@ -48,8 +49,10 @@ Python-based source projects.
%make_install PYTHON=%{__python3}
%check
%if %{with_tests}
make check PYTHON=%{__python2}
make check PYTHON=%{__python3}
%endif
%files -n python3-pocketlint
%license COPYING