Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-Pyro5 for openSUSE:Factory 
checked in at 2025-06-10 09:06:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Pyro5 (Old)
 and      /work/SRC/openSUSE:Factory/.python-Pyro5.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Pyro5"

Tue Jun 10 09:06:53 2025 rev:5 rq:1284012 version:5.15

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Pyro5/python-Pyro5.changes        
2025-05-12 20:19:30.823036550 +0200
+++ /work/SRC/openSUSE:Factory/.python-Pyro5.new.19631/python-Pyro5.changes     
2025-06-10 09:09:35.998136341 +0200
@@ -1,0 +2,5 @@
+Wed Jun  4 15:35:12 UTC 2025 - Felix Stegmeier <felix.stegme...@suse.com>
+
+- fix usage of libalternatives
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-Pyro5.spec ++++++
--- /var/tmp/diff_new_pack.WV2ypW/_old  2025-06-10 09:09:36.562159656 +0200
+++ /var/tmp/diff_new_pack.WV2ypW/_new  2025-06-10 09:09:36.562159656 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%bcond_without libalternatives
 %{?sle15_python_module_pythons}
 Name:           python-Pyro5
 Version:        5.15
@@ -27,11 +28,11 @@
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
+BuildRequires:  alts
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       alts
 Requires:       python-serpent >= 1.41
-Requires(post): alts
-Requires(postun): alts
 Recommends:     ca-certificates
 Recommends:     python-cloudpickle >= 0.4.0
 Recommends:     python-dill >= 0.2.6
@@ -78,11 +79,9 @@
 %check
 %pytest -m "not network"
 
-%post
-%{python_install_alternative pyro5-check-config pyro5-echoserver 
pyro5-httpgateway pyro5-ns pyro5-nsc}
-
-%postun
-%python_uninstall_alternative pyro5-check-config
+%pre
+# Removing old update-alternatives entries.
+%python_libalternatives_reset_alternative pyro5-check-config
 
 %files %{python_files}
 %license LICENSE

Reply via email to