Compare commits
8 Commits
Author | SHA256 | Date | |
---|---|---|---|
0ac0599dba | |||
4abf57ad3e | |||
e1e6d73391 | |||
502ff8bc60 | |||
b5cee4f044 | |||
813838988c | |||
c51829962d | |||
172efec7d7 |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 25 11:42:22 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives on SLE-16-based and newer systems
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 11 07:48:57 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
Tue Feb 11 07:48:57 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-Quart
|
# spec file for package python-Quart
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# 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-Quart
|
Name: python-Quart
|
||||||
Version: 0.20.0
|
Version: 0.20.0
|
||||||
@@ -54,9 +59,14 @@ Requires: python-blinker >= 1.6
|
|||||||
Requires: python-click >= 8.0
|
Requires: python-click >= 8.0
|
||||||
Requires: python-hypercorn >= 0.11.2
|
Requires: python-hypercorn >= 0.11.2
|
||||||
Requires: python-itsdangerous
|
Requires: python-itsdangerous
|
||||||
|
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
|
||||||
@@ -88,6 +98,9 @@ Quart is an async Python web microframework. Using Quart you can,
|
|||||||
%postun
|
%postun
|
||||||
%python_uninstall_alternative quart
|
%python_uninstall_alternative quart
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%python_libalternatives_reset_alternative quart
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md CHANGES.md
|
%doc README.md CHANGES.md
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
Reference in New Issue
Block a user