Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-dateparser for openSUSE:Factory checked in at 2025-07-09 17:26:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-dateparser (Old) and /work/SRC/openSUSE:Factory/.python-dateparser.new.7373 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-dateparser" Wed Jul 9 17:26:00 2025 rev:20 rq:1291193 version:1.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-dateparser/python-dateparser.changes 2023-12-28 22:55:29.237337432 +0100 +++ /work/SRC/openSUSE:Factory/.python-dateparser.new.7373/python-dateparser.changes 2025-07-09 17:26:01.737607468 +0200 @@ -1,0 +2,5 @@ +Tue Jul 8 08:32:18 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to libalternatives + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-dateparser.spec ++++++ --- /var/tmp/diff_new_pack.Ql0j8Y/_old 2025-07-09 17:26:02.229627936 +0200 +++ /var/tmp/diff_new_pack.Ql0j8Y/_new 2025-07-09 17:26:02.229627936 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-dateparser # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,6 +16,7 @@ # +%bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-dateparser Version: 1.2.0 @@ -29,14 +30,14 @@ Patch1: mark-network-tests.patch BuildRequires: %{python_module pip} BuildRequires: %{python_module wheel} +BuildRequires: alts BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: alts Requires: python-python-dateutil Requires: python-pytz Requires: python-regex Requires: python-tzlocal -Requires(post): update-alternatives -Requires(postun):update-alternatives Recommends: convertdate Recommends: python-fasttext Recommends: python-langdetect @@ -87,11 +88,8 @@ donttest="(not test_timezone_offset_calculation)" %pytest -k "$donttest" $ignoretestfiles -%post -%python_install_alternative dateparser-download - -%postun -%python_uninstall_alternative dateparser-download +%pre +%python_libalternatives_reset_alternative dateparser-download %files %{python_files} %doc AUTHORS.rst README.rst