|
|
@@ -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,7 @@
|
|
|
|
%define psuffix %{nil}
|
|
|
|
%define psuffix %{nil}
|
|
|
|
%bcond_with test
|
|
|
|
%bcond_with test
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%bcond_without libalternatives
|
|
|
|
%{?sle15_python_module_pythons}
|
|
|
|
%{?sle15_python_module_pythons}
|
|
|
|
Name: python-keyring%{psuffix}
|
|
|
|
Name: python-keyring%{psuffix}
|
|
|
|
Version: 25.2.1
|
|
|
|
Version: 25.2.1
|
|
|
@@ -37,17 +38,16 @@ BuildRequires: %{python_module pip}
|
|
|
|
BuildRequires: %{python_module setuptools >= 56}
|
|
|
|
BuildRequires: %{python_module setuptools >= 56}
|
|
|
|
BuildRequires: %{python_module setuptools_scm >= 3.4.1}
|
|
|
|
BuildRequires: %{python_module setuptools_scm >= 3.4.1}
|
|
|
|
BuildRequires: %{python_module wheel}
|
|
|
|
BuildRequires: %{python_module wheel}
|
|
|
|
|
|
|
|
BuildRequires: alts
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
|
|
|
|
Requires: alts
|
|
|
|
Requires: python-SecretStorage >= 3.2
|
|
|
|
Requires: python-SecretStorage >= 3.2
|
|
|
|
Requires: python-jaraco.classes
|
|
|
|
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
|
|
|
|
Requires(post): update-alternatives
|
|
|
|
|
|
|
|
Requires(postun): update-alternatives
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{python_version_nodots} < 310
|
|
|
|
%if 0%{python_version_nodots} < 310
|
|
|
|
Requires: python-importlib-resources
|
|
|
|
Requires: python-importlib-resources
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@@ -88,11 +88,8 @@ sed -i '/^#!/d' keyring/cli.py
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if !%{with test}
|
|
|
|
%if !%{with test}
|
|
|
|
%post
|
|
|
|
%pre
|
|
|
|
%python_install_alternative keyring
|
|
|
|
%python_libalternatives_reset_alternative keyring
|
|
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
|
|
|
%python_uninstall_alternative keyring
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
%files %{python_files}
|
|
|
|
%doc README.rst NEWS.rst
|
|
|
|
%doc README.rst NEWS.rst
|
|
|
|