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