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-08-17 14:50:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-python-dotenv (Old) and /work/SRC/openSUSE:Factory/.python-python-dotenv.new.1085 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-dotenv" Sun Aug 17 14:50:01 2025 rev:18 rq:1299419 version:1.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-python-dotenv/python-python-dotenv.changes 2025-07-09 17:26:16.026202002 +0200 +++ /work/SRC/openSUSE:Factory/.python-python-dotenv.new.1085/python-python-dotenv.changes 2025-08-17 14:50:15.308292674 +0200 @@ -1,0 +2,5 @@ +Thu Aug 14 13:01:31 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to libalternatives on SLE-16-based and newer systems + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-python-dotenv.spec ++++++ --- /var/tmp/diff_new_pack.6CorUH/_old 2025-08-17 14:50:15.848315061 +0200 +++ /var/tmp/diff_new_pack.6CorUH/_new 2025-08-17 14:50:15.852315227 +0200 @@ -17,7 +17,11 @@ # rubygem-dotenv also provides executable dotenv +%if 0%{?suse_version} > 1500 %bcond_without libalternatives +%else +%bcond_with libalternatives +%endif %{?sle15_python_module_pythons} Name: python-python-dotenv Version: 1.1.0 @@ -34,10 +38,15 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module sh >= 2.0} BuildRequires: %{python_module wheel} -BuildRequires: alts BuildRequires: fdupes BuildRequires: python-rpm-macros +%if %{with libalternatives} +BuildRequires: alts Requires: alts +%else +Requires(post): update-alternatives +Requires(postun): update-alternatives +%endif Requires: python-click >= 5.0 Suggests: python-jupyter_ipython # There is a very similar Python package which also used `dotenv` namespace @@ -76,6 +85,12 @@ %pre %python_libalternatives_reset_alternative dotenv +%post +%python_install_alternative dotenv + +%postun +%python_uninstall_alternative dotenv + %files %{python_files} %doc README.md %license LICENSE