3
0
forked from pool/libselinux
Johannes Segitz 2023-06-05 08:29:28 +00:00 committed by Git OBS Bridge
parent 8bc935fc0e
commit 68b4fddcd5

View File

@ -20,23 +20,23 @@
%if 0%{?suse_version} < 1699
# Leap15, SLES15
# have some safe defaults
%define python_subpackage_name python3-libselinux
%define python_subpackage_name python3-selinux
%define python_base_requirement python3
%if "%pythons" == "python36"
%define python_subpackage_name python36-libselinux
%define python_subpackage_name python36-selinux
%define python_base_requirement python36
%endif
%if "%pythons" == "python310"
%define python_subpackage_name python310-libselinux
%define python_subpackage_name python310-selinux
%define python_base_requirement python310
%endif
%if "%pythons" == "python311"
%define python_subpackage_name python311-libselinux
%define python_subpackage_name python311-selinux
%define python_base_requirement python311
%endif
%else
# Tumbleweed
%define python_subpackage_name python3-libselinux
%define python_subpackage_name python3-selinux
%define python_base_requirement python3
%endif