Hello community, here is the log from the commit of package python-wptools for openSUSE:Factory checked in at 2020-05-19 14:47:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-wptools (Old) and /work/SRC/openSUSE:Factory/.python-wptools.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-wptools" Tue May 19 14:47:02 2020 rev:12 rq:806811 version:0.4.17 Changes: -------- --- /work/SRC/openSUSE:Factory/python-wptools/python-wptools.changes 2019-10-16 09:17:11.519172729 +0200 +++ /work/SRC/openSUSE:Factory/.python-wptools.new.2738/python-wptools.changes 2020-05-19 14:47:04.223889083 +0200 @@ -1,0 +2,5 @@ +Mon May 18 07:25:38 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-wptools.spec ++++++ --- /var/tmp/diff_new_pack.eHp3M3/_old 2020-05-19 14:47:05.923892715 +0200 +++ /var/tmp/diff_new_pack.eHp3M3/_new 2020-05-19 14:47:05.927892724 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-wptools # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 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 @@ Requires: python-html2text >= 2016.9.19 Requires: python-lxml >= 3.8.0 Requires: python-pycurl >= 7.43.0 +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -58,12 +60,19 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/wptool %python_expand %fdupes %{buildroot}%{$python_sitelib} +%post +%python_install_alternative wptool + +%postun +%python_uninstall_alternative wptool + %files %{python_files} %license LICENSE %doc HISTORY.rst README.rst -%python3_only %{_bindir}/wptool +%python_alternative %{_bindir}/wptool %{python_sitelib}/* %changelog
