Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-xdis for openSUSE:Factory checked in at 2021-01-26 14:46:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-xdis (Old) and /work/SRC/openSUSE:Factory/.python-xdis.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-xdis" Tue Jan 26 14:46:19 2021 rev:14 rq:865547 version:5.0.6 Changes: -------- --- /work/SRC/openSUSE:Factory/python-xdis/python-xdis.changes 2021-01-04 19:07:33.991279541 +0100 +++ /work/SRC/openSUSE:Factory/.python-xdis.new.28504/python-xdis.changes 2021-01-26 14:49:54.687690832 +0100 @@ -1,0 +2,5 @@ +Fri Jan 22 05:41:10 UTC 2021 - Steve Kowalik <steven.kowa...@suse.com> + +- Switch to python_alternative for pydisasm script + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-xdis.spec ++++++ --- /var/tmp/diff_new_pack.3Wx8Lu/_old 2021-01-26 14:49:55.255691605 +0100 +++ /var/tmp/diff_new_pack.3Wx8Lu/_new 2021-01-26 14:49:55.255691605 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-xdis # -# 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 @@ -35,6 +35,8 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module six >= 1.10.0} # /SECTION +Requires(post): update-alternatives +Requires(postun): update-alternatives %python_subpackages %description @@ -52,14 +54,21 @@ %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%python_clone -a %{buildroot}%{_bindir}/pydisasm %check %pytest pytest +%post +%python_install_alternative pydisasm + +%postun +%python_uninstall_alternative pydisasm + %files %{python_files} %license COPYING %doc NEWS.md README.rst -%python3_only %{_bindir}/pydisasm +%python_alternative %{_bindir}/pydisasm %{python_sitelib}/* %changelog