Try to fix build

This commit is contained in:
Susi Lehtola 2018-09-18 18:49:55 +02:00
parent 0e82c8663f
commit 1524d6fd43

View File

@ -9,6 +9,7 @@
%else %else
%global python2_enabled 1 %global python2_enabled 1
%endif %endif
%global python3_enabled 1 %global python3_enabled 1
@ -133,9 +134,11 @@ make -C python3 check %{?_smp_mflags}
%endif %endif
%install %install
# Doesn't matter if both installs run
%if %{python2_enabled} %if %{python2_enabled}
%make_install -C python2 %make_install -C python2
%elif %{python3_enabled} %endif
%if %{python3_enabled}
%make_install -C python3 %make_install -C python3
%endif %endif
# Force install to arch-ful directories instead. # Force install to arch-ful directories instead.