Hello community, here is the log from the commit of package python-scspell3k for openSUSE:Factory checked in at 2020-05-19 14:58:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-scspell3k (Old) and /work/SRC/openSUSE:Factory/.python-scspell3k.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-scspell3k" Tue May 19 14:58:20 2020 rev:5 rq:807287 version:2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-scspell3k/python-scspell3k.changes 2020-04-23 18:39:13.201095829 +0200 +++ /work/SRC/openSUSE:Factory/.python-scspell3k.new.2738/python-scspell3k.changes 2020-05-19 14:58:32.537408402 +0200 @@ -1,0 +2,5 @@ +Tue May 19 09:27:54 UTC 2020 - Petr Gajdos <pgaj...@suse.com> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-scspell3k.spec ++++++ --- /var/tmp/diff_new_pack.zNWjw2/_old 2020-05-19 14:58:33.617410797 +0200 +++ /var/tmp/diff_new_pack.zNWjw2/_new 2020-05-19 14:58:33.617410797 +0200 @@ -29,6 +29,8 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python3-cram +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -76,6 +78,7 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/scspell %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -83,10 +86,16 @@ sed -i -e 's:python $TESTDIR:python3 $TESTDIR:g' ./test.cram python3 -m cram --indent=4 ./test.cram +%post +%python_install_alternative scspell + +%postun +%python_uninstall_alternative scspell + %files %{python_files} %doc README.rst %license COPYING.txt -%python3_only %{_bindir}/scspell +%python_alternative %{_bindir}/scspell %{python_sitelib}/* %changelog