Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-Parsley for openSUSE:Factory 
checked in at 2026-05-11 16:58:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Parsley (Old)
 and      /work/SRC/openSUSE:Factory/.python-Parsley.new.1966 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Parsley"

Mon May 11 16:58:01 2026 rev:9 rq:1352381 version:1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Parsley/python-Parsley.changes    
2025-04-14 16:08:36.603343325 +0200
+++ /work/SRC/openSUSE:Factory/.python-Parsley.new.1966/python-Parsley.changes  
2026-05-11 17:08:31.476397200 +0200
@@ -1,0 +2,6 @@
+Mon May 11 07:28:18 UTC 2026 - Daniel Garcia <[email protected]>
+
+- Use libalternatives instead of update-alternatives in SLES-16 and
+  Tumbleweed
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-Parsley.spec ++++++
--- /var/tmp/diff_new_pack.kdmZ4D/_old  2026-05-11 17:08:32.048420737 +0200
+++ /var/tmp/diff_new_pack.kdmZ4D/_new  2026-05-11 17:08:32.048420737 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Parsley
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 # Copyright (c) 2013 LISA GmbH, Bingen, Germany.
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,6 +17,12 @@
 #
 
 
+%if 0%{?suse_version} > 1500
+%bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
+
 %{?sle15_python_module_pythons}
 %define modname  Parsley
 %define oldpython python
@@ -36,8 +42,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
 Provides:       python-parsley
 Obsoletes:      %{oldpython}-Parsley-doc
 Obsoletes:      python-Parsley-doc
@@ -84,6 +95,11 @@
 %pytest ometa/test
 %pytest terml/test
 
+%pre
+# removing old update-alternatives entries
+%python_libalternatives_reset_alternative parsley-stage
+%python_libalternatives_reset_alternative parsley-generate_parser
+
 %post
 %python_install_alternative parsley-stage
 %python_install_alternative parsley-generate_parser

Reply via email to