fix python version for almalinux

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-set_version?expand=0&rev=109
This commit is contained in:
Frank Schreiner 2021-06-21 11:32:40 +00:00 committed by Git OBS Bridge
parent fdfa75c074
commit d1e5a8a2f2

View File

@ -23,7 +23,7 @@
%endif %endif
%define service set_version %define service set_version
%if 0%{?suse_version} > 1315 || 0%{?fedora_version} || 0%{?centos_version} >= 800 %if 0%{?suse_version} > 1315 || 0%{?fedora_version} || 0%{?centos_version} >= 800 || 0%{?almalinux} >= 8
%define use_python python3 %define use_python python3
%else %else
%define use_python python %define use_python python