Remove bytecode produced by pytest.
This commit is contained in:
parent
4a1da2f72d
commit
bf0cfd8e49
10
numpy.spec
10
numpy.spec
@ -236,7 +236,8 @@ ln -s %{python2_sitearch}/%{name}/core/include/numpy/ %{buildroot}/usr/include/n
|
||||
|
||||
%check
|
||||
pushd doc &> /dev/null
|
||||
PYTHONPATH="%{buildroot}%{python2_sitearch}" %{__python2} -c "import pkg_resources, numpy ; numpy.test(verbose=2)" \
|
||||
PYTHONPATH="%{buildroot}%{python2_sitearch}" PYTHONDONTWRITEBYTECODE=1 \
|
||||
%{__python2} -c "import pkg_resources, numpy ; numpy.test(verbose=2)" \
|
||||
%ifarch s390 s390x
|
||||
|| :
|
||||
%endif
|
||||
@ -245,7 +246,8 @@ popd &> /dev/null
|
||||
|
||||
%if 0%{?with_python3}
|
||||
pushd doc &> /dev/null
|
||||
PYTHONPATH="%{buildroot}%{python3_sitearch}" %{__python3} -c "import pkg_resources, numpy ; numpy.test(verbose=2)" \
|
||||
PYTHONPATH="%{buildroot}%{python3_sitearch}" PYTHONDONTWRITEBYTECODE=1 \
|
||||
%{__python3} -c "import pkg_resources, numpy ; numpy.test(verbose=2)" \
|
||||
%ifarch s390 s390x
|
||||
|| :
|
||||
%endif
|
||||
@ -278,9 +280,6 @@ popd &> /dev/null
|
||||
%exclude %{python2_sitearch}/%{name}/LICENSE.txt
|
||||
%{_bindir}/conv-template
|
||||
%{_bindir}/from-template
|
||||
%ifnarch s390x
|
||||
%{python2_sitearch}/numpy/__pycache__/*
|
||||
%endif
|
||||
|
||||
%files -n python2-numpy-f2py
|
||||
%doc docs/f2py/*.html
|
||||
@ -329,6 +328,7 @@ popd &> /dev/null
|
||||
%changelog
|
||||
* Sat Aug 11 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1:1.15.0-2
|
||||
- Fix broken build on s390x
|
||||
- Remove bytecode produced by pytest
|
||||
|
||||
* Tue Jul 24 2018 Gwyn Ciesla <limburgher@gmail.com> - 1:1.15.0-1
|
||||
- 1.15.0
|
||||
|
Loading…
Reference in New Issue
Block a user