Use versioned python macros

This fixes the following errors during mockbuild:
sh: /usr/bin/python: No such file or directory
This commit is contained in:
Ondřej Lysoněk 2018-02-26 12:00:49 +01:00
parent 7ab3214621
commit 255c83021f

View File

@ -399,8 +399,8 @@ fi
%{tcl_sitearch}/brlapi-%{api_version} %{tcl_sitearch}/brlapi-%{api_version}
%files -n python2-brlapi %files -n python2-brlapi
%{python_sitearch}/brlapi.so %{python2_sitearch}/brlapi.so
%{python_sitearch}/Brlapi-%{api_version}-*.egg-info %{python2_sitearch}/Brlapi-%{api_version}-*.egg-info
%if 0%{?with_python3} %if 0%{?with_python3}
%files -n python3-brlapi %files -n python3-brlapi