forked from pool/python-flit
Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
ddbb199d55 | |||
7c5e36c6c2 | |||
2c12f0947d | |||
d0f06c305e |
@@ -1,13 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 19 14:01:31 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to libalternatives on SLE-16-based and newer systems only
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 8 13:53:24 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to libalternatives
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 2 14:35:23 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
|
||||
|
||||
|
@@ -16,11 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?suse_version} > 1500
|
||||
%bcond_without libalternatives
|
||||
%else
|
||||
%bcond_with libalternatives
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-flit
|
||||
Version: 3.12.0
|
||||
@@ -42,14 +37,9 @@ Requires: python-flit-core >= %{version}
|
||||
Requires: python-pip
|
||||
Requires: python-requests
|
||||
Requires: python-tomli-w
|
||||
BuildArch: noarch
|
||||
%if %{with libalternatives}
|
||||
BuildRequires: alts
|
||||
Requires: alts
|
||||
%else
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pytest >= 2.7.3}
|
||||
BuildRequires: %{python_module responses}
|
||||
@@ -89,9 +79,6 @@ export PATH=$PWD/build/testbin/:$PATH
|
||||
%postun
|
||||
%python_uninstall_alternative flit
|
||||
|
||||
%pre
|
||||
%python_libalternatives_reset_alternative flit
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
|
Reference in New Issue
Block a user