Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pygal for openSUSE:Factory checked in at 2025-08-25 20:36:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pygal (Old) and /work/SRC/openSUSE:Factory/.python-pygal.new.30751 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pygal" Mon Aug 25 20:36:20 2025 rev:14 rq:1301232 version:3.0.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pygal/python-pygal.changes 2025-06-11 16:19:46.879593446 +0200 +++ /work/SRC/openSUSE:Factory/.python-pygal.new.30751/python-pygal.changes 2025-08-25 20:37:06.133587705 +0200 @@ -1,0 +2,5 @@ +Mon Aug 25 09:51:21 UTC 2025 - Markéta Machová <[email protected]> + +- Convert to libalternatives on SLE-16-based and newer systems + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pygal.spec ++++++ --- /var/tmp/diff_new_pack.WY7QO6/_old 2025-08-25 20:37:06.637608820 +0200 +++ /var/tmp/diff_new_pack.WY7QO6/_new 2025-08-25 20:37:06.641608987 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pygal # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,6 +16,11 @@ # +%if 0%{?suse_version} > 1500 +%bcond_without libalternatives +%else +%bcond_with libalternatives +%endif %{?sle15_python_module_pythons} Name: python-pygal Version: 3.0.5 @@ -23,7 +28,7 @@ Summary: A python svg graph plotting library License: LGPL-3.0-or-later Group: Development/Languages/Python -URL: http://pygal.org/ +URL: https://pygal.org/ Source: https://files.pythonhosted.org/packages/source/p/pygal/pygal-%{version}.tar.gz BuildRequires: %{python_module CairoSVG} BuildRequires: %{python_module Flask} @@ -37,10 +42,15 @@ BuildRequires: python-rpm-macros Requires: python-importlib-metadata Requires: python-lxml -Requires(post): update-alternatives -Requires(postun): update-alternatives Recommends: python-CairoSVG BuildArch: noarch +%if %{with libalternatives} +BuildRequires: alts +Requires: alts +%else +Requires(post): update-alternatives +Requires(postun): update-alternatives +%endif # SECTION test requirements BuildRequires: %{python_module pytest} # /SECTION @@ -75,6 +85,9 @@ %postun %python_uninstall_alternative pygal_gen +%pre +%python_libalternatives_reset_alternative pygal_gen + %files %{python_files} %doc README %license COPYING
