[packages/python-jsonschema] - rel 5; tests in tests bcond
arekm
arekm at pld-linux.org
Sat Dec 31 12:39:12 CET 2016
commit f72979fed50eeb1a1b2b0dfca161b1332e3aa5a3
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Dec 31 12:39:06 2016 +0100
- rel 5; tests in tests bcond
python-jsonschema.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/python-jsonschema.spec b/python-jsonschema.spec
index a6c83f5..e192d0e 100644
--- a/python-jsonschema.spec
+++ b/python-jsonschema.spec
@@ -9,7 +9,7 @@ Summary: An implementation of JSON Schema validation for Python 2
Summary(pl.UTF-8): Implementacja sprawdzania poprawności schematu JSON dla Pythona 2
Name: python-%{module}
Version: 2.5.1
-Release: 4
+Release: 5
License: MIT
Group: Libraries/Python
#Source0Download: https://pypi.python.org/simple/jsonschema/
@@ -73,8 +73,10 @@ jsonschema to walidator schematów JSON oparty na dokumencie
%if %{with python2}
%py_build
+%if %{with tests}
%{_bindir}/nosetests-%{py_ver} -v
%endif
+%endif
%if %{with python3}
%py3_build
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-jsonschema.git/commitdiff/f72979fed50eeb1a1b2b0dfca161b1332e3aa5a3
More information about the pld-cvs-commit
mailing list