diff --git a/python-WebTest.changes b/python-WebTest.changes index 514ff4c..970f510 100644 --- a/python-WebTest.changes +++ b/python-WebTest.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jan 11 11:22:19 UTC 2013 - saschpe@suse.de + +- Add %py_requires to fix SLE_11_SP2 build. + ------------------------------------------------------------------- Thu Nov 22 15:13:50 UTC 2012 - saschpe@suse.de diff --git a/python-WebTest.spec b/python-WebTest.spec index c2fdb0c..15eb778 100644 --- a/python-WebTest.spec +++ b/python-WebTest.spec @@ -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