Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-wheel for openSUSE:Factory 
checked in at 2021-10-25 15:16:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-wheel (Old)
 and      /work/SRC/openSUSE:Factory/.python-wheel.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-wheel"

Mon Oct 25 15:16:53 2021 rev:24 rq:923472 version:0.36.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-wheel/python-wheel.changes        
2021-02-01 13:28:42.690150508 +0100
+++ /work/SRC/openSUSE:Factory/.python-wheel.new.1890/python-wheel.changes      
2021-10-25 15:17:16.825669894 +0200
@@ -1,0 +2,10 @@
+Tue Oct  5 16:06:03 UTC 2021 - Stefan Schubert <sch...@suse.de>
+
+- Added BuildRequires:  alts
+
+-------------------------------------------------------------------
+Fri Oct  1 08:45:20 UTC 2021 - Stefan Schubert <sch...@suse.de>
+
+- Use libalternatives instead of update-alternatives.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-wheel.spec ++++++
--- /var/tmp/diff_new_pack.LT2134/_old  2021-10-25 15:17:18.621671016 +0200
+++ /var/tmp/diff_new_pack.LT2134/_new  2021-10-25 15:17:18.625671019 +0200
@@ -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"
@@ -35,10 +41,15 @@
 Source:         
https://github.com/pypa/wheel/archive/%{version}.tar.gz#/wheel-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
-BuildRequires:  python-rpm-macros
+BuildRequires:  python-rpm-macros >= 20210929
 Requires:       python-setuptools
+%if %{with libalternatives}
+Requires:       alts
+BuildRequires:  alts
+%else
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
+%endif
 BuildArch:      noarch
 %if %{with test}
 BuildRequires:  %{python_module devel}
@@ -81,6 +92,11 @@
 %endif
 
 %if !%{with test}
+
+%pre
+# If libalternatives is used: Removing old update-alternatives entries.
+%python_libalternatives_reset_alternative wheel
+
 %post
 %python_install_alternative wheel
 

Reply via email to