7 Commits

Author SHA256 Message Date
5366f73c64 Accepting request 1300765 from devel:languages:python
- Convert to libalternatives on SLE-16-based and newer systems only

OBS-URL: https://build.opensuse.org/request/show/1300765
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip-run?expand=0&rev=8
2025-08-21 15:00:28 +00:00
af20571d38 fix spec-cleaner changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip-run?expand=0&rev=16
2025-08-21 10:18:02 +00:00
67cc66d647 - Convert to libalternatives on SLE-16-based and newer systems only
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip-run?expand=0&rev=15
2025-08-21 10:16:01 +00:00
31c1d178c2 Accepting request 1294491 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1294491
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip-run?expand=0&rev=7
2025-07-21 17:59:42 +00:00
4bcd74f39f - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip-run?expand=0&rev=13
2025-07-19 07:26:09 +00:00
4ea0bd1b83 Accepting request 1193815 from devel:languages:python
- use ca-certificates-mozilla for pip 24.2

- Update to version v8.8.2

OBS-URL: https://build.opensuse.org/request/show/1193815
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip-run?expand=0&rev=6
2024-08-15 07:57:30 +00:00
c2fa92583d - use ca-certificates-mozilla for pip 24.2
- Update to version v8.8.2

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip-run?expand=0&rev=11
2024-08-14 06:14:02 +00:00
2 changed files with 33 additions and 7 deletions

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu Aug 21 10:15:31 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems only
-------------------------------------------------------------------
Sat Jul 19 07:23:16 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Wed Aug 14 06:13:40 UTC 2024 - Dirk Müller <dmueller@suse.com>
- use ca-certificates-mozilla for pip 24.2
-------------------------------------------------------------------
Tue Jul 9 09:32:49 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
@@ -16,7 +31,7 @@ Tue Apr 18 23:00:49 UTC 2023 - Matej Cepl <mcepl@suse.com>
-------------------------------------------------------------------
Tue Dec 6 04:22:58 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version v8.8.2
- Update to version v8.8.2
* Packaging refresh.
* Merge https://github.com/jaraco/skeleton

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pip-run
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
#
%{?sle15_python_module_pythons}
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
@@ -27,12 +26,16 @@
%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
%endif
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-pip-run%{psuffix}
Version: 8.8.2
Release: 0
@@ -56,8 +59,14 @@ Requires: python-autocommand
Requires: python-packaging
Requires: python-path >= 15.1
Requires: python-pip >= 19.3
BuildArch: noarch
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
%if 0%{?python_version_nodots} < 38
Requires: python-importlib-metadata
%endif
@@ -65,12 +74,11 @@ Requires: python-importlib-metadata
BuildRequires: %{python_module Pygments}
BuildRequires: %{python_module pip-run = %{version}}
BuildRequires: %{python_module pytest >= 6}
BuildRequires: ca-certificates
BuildRequires: ca-certificates-mozilla
%if %{without ringdisabled}
BuildRequires: %{python_module nbformat}
%endif
%endif
BuildArch: noarch
%python_subpackages
%description
@@ -114,6 +122,9 @@ dont_test=""
%pytest -k "$dont_test"
%endif
%pre
%python_libalternatives_reset_alternative pip-run
%post
%python_install_alternative pip-run