forked from pool/python-WebTest
- Add %py_requires to fix SLE_11_SP2 build.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WebTest?expand=0&rev=13
This commit is contained in:
committed by
Git OBS Bridge
parent
c0753684bc
commit
ae2def6cdb
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-WebTest
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 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
|
||||
@@ -39,6 +39,7 @@ Requires: python-WebOb
|
||||
Provides: python-webtest = %{version}
|
||||
Obsoletes: python-webtest < %{version}
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%py_requires
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
|
||||
Reference in New Issue
Block a user