From 8046957b660fb2b7f139b729391b843dd2cf37948434ace9b177002b0d0fb785 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 5 Oct 2015 13:39:38 +0000 Subject: [PATCH] Accepting request 336544 from home:Nijel:branches:devel:languages:python - Adjust dependencies for Python 2.6 based SLE 11 OBS-URL: https://build.opensuse.org/request/show/336544 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonschema?expand=0&rev=23 --- python-jsonschema.changes | 5 +++++ python-jsonschema.spec | 13 ++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) 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