Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-watchdog for openSUSE:Factory checked in at 2025-08-27 21:33:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-watchdog (Old) and /work/SRC/openSUSE:Factory/.python-watchdog.new.30751 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-watchdog" Wed Aug 27 21:33:58 2025 rev:25 rq:1301401 version:6.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-watchdog/python-watchdog.changes 2025-06-13 18:43:34.558262122 +0200 +++ /work/SRC/openSUSE:Factory/.python-watchdog.new.30751/python-watchdog.changes 2025-08-27 21:34:38.934606505 +0200 @@ -1,0 +2,5 @@ +Tue Aug 26 09:33:09 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to libalternatives on SLE-16-based and newer systems + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-watchdog.spec ++++++ --- /var/tmp/diff_new_pack.7UNOBR/_old 2025-08-27 21:34:39.438627548 +0200 +++ /var/tmp/diff_new_pack.7UNOBR/_new 2025-08-27 21:34:39.438627548 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-watchdog # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,6 +17,11 @@ %define skip_python2 1 +%if 0%{?suse_version} > 1500 +%bcond_without libalternatives +%else +%bcond_with libalternatives +%endif %{?sle15_python_module_pythons} Name: python-watchdog Version: 6.0.0 @@ -34,9 +39,14 @@ BuildRequires: python3-Sphinx Requires: python-PyYAML >= 3.10 Requires: python-pathtools >= 0.1.1 +BuildArch: noarch +%if %{with libalternatives} +BuildRequires: alts +Requires: alts +%else Requires(post): update-alternatives Requires(postun): update-alternatives -BuildArch: noarch +%endif # SECTION test requirements BuildRequires: %{python_module pathtools >= 0.1.1} BuildRequires: %{python_module pytest-timeout} @@ -90,6 +100,9 @@ %postun %python_uninstall_alternative watchmedo +%pre +%python_libalternatives_reset_alternative watchmedo + %files %{python_files} %license COPYING LICENSE %doc AUTHORS changelog.rst MANIFEST.in README.rst