forked from pool/python-hatch
Compare commits
13 Commits
Author | SHA256 | Date | |
---|---|---|---|
37ac5b1d70 | |||
c1bc58a546 | |||
5148097abd | |||
157deda1a5 | |||
4c508e2cf2 | |||
11e9834751 | |||
eb3bdaccb7 | |||
dbbf8b2f2e | |||
931bfca499 | |||
b480155513 | |||
3b7e29dcd9 | |||
3954783633 | |||
bdc84c90cb |
@@ -1,13 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Thu Aug 21 08:22:26 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
|
||||||
|
|
||||||
- Convert to libalternatives on SLE-16-based and newer systems only
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Jul 10 12:33:57 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
|
||||||
|
|
||||||
- Convert to libalternatives
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 26 09:36:32 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
Thu Jun 26 09:36:32 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
@@ -24,11 +24,6 @@
|
|||||||
%define psuffix %{nil}
|
%define psuffix %{nil}
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?suse_version} > 1500
|
|
||||||
%bcond_without libalternatives
|
|
||||||
%else
|
|
||||||
%bcond_with libalternatives
|
|
||||||
%endif
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-hatch%{psuffix}
|
Name: python-hatch%{psuffix}
|
||||||
Version: 1.14.1
|
Version: 1.14.1
|
||||||
@@ -48,6 +43,8 @@ BuildRequires: %{python_module hatchling >= 1.26.3}
|
|||||||
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: git-core
|
Requires: git-core
|
||||||
Requires: python-click >= 8.0.6
|
Requires: python-click >= 8.0.6
|
||||||
Requires: python-hatchling >= 1.21.0
|
Requires: python-hatchling >= 1.21.0
|
||||||
@@ -65,13 +62,6 @@ Requires: python-zstandard < 1
|
|||||||
Requires: uv
|
Requires: uv
|
||||||
Requires: (python-pexpect >= 4.8 with python-pexpect < 5)
|
Requires: (python-pexpect >= 4.8 with python-pexpect < 5)
|
||||||
Requires: (python-userpath >= 1.7 with python-userpath < 2)
|
Requires: (python-userpath >= 1.7 with python-userpath < 2)
|
||||||
%if %{with libalternatives}
|
|
||||||
BuildRequires: alts
|
|
||||||
Requires: alts
|
|
||||||
%else
|
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(postun): update-alternatives
|
|
||||||
%endif
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module editables}
|
BuildRequires: %{python_module editables}
|
||||||
BuildRequires: %{python_module filelock >= 3.7.1}
|
BuildRequires: %{python_module filelock >= 3.7.1}
|
||||||
@@ -151,9 +141,6 @@ donttest+=" or test_pyenv or test_no_open or test_open"
|
|||||||
%postun
|
%postun
|
||||||
%python_uninstall_alternative hatch
|
%python_uninstall_alternative hatch
|
||||||
|
|
||||||
%pre
|
|
||||||
%python_libalternatives_reset_alternative hatch
|
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
Reference in New Issue
Block a user