Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pip for openSUSE:Factory 
checked in at 2021-11-06 18:15:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pip (Old)
 and      /work/SRC/openSUSE:Factory/.python-pip.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pip"

Sat Nov  6 18:15:46 2021 rev:54 rq:929675 version:20.2.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pip/python-pip.changes    2021-01-08 
17:32:20.893167282 +0100
+++ /work/SRC/openSUSE:Factory/.python-pip.new.1890/python-pip.changes  
2021-11-06 18:18:29.232898722 +0100
@@ -1,0 +2,5 @@
+Wed Sep  8 16:07:38 UTC 2021 - Stefan Schubert <sch...@suse.de>
+
+- Use libalternatives instead of update-alternatives. 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pip.spec ++++++
--- /var/tmp/diff_new_pack.Pnlioq/_old  2021-11-06 18:18:29.732898980 +0100
+++ /var/tmp/diff_new_pack.Pnlioq/_new  2021-11-06 18:18:29.732898980 +0100
@@ -16,6 +16,12 @@
 #
 
 
+%if 0%{?suse_version} > 1500
+%bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
+
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %global flavor @BUILD_FLAVOR@%{nil}
 %if "%{flavor}" == "test"
@@ -47,13 +53,18 @@
 Patch1:         remove_mock.patch
 BuildRequires:  %{python_module setuptools >= 40.8.0}
 BuildRequires:  fdupes
-BuildRequires:  python-rpm-macros
+BuildRequires:  python-rpm-macros >= 20210929
 Requires:       ca-certificates
 Requires:       coreutils
 Requires:       python-setuptools
 Requires:       python-xml
+%if %{with libalternatives}
+Requires:       alts
+BuildRequires:  alts
+%else
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
+%endif
 Recommends:     ca-certificates-mozilla
 BuildArch:      noarch
 %if %{with test}
@@ -146,6 +157,8 @@
 # of the old binary resulting from the non-update-alternatives-ified package:
 [ -h %{_bindir}/pip ] || rm -f %{_bindir}/pip
 [ -h %{_bindir}/pip3 ] || rm -f %{_bindir}/pip3
+# If libalternatives is used: Removing old update-alternatives entries.
+%python_libalternatives_reset_alternative pip
 
 %if !%{with test} && !%{with wheel}
 %post

Reply via email to