diff --git a/python-stomper.changes b/python-stomper.changes index 608a8b2..e4461f7 100644 --- a/python-stomper.changes +++ b/python-stomper.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Sep 22 12:17:04 UTC 2011 - saschpe@suse.de + +- Require python-uuid for SLE_10 and below. +- Use python-nose for unittests to fix SLE build + ------------------------------------------------------------------- Thu Sep 22 08:56:39 UTC 2011 - saschpe@suse.de diff --git a/python-stomper.spec b/python-stomper.spec index c4945ec..8d5e4b6 100644 --- a/python-stomper.spec +++ b/python-stomper.spec @@ -26,8 +26,12 @@ Source: http://pypi.python.org/packages/source/s/stomper/stomper-%{versi BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-distribute +BuildRequires: python-nose %if 0%{?suse_version} %py_requires +%if 0%{?suse_version} < 1110 +Requires: python-uuid +%endif %if 0%{?suse_version} > 1110 BuildArch: noarch %endif @@ -52,7 +56,7 @@ python setup.py build python setup.py install --prefix=%{_prefix} --root=%{buildroot} %check -python setup.py test +nosetests %files %defattr(-,root,root,-)