From 4098a268caa801768e28fe05f8dedc0542cd14f5 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sun, 22 Sep 2019 09:59:00 +0200 Subject: - disable python3 here by default (see python3-scipy.spec for newer, py3-only versions) 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} -- cgit v0.10.2