Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-charset-normalizer for 
openSUSE:Factory checked in at 2025-01-16 18:31:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-charset-normalizer (Old)
 and      /work/SRC/openSUSE:Factory/.python-charset-normalizer.new.1881 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-charset-normalizer"

Thu Jan 16 18:31:17 2025 rev:26 rq:1238022 version:3.4.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-charset-normalizer/python-charset-normalizer.changes
      2025-01-12 11:10:51.246281296 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-charset-normalizer.new.1881/python-charset-normalizer.changes
    2025-01-16 18:31:24.263196101 +0100
@@ -1,0 +2,5 @@
+Wed Jan 15 10:26:52 UTC 2025 - Daniel Garcia <[email protected]>
+
+- Use libalternatives instead of update-alternatives, bsc#1235781
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-charset-normalizer.spec ++++++
--- /var/tmp/diff_new_pack.D45EUt/_old  2025-01-16 18:31:24.835219709 +0100
+++ /var/tmp/diff_new_pack.D45EUt/_new  2025-01-16 18:31:24.835219709 +0100
@@ -16,6 +16,12 @@
 #
 
 
+%if 0%{?suse_version} > 1500
+%bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
+
 %{?sle15_python_module_pythons}
 Name:           python-charset-normalizer
 Version:        3.4.1
@@ -30,8 +36,13 @@
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+%if %{with libalternatives}
+Requires:       alts
+BuildRequires:  alts
+%else
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
+%endif
 Suggests:       python-unicodedata2
 BuildArch:      noarch
 # SECTION test requirements
@@ -56,6 +67,10 @@
 %check
 %pytest
 
+%pre
+# If libalternatives is used: Removing old update-alternatives entries.
+%python_libalternatives_reset_alternative normalizer
+
 %post
 %python_install_alternative normalizer
 

Reply via email to