diff --git a/openstack/oslo.concurrency/oslo.concurrency.spec.j2 b/openstack/oslo.concurrency/oslo.concurrency.spec.j2 index dd1e1ff48..dade633fa 100644 --- a/openstack/oslo.concurrency/oslo.concurrency.spec.j2 +++ b/openstack/oslo.concurrency/oslo.concurrency.spec.j2 @@ -65,9 +65,10 @@ rm -rf doc/build/html/.{doctrees,buildinfo} %check # Test suite fails on 32 bit platforms -%ifnarch %arm %ix86 s390 ppc +# ifarch/ifnarch can not be used in noarch packages +if [ "%_lib" = "lib64" ]; then %{__python2} setup.py testr -%endif +fi %files %license LICENSE