14
0

- Require python-uuid for SLE_10 and below.

- Use python-nose for unittests to fix SLE build

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-stomper?expand=0&rev=5
This commit is contained in:
Sascha Peilicke
2011-09-22 12:18:31 +00:00
committed by Git OBS Bridge
parent fe415fffb3
commit 3a9b9840df
2 changed files with 11 additions and 1 deletions

View File

@@ -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 Thu Sep 22 08:56:39 UTC 2011 - saschpe@suse.de

View File

@@ -26,8 +26,12 @@ Source: http://pypi.python.org/packages/source/s/stomper/stomper-%{versi
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-distribute BuildRequires: python-distribute
BuildRequires: python-nose
%if 0%{?suse_version} %if 0%{?suse_version}
%py_requires %py_requires
%if 0%{?suse_version} < 1110
Requires: python-uuid
%endif
%if 0%{?suse_version} > 1110 %if 0%{?suse_version} > 1110
BuildArch: noarch BuildArch: noarch
%endif %endif
@@ -52,7 +56,7 @@ python setup.py build
python setup.py install --prefix=%{_prefix} --root=%{buildroot} python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check %check
python setup.py test nosetests
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)