Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-python-dotenv for openSUSE:Factory checked in at 2025-07-09 17:26:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-python-dotenv (Old) and /work/SRC/openSUSE:Factory/.python-python-dotenv.new.7373 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-dotenv" Wed Jul 9 17:26:10 2025 rev:17 rq:1291274 version:1.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-python-dotenv/python-python-dotenv.changes 2025-05-15 17:00:18.703521959 +0200 +++ /work/SRC/openSUSE:Factory/.python-python-dotenv.new.7373/python-python-dotenv.changes 2025-07-09 17:26:16.026202002 +0200 @@ -1,0 +2,5 @@ +Tue Jul 8 13:08:26 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to libalternatives + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-python-dotenv.spec ++++++ --- /var/tmp/diff_new_pack.FdFNGa/_old 2025-07-09 17:26:16.990242115 +0200 +++ /var/tmp/diff_new_pack.FdFNGa/_new 2025-07-09 17:26:16.990242115 +0200 @@ -16,6 +16,8 @@ # +# rubygem-dotenv also provides executable dotenv +%bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-python-dotenv Version: 1.1.0 @@ -32,12 +34,11 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module sh >= 2.0} BuildRequires: %{python_module wheel} +BuildRequires: alts BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: alts Requires: python-click >= 5.0 -# rubygem-dotenv also provides executable dotenv -Requires(post): update-alternatives -Requires(postun): update-alternatives Suggests: python-jupyter_ipython # There is a very similar Python package which also used `dotenv` namespace Conflicts: python-dotenv @@ -72,11 +73,8 @@ } mv %{buildroot}%{_bindir}/dotenv.orig %{buildroot}%{_bindir}/dotenv -%post -%python_install_alternative dotenv - -%postun -%python_uninstall_alternative dotenv +%pre +%python_libalternatives_reset_alternative dotenv %files %{python_files} %doc README.md