Script 'mail_helper' called by obssrc
Hello community,

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

Package is "python-cssutils"

Tue Jul  8 15:30:16 2025 rev:39 rq:1291183 version:2.11.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cssutils/python-cssutils.changes  
2025-06-27 23:09:37.029911673 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-cssutils.new.7373/python-cssutils.changes    
    2025-07-08 15:30:47.502637733 +0200
@@ -1,0 +2,5 @@
+Tue Jul  8 08:07:18 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to libalternatives
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-cssutils.spec ++++++
--- /var/tmp/diff_new_pack.LFxSsx/_old  2025-07-08 15:30:48.058660969 +0200
+++ /var/tmp/diff_new_pack.LFxSsx/_new  2025-07-08 15:30:48.058660969 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%bcond_without libalternatives
 %{?sle15_python_module_pythons}
 Name:           python-cssutils
 Version:        2.11.1
@@ -31,11 +32,11 @@
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
+BuildRequires:  alts
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       alts
 Requires:       python-more-itertools
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
 BuildArch:      noarch
 %python_subpackages
 
@@ -53,14 +54,12 @@
 %python_clone -a %{buildroot}%{_bindir}/csscapture
 %python_clone -a %{buildroot}%{_bindir}/csscombine
 %python_clone -a %{buildroot}%{_bindir}/cssparse
+%python_group_libalternatives csscapture csscombine cssparse
 
 %python_expand %fdupes %{buildroot}%{$python_sitelib}/
 
-%post
-%{python_install_alternative csscapture csscombine cssparse}
-
-%postun
-%python_uninstall_alternative csscapture
+%pre
+%python_libalternatives_reset_alternative csscapture
 
 %files %{python_files}
 %license LICENSE

Reply via email to