14
0
2025-08-21 10:18:02 +00:00
committed by Git OBS Bridge
parent 9b2bb3f990
commit 68b998f304

View File

@@ -24,6 +24,8 @@
%define psuffix %{nil}
%bcond_with test
%endif
# Disables installing nbformat for tests in Ring1 (see also Patch1)
%bcond_with ringdisabled
# Do not depend on nbformat for SLES or SLFO:Main
%if ( 0%{?suse_version} == 1500 && 0%{?sle_version} >= 150400 ) || 0%{?suse_version} == 1600
%bcond_without ringdisabled
@@ -33,8 +35,6 @@
%else
%bcond_with libalternatives
%endif
# Disables installing nbformat for tests in Ring1 (see also Patch1)
%bcond_with ringdisabled
%{?sle15_python_module_pythons}
Name: python-pip-run%{psuffix}
Version: 8.8.2
@@ -122,15 +122,15 @@ dont_test=""
%pytest -k "$dont_test"
%endif
%pre
%python_libalternatives_reset_alternative pip-run
%post
%python_install_alternative pip-run
%postun
%python_uninstall_alternative pip-run
%pre
%python_libalternatives_reset_alternative pip-run
%if !%{with test}
%files %{python_files}
%license LICENSE