The package rpms/python-theano.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/python-theano.git/commit/?id=b15c....
Change:
-%ifarch %{power64}
Thanks.
Full change:
============
commit b15c2bd5c4b7637e94e7cfc7229f594adc6602a9
Author: Jerry James <loganjerry(a)gmail.com>
Date: Fri Aug 7 17:02:19 2020 -0600
Do not use %ifarch in a noarch package.
diff --git a/python-theano.spec b/python-theano.spec
index 358571e..601a5f6 100644
--- a/python-theano.spec
+++ b/python-theano.spec
@@ -150,15 +150,15 @@ cd -
chmod a+x $(find %{buildroot} -name \*.py -o -name \*.sh | xargs grep -l '^#!')
%check
-%ifarch %{power64}
# FIXME: some tests fail on ppc64le
# The conv3d2d tests compute the wrong type of values (float32 instead of
# float64) and the wrong values.
-sed -i '/parameterized\.expand/,$d' ttheano/tensor/nnet/tests/test_conv3d2d.py
+if [ "uname -m" = "ppc64le" ]; then
+ sed -i '/parameterized\.expand/,$d' ttheano/tensor/nnet/tests/test_conv3d2d.py
-# An unexpected GradientError is thrown at theano/gradient.py line 1790
-rm theano/tensor/nnet/tests/test_corr3d.py
-%endif
+ # An unexpected GradientError is thrown at theano/gradient.py line 1790
+ rm theano/tensor/nnet/tests/test_corr3d.py
+fi
%{python3} bin/theano-nose --processes=0 --process-restartworker