Compare commits
9 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| c139f9cbfc | |||
| acd4c33b33 | |||
| 7e080898d1 | |||
| 78ea2f5d87 | |||
| 23fa61cbaf | |||
| e5c26dc2ea | |||
| 4c21117bd0 | |||
| e3523169bf | |||
| 07321a42b8 |
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 21 08:27:33 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives on SLE-16-based and newer systems only
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 10 12:42:43 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Dec 15 20:08:33 UTC 2024 - Benoît Monin <benoit.monin@gmx.fr>
|
Sun Dec 15 20:08:33 UTC 2024 - Benoît Monin <benoit.monin@gmx.fr>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-hatchling
|
# spec file for package python-hatchling
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 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,6 +16,11 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-hatchling
|
Name: python-hatchling
|
||||||
Version: 1.27.0
|
Version: 1.27.0
|
||||||
@@ -38,9 +43,14 @@ Requires: python-pathspec >= 0.10.1
|
|||||||
Requires: python-pluggy >= 1.0.0
|
Requires: python-pluggy >= 1.0.0
|
||||||
Requires: python-trove-classifiers
|
Requires: python-trove-classifiers
|
||||||
Requires: (python-tomli >= 1.2.2 if python-base < 3.11)
|
Requires: (python-tomli >= 1.2.2 if python-base < 3.11)
|
||||||
|
BuildArch: noarch
|
||||||
|
%if %{with libalternatives}
|
||||||
|
BuildRequires: alts
|
||||||
|
Requires: alts
|
||||||
|
%else
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
BuildArch: noarch
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -68,6 +78,9 @@ This is the extensible, standards compliant build backend used by Hatch.
|
|||||||
%postun
|
%postun
|
||||||
%python_uninstall_alternative hatchling
|
%python_uninstall_alternative hatchling
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%python_libalternatives_reset_alternative hatchling
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user