forked from pool/python-keyring
		
	Accepting request 1291938 from devel:languages:python
- Convert to libalternatives OBS-URL: https://build.opensuse.org/request/show/1291938 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-keyring?expand=0&rev=61
This commit is contained in:
		@@ -1,3 +1,8 @@
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
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>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
#
 | 
			
		||||
# 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
 | 
			
		||||
# remain the property of their copyright owners, unless otherwise agreed
 | 
			
		||||
@@ -24,6 +24,7 @@
 | 
			
		||||
%define psuffix %{nil}
 | 
			
		||||
%bcond_with test
 | 
			
		||||
%endif
 | 
			
		||||
%bcond_without libalternatives
 | 
			
		||||
%{?sle15_python_module_pythons}
 | 
			
		||||
Name:           python-keyring%{psuffix}
 | 
			
		||||
Version:        25.2.1
 | 
			
		||||
@@ -37,17 +38,16 @@ BuildRequires:  %{python_module pip}
 | 
			
		||||
BuildRequires:  %{python_module setuptools >= 56}
 | 
			
		||||
BuildRequires:  %{python_module setuptools_scm >= 3.4.1}
 | 
			
		||||
BuildRequires:  %{python_module wheel}
 | 
			
		||||
BuildRequires:  alts
 | 
			
		||||
BuildRequires:  fdupes
 | 
			
		||||
BuildRequires:  python-rpm-macros
 | 
			
		||||
Requires:       alts
 | 
			
		||||
Requires:       python-SecretStorage >= 3.2
 | 
			
		||||
Requires:       python-jaraco.classes
 | 
			
		||||
Requires:       python-jaraco.context
 | 
			
		||||
Requires:       python-jaraco.functools
 | 
			
		||||
Requires:       python-jeepney >= 0.4.2
 | 
			
		||||
Requires(post): update-alternatives
 | 
			
		||||
Requires(postun): update-alternatives
 | 
			
		||||
BuildArch:      noarch
 | 
			
		||||
 | 
			
		||||
%if 0%{python_version_nodots} < 310
 | 
			
		||||
Requires:       python-importlib-resources
 | 
			
		||||
%endif
 | 
			
		||||
@@ -88,11 +88,8 @@ sed -i '/^#!/d' keyring/cli.py
 | 
			
		||||
%endif
 | 
			
		||||
 | 
			
		||||
%if !%{with test}
 | 
			
		||||
%post
 | 
			
		||||
%python_install_alternative keyring
 | 
			
		||||
 | 
			
		||||
%postun
 | 
			
		||||
%python_uninstall_alternative keyring
 | 
			
		||||
%pre
 | 
			
		||||
%python_libalternatives_reset_alternative keyring
 | 
			
		||||
 | 
			
		||||
%files %{python_files}
 | 
			
		||||
%doc README.rst NEWS.rst
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user