forked from pool/python-pip-run
fix spec-cleaner changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip-run?expand=0&rev=16
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user