14
0

Accepting request 222168 from devel:languages:python

- remove dependency on unittest2 (forwarded request 222148 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/222168
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jsonschema?expand=0&rev=9
This commit is contained in:
Stephan Kulow
2014-02-26 05:55:04 +00:00
committed by Git OBS Bridge
2 changed files with 7 additions and 2 deletions

View File

@@ -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 Mon Oct 21 13:30:13 UTC 2013 - dmueller@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-jsonschema # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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 BuildRequires: python-devel
# Test build requirements # Test build requirements
BuildRequires: python-mock BuildRequires: python-mock
BuildRequires: python-unittest2
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110 %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()")} %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else %else
BuildArch: noarch BuildArch: noarch