Do not create *-PYTEST.pyc files
This commit is contained in:
parent
32c93448e8
commit
1d12442e10
@ -7,7 +7,7 @@
|
|||||||
Summary: Scientific Tools for Python
|
Summary: Scientific Tools for Python
|
||||||
Name: scipy
|
Name: scipy
|
||||||
Version: 1.2.1
|
Version: 1.2.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
|
|
||||||
# BSD -- whole package except:
|
# BSD -- whole package except:
|
||||||
# Boost -- scipy/special/cephes/scipy_iv.c
|
# Boost -- scipy/special/cephes/scipy_iv.c
|
||||||
@ -198,6 +198,9 @@ export k="not test_denormals and not test_decomp"
|
|||||||
export k="not test_denormals"
|
export k="not test_denormals"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# Do not create -PYTEST.pyc files
|
||||||
|
export PYTHONDONTWRITEBYTECODE=1
|
||||||
|
|
||||||
pushd %{buildroot}/%{python3_sitearch}
|
pushd %{buildroot}/%{python3_sitearch}
|
||||||
py.test-3 --timeout=300 -k "$k" scipy
|
py.test-3 --timeout=300 -k "$k" scipy
|
||||||
# Remove test remnants
|
# Remove test remnants
|
||||||
@ -234,6 +237,9 @@ popd
|
|||||||
%endif # with doc
|
%endif # with doc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Apr 26 2019 Orion Poplawski <orion@nwra.com> - 1.2.1-2
|
||||||
|
- Do not create *-PYTEST.pyc files
|
||||||
|
|
||||||
* Tue Apr 23 2019 Orion Poplawski <orion@nwra.com> - 1.2.1-1
|
* Tue Apr 23 2019 Orion Poplawski <orion@nwra.com> - 1.2.1-1
|
||||||
- Update to 1.2.1
|
- Update to 1.2.1
|
||||||
- Drop scipy2-doc
|
- Drop scipy2-doc
|
||||||
|
Loading…
Reference in New Issue
Block a user