Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pydle for openSUSE:Factory checked in at 2021-01-26 14:46:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pydle (Old) and /work/SRC/openSUSE:Factory/.python-pydle.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pydle" Tue Jan 26 14:46:29 2021 rev:9 rq:866328 version:0.9.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pydle/python-pydle.changes 2020-07-08 19:13:39.067245331 +0200 +++ /work/SRC/openSUSE:Factory/.python-pydle.new.28504/python-pydle.changes 2021-01-26 14:49:58.487696011 +0100 @@ -1,0 +2,5 @@ +Sun Jan 24 08:21:02 UTC 2021 - Mia Herkt <[email protected]> + +- Fix package build by providing executable alternatives + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pydle.spec ++++++ --- /var/tmp/diff_new_pack.MuavDH/_old 2021-01-26 14:49:59.067696801 +0100 +++ /var/tmp/diff_new_pack.MuavDH/_new 2021-01-26 14:49:59.075696812 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pydle # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -34,6 +34,8 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-pure-sasl +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -61,6 +63,16 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand chmod +x %{buildroot}%{$python_sitelib}/pydle/utils/irccat.py +%python_clone -a %{buildroot}%{_bindir}/pydle +%python_clone -a %{buildroot}%{_bindir}/pydle-irccat + +%post +%python_install_alternative pydle +%python_install_alternative pydle-irccat + +%postun +%python_uninstall_alternative pydle +%python_uninstall_alternative pydle-irccat %check %pytest -m unit @@ -68,7 +80,7 @@ %files %{python_files} %license LICENSE.md %{python_sitelib}/* -%{_bindir}/pydle -%{_bindir}/pydle-irccat +%python_alternative %{_bindir}/pydle +%python_alternative %{_bindir}/pydle-irccat %changelog
