- Add BuildRequires: python-unittest2 for SLE-11-SP2

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonschema?expand=0&rev=2
This commit is contained in:
Sascha Peilicke 2012-07-27 10:20:05 +00:00 committed by Git OBS Bridge
parent 32fba6c43e
commit e19cb14a45
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 27 10:19:13 UTC 2012 - saschpe@suse.de
- Add BuildRequires: python-unittest2 for SLE-11-SP2
-------------------------------------------------------------------
Thu Jul 26 13:54:29 UTC 2012 - saschpe@suse.de

View File

@ -24,6 +24,8 @@ Url: http://github.com/Julian/jsonschema
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz
BuildRequires: python-devel
# This is needed for SLE-11-SP2:
BuildRequires: python-unittest2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}