make 2.3.0 build compat with el6
This commit is contained in:
parent
d13263b0bb
commit
a55b1a2d8f
@ -16,6 +16,11 @@ License: MIT
|
|||||||
URL: http://pypi.python.org/pypi/jsonschema
|
URL: http://pypi.python.org/pypi/jsonschema
|
||||||
Source0: http://pypi.python.org/packages/source/j/jsonschema/%{pypi_name}-%{version}.tar.gz
|
Source0: http://pypi.python.org/packages/source/j/jsonschema/%{pypi_name}-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%if %{?rhel}%{!?rhel:0} == 6
|
||||||
|
BuildRequires: python-unittest2
|
||||||
|
BuildRequires: python-argparse
|
||||||
|
%endif
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: python-nose
|
BuildRequires: python-nose
|
||||||
BuildRequires: python-mock
|
BuildRequires: python-mock
|
||||||
@ -69,7 +74,7 @@ pushd %{py3dir}
|
|||||||
%{_bindir}/nosetests-3* -v
|
%{_bindir}/nosetests-3* -v
|
||||||
popd
|
popd
|
||||||
%endif
|
%endif
|
||||||
%{_bindir}/nosetests-2* -v
|
%{_bindir}/nosetests -v
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.rst COPYING
|
%doc README.rst COPYING
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user