diff --git a/python-rpm-macros.spec b/python-rpm-macros.spec index 1726c2d..ddf0cf6 100644 --- a/python-rpm-macros.spec +++ b/python-rpm-macros.spec @@ -58,7 +58,7 @@ dependencies automatically. mv macros-default-pythons macros/035-default-pythons %endif %if 0%{?suse_version} >= 1550 -sed -i -e '/^%{system_python}/s/python2/python3/' macros/010-common-defs +sed -i -e '/^%system_python/s/python2/python3/' macros/010-common-defs %endif %build