[packages/python-scipy] - disable python3 here by default (see python3-scipy.spec for newer, py3-only versions)
qboosh
qboosh at pld-linux.org
Sun Sep 22 09:55:56 CEST 2019
commit 4098a268caa801768e28fe05f8dedc0542cd14f5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Sep 22 09:59:00 2019 +0200
- disable python3 here by default (see python3-scipy.spec for newer, py3-only versions)
python-scipy.spec | 4 +---
1 file changed, 1 insertion(+), 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}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-scipy.git/commitdiff/4098a268caa801768e28fe05f8dedc0542cd14f5
More information about the pld-cvs-commit
mailing list