]> git.pld-linux.org Git - packages/python-pyflakes.git/commitdiff
make some use of tests bcond; rel 5 auto/th/python-pyflakes-2.1.1-5
authorJan Palus <atler@pld-linux.org>
Mon, 1 Mar 2021 16:41:07 +0000 (17:41 +0100)
committerJan Palus <atler@pld-linux.org>
Mon, 1 Mar 2021 16:41:52 +0000 (17:41 +0100)
python-pyflakes.spec

index c1272e6756e185d3e61ccb768fa9366fbab266bd..b5ed717795bc5eafbcadf4dc5c1f6ff1dbfbe489 100644 (file)
@@ -10,7 +10,7 @@ Summary(pl.UTF-8):    Pasywny program do sprawdzania programów w Pythonie
 Name:          python-%{module}
 # NOTE: before upgrading to >=2.2.0 check for flake8 release supporting new pyflakes
 Version:       2.1.1
-Release:       4
+Release:       5
 License:       MIT
 Group:         Development/Tools
 #Source0Download: https://pypi.org/simple/pyflakes/
@@ -82,14 +82,18 @@ tylko błędów logicznych w programach; nie sprawdza stylu.
 %if %{with python2}
 %py_build
 
+%if %{with tests}
 %{__python} -m unittest discover -s pyflakes/test
 %endif
+%endif
 
 %if %{with python3}
 %py3_build
 
+%if %{with tests}
 %{__python3} -m unittest discover -s pyflakes/test
 %endif
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.098666 seconds and 4 git commands to generate.