diff --git a/python-bareos/packaging/python-bareos.spec b/python-bareos/packaging/python-bareos.spec index a628dc0b9c0..050ccda4a07 100644 --- a/python-bareos/packaging/python-bareos.spec +++ b/python-bareos/packaging/python-bareos.spec @@ -29,7 +29,7 @@ %define python2_build_requires python-rpm-macros python2-rpm-macros python-devel python-setuptools %endif -%if 0%{?fedora} >= 35 || 0%{?suse_version} >= 1550 || 0%{?rhel_version} >= 900 +%if 0%{?fedora} >= 35 || 0%{?suse_version} >= 1550 || 0%{?rhel_version} >= 900 || 0%{?sle_version} >= 150400 %define skip_python2 1 %endif