14
0

Accepting request 222148 from Cloud:OpenStack:Master

- remove dependency on unittest2

OBS-URL: https://build.opensuse.org/request/show/222148
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonschema?expand=0&rev=15
This commit is contained in:
Sascha Peilicke
2014-02-13 11:52:31 +00:00
committed by Git OBS Bridge
parent 15c3ec8827
commit 9393e4d33a
2 changed files with 7 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-jsonschema
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -27,9 +27,9 @@ Source: http://pypi.python.org/packages/source/j/jsonschema/jsonschema-%
BuildRequires: python-devel
# Test build requirements
BuildRequires: python-mock
BuildRequires: python-unittest2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
BuildRequires: python-unittest2
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch