diff options
author | Jakub Bogusz | 2019-09-22 07:59:00 (GMT) |
---|---|---|
committer | Jakub Bogusz | 2019-09-22 07:59:00 (GMT) |
commit | 4098a268caa801768e28fe05f8dedc0542cd14f5 (patch) | |
tree | 8f0a45b61d51c027527a377a908ca4bd416aa0f5 | |
parent | 985f8546f9c20ae0628af8a8b960301ecdc97ca6 (diff) | |
download | python-scipy-4098a268caa801768e28fe05f8dedc0542cd14f5.zip python-scipy-4098a268caa801768e28fe05f8dedc0542cd14f5.tar.gz |
- disable python3 here by default (see python3-scipy.spec for newer, py3-only versions)
-rw-r--r-- | python-scipy.spec | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/python-scipy.spec b/python-scipy.spec index cefadf9..8b343ce 100644 --- a/python-scipy.spec +++ b/python-scipy.spec @@ -5,7 +5,7 @@ # Conditional build: %bcond_without doc # Sphinx documentation %bcond_without python2 # CPython 2.x module -%bcond_without python3 # CPython 3.x module +%bcond_with python3 # CPython 3.x module (see python3-scipy.spec for scipy >= 1.3 for Python 3.5+) %define module scipy Summary: A library of scientific tools @@ -293,10 +293,8 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{py_sitedir}/%{module}/stats/*.so %{py_sitedir}/%{module}/stats/*.py %{py_sitedir}/%{module}/stats/*.py[co] -%if "%{py_ver}" > "2.4" %{py_sitedir}/%{module}-%{version}-py*.egg-info %endif -%endif %if %{with python3} %files -n python3-%{module} |