This commit is contained in:
@@ -53,11 +53,7 @@ Requires: python-oslo.utils >= 3.5.0
|
||||
Requires: python-retrying >= 1.2.3
|
||||
Requires: python-six >= 1.9.0
|
||||
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()")}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description
|
||||
Oslo concurrency library has utilities for safely running multi-thread,
|
||||
@@ -89,7 +85,7 @@ rm -rf html/.{doctrees,buildinfo}
|
||||
%{__python2} setup.py install --skip-build --root %{buildroot}
|
||||
|
||||
%check
|
||||
%ifnarch %ix86
|
||||
%if "%_lib" == "lib64"
|
||||
testr init
|
||||
testr run --parallel
|
||||
%endif
|
||||
|
Reference in New Issue
Block a user