Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
4cc4d79b28 | |||
9edbc048bb | |||
59b2ac9005 | |||
7886548a67 |
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 21 09:28:37 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives on SLE-16-based and newer systems only
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 11 10:42:52 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 14 08:11:26 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Tue May 14 08:11:26 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-keyring
|
# spec file for package python-keyring
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -24,6 +24,11 @@
|
|||||||
%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-keyring%{psuffix}
|
Name: python-keyring%{psuffix}
|
||||||
Version: 25.2.1
|
Version: 25.2.1
|
||||||
@@ -44,10 +49,14 @@ Requires: python-jaraco.classes
|
|||||||
Requires: python-jaraco.context
|
Requires: python-jaraco.context
|
||||||
Requires: python-jaraco.functools
|
Requires: python-jaraco.functools
|
||||||
Requires: python-jeepney >= 0.4.2
|
Requires: python-jeepney >= 0.4.2
|
||||||
|
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
|
||||||
|
|
||||||
%if 0%{python_version_nodots} < 310
|
%if 0%{python_version_nodots} < 310
|
||||||
Requires: python-importlib-resources
|
Requires: python-importlib-resources
|
||||||
%endif
|
%endif
|
||||||
@@ -94,6 +103,9 @@ sed -i '/^#!/d' keyring/cli.py
|
|||||||
%postun
|
%postun
|
||||||
%python_uninstall_alternative keyring
|
%python_uninstall_alternative keyring
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%python_libalternatives_reset_alternative keyring
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst NEWS.rst
|
%doc README.rst NEWS.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Reference in New Issue
Block a user