From 255c83021f40fa407a1fd86eb6c525c878db3f9f Mon Sep 17 00:00:00 2001 From: Ondřej Lysoněk Date: Feb 26 2018 22:23:01 +0000 Subject: Use versioned python macros This fixes the following errors during mockbuild: sh: /usr/bin/python: No such file or directory --- diff --git a/brltty.spec b/brltty.spec index 3bed343..a29cb61 100644 --- a/brltty.spec +++ b/brltty.spec @@ -399,8 +399,8 @@ fi %{tcl_sitearch}/brlapi-%{api_version} %files -n python2-brlapi -%{python_sitearch}/brlapi.so -%{python_sitearch}/Brlapi-%{api_version}-*.egg-info +%{python2_sitearch}/brlapi.so +%{python2_sitearch}/Brlapi-%{api_version}-*.egg-info %if 0%{?with_python3} %files -n python3-brlapi