Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-keyring for openSUSE:Factory 
checked in at 2025-07-15 16:42:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-keyring (Old)
 and      /work/SRC/openSUSE:Factory/.python-keyring.new.7373 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-keyring"

Tue Jul 15 16:42:31 2025 rev:61 rq:1291938 version:25.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-keyring/python-keyring.changes    
2024-05-15 21:26:20.533039348 +0200
+++ /work/SRC/openSUSE:Factory/.python-keyring.new.7373/python-keyring.changes  
2025-07-15 16:42:58.013809941 +0200
@@ -1,0 +2,5 @@
+Fri Jul 11 10:42:52 UTC 2025 - Markéta Machová <[email protected]>
+
+- Convert to libalternatives
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-keyring.spec ++++++
--- /var/tmp/diff_new_pack.VUsAkb/_old  2025-07-15 16:42:58.685838014 +0200
+++ /var/tmp/diff_new_pack.VUsAkb/_new  2025-07-15 16:42:58.685838014 +0200
@@ -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 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 @@
 %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

Reply via email to