diff --git a/python-jsonschema.changes b/python-jsonschema.changes index 4e9fde3..3a2b830 100644 --- a/python-jsonschema.changes +++ b/python-jsonschema.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 13 10:27:36 UTC 2014 - dmueller@suse.com + +- remove dependency on unittest2 + ------------------------------------------------------------------- Mon Oct 21 13:30:13 UTC 2013 - dmueller@suse.com diff --git a/python-jsonschema.spec b/python-jsonschema.spec index bea240e..cbfb83a 100644 --- a/python-jsonschema.spec +++ b/python-jsonschema.spec @@ -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