Fix conditions for primary_interpreter

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python310?expand=0&rev=44
This commit is contained in:
Matej Cepl 2022-06-20 09:49:55 +00:00 committed by Git OBS Bridge
parent 7760f38ab4
commit 84e54ed87f

View File

@ -62,7 +62,7 @@ Obsoletes: python39%{?1:-%{1}}
%define python_pkg_name python310 %define python_pkg_name python310
# Will provide the python3-* provides # Will provide the python3-* provides
# Will do the /usr/bin/python3 and all the core links # Will do the /usr/bin/python3 and all the core links
%if 0%{?sle_version} || 0%{?suse_version} >= 1550 %if 0%{?sle_version} || 0%{?suse_version} < 1550
%define primary_interpreter 0 %define primary_interpreter 0
%else %else
%define primary_interpreter 1 %define primary_interpreter 1