From fc09c6c3233a4e0bf348dec85d7c9648e5287ad8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 21 Mar 2019 16:01:01 +0100 Subject: [PATCH] Don't hardcode Python versions --- numpy.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/numpy.spec b/numpy.spec index 43e0f35..34da06f 100644 --- a/numpy.spec +++ b/numpy.spec @@ -274,7 +274,7 @@ popd &> /dev/null #%%{_mandir}/man*/* %{_bindir}/f2py %{_bindir}/f2py2 -%{_bindir}/f2py2.7 +%{_bindir}/f2py%{python2_version} %{_bindir}/f2py.numpy %{python2_sitearch}/%{name}/f2py @@ -306,7 +306,7 @@ popd &> /dev/null %files -n python3-numpy-f2py %{_bindir}/f2py3 -%{_bindir}/f2py3.7 +%{_bindir}/f2py%{python3_version} %{python3_sitearch}/%{name}/f2py %files -n python3-numpy-doc