Accepting request 336545 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/336545
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jsonschema?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2015-10-19 20:48:32 +00:00 committed by Git OBS Bridge
commit c6d356a744
2 changed files with 17 additions and 1 deletions

View File

@ -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

View File

@ -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