Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pip-run for openSUSE:Factory 
checked in at 2025-08-21 17:00:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pip-run (Old)
 and      /work/SRC/openSUSE:Factory/.python-pip-run.new.29662 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pip-run"

Thu Aug 21 17:00:28 2025 rev:8 rq:1300765 version:8.8.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pip-run/python-pip-run.changes    
2025-07-21 20:00:17.019044167 +0200
+++ /work/SRC/openSUSE:Factory/.python-pip-run.new.29662/python-pip-run.changes 
2025-08-21 17:00:37.665227651 +0200
@@ -1,0 +2,5 @@
+Thu Aug 21 10:15:31 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to libalternatives on SLE-16-based and newer systems only
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pip-run.spec ++++++
--- /var/tmp/diff_new_pack.if3P8i/_old  2025-08-21 17:00:38.397258305 +0200
+++ /var/tmp/diff_new_pack.if3P8i/_new  2025-08-21 17:00:38.401258473 +0200
@@ -30,7 +30,11 @@
 %if ( 0%{?suse_version} == 1500 && 0%{?sle_version} >= 150400 ) || 
0%{?suse_version} == 1600
 %bcond_without ringdisabled
 %endif
+%if 0%{?suse_version} > 1500
 %bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
 %{?sle15_python_module_pythons}
 Name:           python-pip-run%{psuffix}
 Version:        8.8.2
@@ -49,15 +53,20 @@
 BuildRequires:  %{python_module setuptools >= 56}
 BuildRequires:  %{python_module setuptools_scm >= 3.4.1}
 BuildRequires:  %{python_module wheel}
-BuildRequires:  alts
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       alts
 Requires:       python-autocommand
 Requires:       python-packaging
 Requires:       python-path >= 15.1
 Requires:       python-pip >= 19.3
 BuildArch:      noarch
+%if %{with libalternatives}
+BuildRequires:  alts
+Requires:       alts
+%else
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+%endif
 %if 0%{?python_version_nodots} < 38
 Requires:       python-importlib-metadata
 %endif
@@ -116,6 +125,12 @@
 %pre
 %python_libalternatives_reset_alternative pip-run
 
+%post
+%python_install_alternative pip-run
+
+%postun
+%python_uninstall_alternative pip-run
+
 %if !%{with test}
 %files %{python_files}
 %license LICENSE

Reply via email to