Script 'mail_helper' called by obssrc
Hello community,

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

Package is "python-pako"

Tue Jun 10 09:07:45 2025 rev:4 rq:1284176 version:0.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pako/python-pako.changes  2025-06-02 
22:01:52.996512556 +0200
+++ /work/SRC/openSUSE:Factory/.python-pako.new.19631/python-pako.changes       
2025-06-10 09:10:10.707571572 +0200
@@ -1,0 +2,5 @@
+Mon Jun  9 12:32:59 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to libalternatives
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pako.spec ++++++
--- /var/tmp/diff_new_pack.fAlB0R/_old  2025-06-10 09:10:11.231593240 +0200
+++ /var/tmp/diff_new_pack.fAlB0R/_new  2025-06-10 09:10:11.235593406 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%bcond_without libalternatives
 Name:           python-pako
 Version:        0.3.1
 Release:        0
@@ -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-appdirs
-Requires(post): alts
-Requires(postun): alts
 BuildArch:      noarch
 %python_subpackages
 
@@ -59,11 +60,8 @@
 %python_clone -a %{buildroot}%{_bindir}/pako
 rm -f %{buildroot}%{_prefix}/pako/LICENSE
 
-%post
-%python_install_alternative pako
-
-%postun
-%python_uninstall_alternative pako
+%pre
+%python_libalternatives_reset_alternative pako
 
 %files %{python_files}
 %license LICENSE

Reply via email to