diff --git a/brltty.spec b/brltty.spec index 80cf81d..3bed343 100644 --- a/brltty.spec +++ b/brltty.spec @@ -229,13 +229,13 @@ export PYTHONCOERCECLOCALE=0 # First build everything with Python 2 support %configure $configure_opts PYTHON=%{__python2} # Parallel build seems broken, thus disabling it -make %{?_smp_mflags} +make %if 0%{?with_python3} # ... and then do it again for the Python 3 module pushd %{py3dir} %configure $configure_opts PYTHON=%{__python3} -make %{?_smp_mflags} +make popd %endif