diff --git a/python-jmespath.changes b/python-jmespath.changes index 4290a0d..938c4ff 100644 --- a/python-jmespath.changes +++ b/python-jmespath.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 20 19:42:39 UTC 2016 - rjschwei@suse.com + +- Fix build issues for SLE 11 + + More test dependencies required + ------------------------------------------------------------------- Wed Jan 20 19:08:32 UTC 2016 - rjschwei@suse.com diff --git a/python-jmespath.spec b/python-jmespath.spec index f23506b..b1247a4 100644 --- a/python-jmespath.spec +++ b/python-jmespath.spec @@ -26,16 +26,20 @@ License: MIT Group: Development/Languages/Python Url: https://github.com/boto/jmespath Source0: https://pypi.python.org/packages/source/j/%{baseName}/%{baseName}-%{version}.tar.gz -Requires: python +Requires: python-base Requires: python-ply >= 3.4 Requires(post): update-alternatives Requires(postun): update-alternatives -BuildRequires: python BuildRequires: python-devel BuildRequires: python-ply >= 3.4 BuildRequires: python-setuptools # For testing BuildRequires: python-nose +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +BuildRequires: python-ordereddict +%endif +BuildRequires: python-simplejson +BuildRequires: python-unittest2 BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}