From df43cf76cb8e7758f0037371d6b0c4cc066295cb Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Wed, 1 Aug 2018 10:44:39 -0500 Subject: [PATCH] Files fixes. --- numpy.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/numpy.spec b/numpy.spec index e0efc23..c8d7a6f 100644 --- a/numpy.spec +++ b/numpy.spec @@ -277,7 +277,9 @@ popd &> /dev/null %exclude %{python2_sitearch}/%{name}/LICENSE.txt %{_bindir}/conv-template %{_bindir}/from-template -%{python2_sitearch}/numpy/__pycache__/conftest.cpython-27-PYTEST.pyc +%ifnarch s390x +%{python2_sitearch}/numpy/__pycache__/* +%endif %files -n python2-numpy-f2py %doc docs/f2py/*.html @@ -294,7 +296,7 @@ popd &> /dev/null %files -n python3-numpy %license LICENSE.txt %doc THANKS.txt site.cfg.example -%{python3_sitearch}/%{name}/__pycache__ +%{python3_sitearch}/%{name}/__pycache__/* %dir %{python3_sitearch}/%{name} %{python3_sitearch}/%{name}/*.py* %{python3_sitearch}/%{name}/core