Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-vncdotool for openSUSE:Factory checked in at 2025-06-13 18:48:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-vncdotool (Old) and /work/SRC/openSUSE:Factory/.python-vncdotool.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-vncdotool" Fri Jun 13 18:48:24 2025 rev:7 rq:1285492 version:1.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-vncdotool/python-vncdotool.changes 2023-06-12 15:24:38.766411165 +0200 +++ /work/SRC/openSUSE:Factory/.python-vncdotool.new.19631/python-vncdotool.changes 2025-06-13 18:48:33.522503592 +0200 @@ -1,0 +2,5 @@ +Fri Jun 13 12:44:58 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Convert to pip-based build and libalternatives + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-vncdotool.spec ++++++ --- /var/tmp/diff_new_pack.vZuT8I/_old 2025-06-13 18:48:34.198531539 +0200 +++ /var/tmp/diff_new_pack.vZuT8I/_new 2025-06-13 18:48:34.202531704 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-vncdotool # -# 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-vncdotool Version: 1.0.0 @@ -30,13 +31,15 @@ Patch2: python-vncdotool-no-mock.patch # gh#python/cpython#88852 Patch3: py311-compat.patch +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: alts BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: alts Requires: python-Pillow Requires: python-Twisted -Requires(post): update-alternatives -Requires(postun):update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Pillow} @@ -54,24 +57,19 @@ %autopatch -p1 %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/vncdo %python_clone -a %{buildroot}%{_bindir}/vncdotool %python_clone -a %{buildroot}%{_bindir}/vnclog %python_expand %fdupes %{buildroot}%{$python_sitelib} -%post -%python_install_alternative vncdo -%python_install_alternative vncdotool -%python_install_alternative vnclog - -%postun -%python_uninstall_alternative vncdo -%python_uninstall_alternative vncdotool -%python_uninstall_alternative vnclog +%pre +%python_libalternatives_reset_alternative vncdo +%python_libalternatives_reset_alternative vncdotool +%python_libalternatives_reset_alternative vnclog %check %pytest -k 'not functional'