forked from pool/python-pipx
Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| de96a7d07e | |||
| 4d851f57eb | |||
| c83ba3b74d | |||
| a54c2c3590 |
@@ -1,13 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Thu Aug 21 15:24:12 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
|
||||||
|
|
||||||
- Convert to libalternatives on SLE-16-based and newer systems only
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Jul 19 07:27:33 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
|
||||||
|
|
||||||
- Convert to libalternatives
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 09 06:44:16 UTC 2024 - daniel.garcia@suse.com
|
Mon Sep 09 06:44:16 UTC 2024 - daniel.garcia@suse.com
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pipx
|
# spec file for package python-pipx
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,11 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?suse_version} > 1500
|
|
||||||
%bcond_without libalternatives
|
|
||||||
%else
|
|
||||||
%bcond_with libalternatives
|
|
||||||
%endif
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pipx
|
Name: python-pipx
|
||||||
Version: 1.7.1
|
Version: 1.7.1
|
||||||
@@ -34,6 +29,8 @@ BuildRequires: %{python_module hatchling >= 1.18}
|
|||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
Requires: python >= 3.8
|
Requires: python >= 3.8
|
||||||
Requires: python-argcomplete >= 1.9.4
|
Requires: python-argcomplete >= 1.9.4
|
||||||
Requires: python-packaging >= 20
|
Requires: python-packaging >= 20
|
||||||
@@ -41,13 +38,6 @@ Requires: python-platformdirs >= 2.1
|
|||||||
Requires: python-userpath >= 1.6
|
Requires: python-userpath >= 1.6
|
||||||
Requires: (python-tomli if python-base < 3.11)
|
Requires: (python-tomli if python-base < 3.11)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with libalternatives}
|
|
||||||
BuildRequires: alts
|
|
||||||
Requires: alts
|
|
||||||
%else
|
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(postun): update-alternatives
|
|
||||||
%endif
|
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module argcomplete >= 1.9.4}
|
BuildRequires: %{python_module argcomplete >= 1.9.4}
|
||||||
BuildRequires: %{python_module packaging >= 20}
|
BuildRequires: %{python_module packaging >= 20}
|
||||||
@@ -77,9 +67,6 @@ export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
|
|||||||
%postun
|
%postun
|
||||||
%python_uninstall_alternative pipx
|
%python_uninstall_alternative pipx
|
||||||
|
|
||||||
%pre
|
|
||||||
%python_libalternatives_reset_alternative pipx
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# Tests require network or .pipx_tests with downloaded .whl, so not
|
# Tests require network or .pipx_tests with downloaded .whl, so not
|
||||||
# running pytest
|
# running pytest
|
||||||
|
|||||||
Reference in New Issue
Block a user