!3 python2 is not needed and delete the %check process for python2
Merge pull request !3 from 薄皮小笼包/master
This commit is contained in:
commit
47897f8a01
@ -1,3 +1,4 @@
|
|||||||
|
%global with_tests 0%{?_with_tests:0}
|
||||||
Name: python-pocketlint
|
Name: python-pocketlint
|
||||||
Version: 0.17
|
Version: 0.17
|
||||||
Release: 2
|
Release: 2
|
||||||
@ -48,8 +49,10 @@ Python-based source projects.
|
|||||||
%make_install PYTHON=%{__python3}
|
%make_install PYTHON=%{__python3}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%if %{with_tests}
|
||||||
make check PYTHON=%{__python2}
|
make check PYTHON=%{__python2}
|
||||||
make check PYTHON=%{__python3}
|
make check PYTHON=%{__python3}
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n python3-pocketlint
|
%files -n python3-pocketlint
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user