forked from pool/python-tqdm
Compare commits
8 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 089e5c1a94 | |||
| 36f3f12667 | |||
| f8d60f66c4 | |||
| 70c8415d2e | |||
| 82acbe96cf | |||
| cc4490cc62 | |||
| 57d04895e1 | |||
| 865ee2cd38 |
@@ -1,8 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Mon Aug 25 14:23:42 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
|
||||||
|
|
||||||
- Convert to libalternatives on SLE-16-based and newer systems
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 9 13:01:25 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
Thu Jan 9 13:01:25 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-tqdm
|
# spec file for package python-tqdm
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC and contributors
|
# 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
|
||||||
@@ -26,11 +26,6 @@
|
|||||||
%define pkg_suffix %{nil}
|
%define pkg_suffix %{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-tqdm%{pkg_suffix}
|
Name: python-tqdm%{pkg_suffix}
|
||||||
Version: 4.67.1
|
Version: 4.67.1
|
||||||
@@ -47,20 +42,15 @@ BuildRequires: %{python_module toml}
|
|||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Enhances: python-ipython
|
|
||||||
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
|
||||||
%endif
|
Enhances: python-ipython
|
||||||
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
|
BuildRequires: %{python_module pytest-asyncio >= 0.24}
|
||||||
# Conditional required for SLE-15-SP4+
|
# Conditional required for SLE-15-SP4+
|
||||||
BuildRequires: %{python_module numpy if (python-base without python36-base)}
|
BuildRequires: %{python_module numpy if (python-base without python36-base)}
|
||||||
BuildRequires: %{python_module pytest-asyncio >= 0.24}
|
|
||||||
BuildRequires: %{python_module pytest-timeout}
|
BuildRequires: %{python_module pytest-timeout}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module tqdm = %{version}}
|
BuildRequires: %{python_module tqdm = %{version}}
|
||||||
@@ -116,9 +106,6 @@ install -m 644 -D tqdm/completion.sh %{buildroot}%{_datadir}/bash-completion/com
|
|||||||
|
|
||||||
%postun
|
%postun
|
||||||
%python_uninstall_alternative tqdm
|
%python_uninstall_alternative tqdm
|
||||||
|
|
||||||
%pre
|
|
||||||
%python_libalternatives_reset_alternative tqdm
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
|
|||||||
Reference in New Issue
Block a user