diff --git a/python-jsonschema.changes b/python-jsonschema.changes index 87b620f..ac3899a 100644 --- a/python-jsonschema.changes +++ b/python-jsonschema.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 5 13:28:12 UTC 2015 - mcihar@suse.cz + +- Adjust dependencies for Python 2.6 based SLE 11 + ------------------------------------------------------------------- Mon Jun 15 02:16:17 UTC 2015 - arun@gmx.de diff --git a/python-jsonschema.spec b/python-jsonschema.spec index 8c13f79..eef8047 100644 --- a/python-jsonschema.spec +++ b/python-jsonschema.spec @@ -1,7 +1,7 @@ # # spec file for package python-jsonschema # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,11 +26,22 @@ Url: http://github.com/Julian/jsonschema Source: http://pypi.python.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-setuptools +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +BuildRequires: python-argparse +BuildRequires: python-repoze.lru +%else BuildRequires: python-functools32 +%endif BuildRequires: python-vcversioner # Test build requirements BuildRequires: python-mock + +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +Requires: python-argparse +Requires: python-repoze.lru +%else Requires: python-functools32 +%endif Requires(post): update-alternatives Requires(postun): update-alternatives BuildRoot: %{_tmppath}/%{name}-%{version}-build