Script 'mail_helper' called by obssrc
Hello community,

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

Package is "python-Babel"

Mon Oct 25 15:16:52 2021 rev:34 rq:923431 version:2.9.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Babel/python-Babel.changes        
2021-05-15 23:16:28.196669914 +0200
+++ /work/SRC/openSUSE:Factory/.python-Babel.new.1890/python-Babel.changes      
2021-10-25 15:17:14.409668383 +0200
@@ -1,0 +2,10 @@
+Tue Oct  5 14:53:29 UTC 2021 - Stefan Schubert <[email protected]>
+
+- Added BuildRequires:  alts
+
+-------------------------------------------------------------------
+Thu Sep 30 15:35:45 UTC 2021 - Stefan Schubert <[email protected]>
+
+- Use libalternatives instead of update-alternatives. 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-Babel.spec ++++++
--- /var/tmp/diff_new_pack.RTuOx7/_old  2021-10-25 15:17:14.901668690 +0200
+++ /var/tmp/diff_new_pack.RTuOx7/_new  2021-10-25 15:17:14.905668693 +0200
@@ -16,6 +16,13 @@
 #
 
 
+#
+%if 0%{?suse_version} > 1500
+%bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
+
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define oldpython python
 Name:           python-Babel
@@ -31,10 +38,15 @@
 BuildRequires:  %{python_module pytz >= 2015.7}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
-BuildRequires:  python-rpm-macros
+BuildRequires:  python-rpm-macros >= 20210929
 Requires:       python-pytz >= 2015.7
+%if %{with libalternatives}
+Requires:       alts
+BuildRequires:  alts
+%else
 Requires(post): update-alternatives
 Requires(postun):update-alternatives
+%endif
 BuildArch:      noarch
 %ifpython2
 Obsoletes:      %{oldpython}-babel < %{version}
@@ -67,6 +79,8 @@
 # Since /usr/bin/pybabel became ghosted to be used with update-alternatives, 
we have to get rid
 # of the old binary resulting from the non-update-alternativies-ified package:
 [ -h %{_bindir}/pybabel ] || rm -f %{_bindir}/pybabel
+# If libalternatives is used: Removing old update-alternatives entries.
+%python_libalternatives_reset_alternative pybabel
 
 %post
 %python_install_alternative pybabel

Reply via email to