Script 'mail_helper' called by obssrc
Hello community,

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

Package is "python-mss"

Tue Jun 10 09:08:07 2025 rev:5 rq:1284212 version:7.0.1

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

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

Other differences:
------------------
++++++ python-mss.spec ++++++
--- /var/tmp/diff_new_pack.HZt2fW/_old  2025-06-10 09:10:21.632023316 +0200
+++ /var/tmp/diff_new_pack.HZt2fW/_new  2025-06-10 09:10:21.636023482 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%bcond_without libalternatives
 Name:           python-mss
 Version:        7.0.1
 Release:        0
@@ -29,14 +30,14 @@
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
+BuildRequires:  alts
 BuildRequires:  fdupes
 BuildRequires:  lsof
 BuildRequires:  python-rpm-macros
 BuildRequires:  xrandr
 BuildRequires:  xvfb-run
+Requires:       alts
 Requires:       xrandr
-Requires(post): alts
-Requires(postun): alts
 BuildArch:      noarch
 %python_subpackages
 
@@ -54,11 +55,8 @@
 %python_clone -a %{buildroot}%{_bindir}/mss
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%post
-%python_install_alternative mss
-
-%postun
-%python_uninstall_alternative mss
+%pre
+%python_libalternatives_reset_alternative mss
 
 %check
 export LANG=en_US.UTF-8

Reply via email to