diff --git a/pybind11.spec b/pybind11.spec index c3a154b..df7a746 100644 --- a/pybind11.spec +++ b/pybind11.spec @@ -105,10 +105,10 @@ This package contains the Python 3 files. %build pys="" %if %{python2_enabled} -pys="$py python2" +pys="$pys python2" %endif %if %{python3_enabled} -pys="$py python3" +pys="$pys python3" %endif for py in $pys; do mkdir $py