Hello community, here is the log from the commit of package python-gTTS for openSUSE:Factory checked in at 2020-05-28 09:16:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-gTTS (Old) and /work/SRC/openSUSE:Factory/.python-gTTS.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-gTTS" Thu May 28 09:16:30 2020 rev:6 rq:809358 version:2.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-gTTS/python-gTTS.changes 2020-04-07 10:32:08.330562485 +0200 +++ /work/SRC/openSUSE:Factory/.python-gTTS.new.3606/python-gTTS.changes 2020-05-28 09:16:43.992880745 +0200 @@ -1,0 +2,5 @@ +Tue May 26 06:34:32 UTC 2020 - Petr Gajdos <pgaj...@suse.com> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-gTTS.spec ++++++ --- /var/tmp/diff_new_pack.6dTUus/_old 2020-05-28 09:16:44.600882179 +0200 +++ /var/tmp/diff_new_pack.6dTUus/_new 2020-05-28 09:16:44.604882188 +0200 @@ -43,6 +43,8 @@ Requires: python-requests Requires: python-setuptools Requires: python-six +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -61,16 +63,23 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/gtts-cli %python_expand %fdupes %{buildroot}%{$python_sitelib} %check # tests are sadly mostly online #%%pytest +%post +%python_install_alternative gtts-cli + +%postun +%python_uninstall_alternative gtts-cli + %files %{python_files} %doc CHANGELOG.rst README.md %license LICENSE -%python3_only %{_bindir}/gtts-cli +%python_alternative %{_bindir}/gtts-cli %{python_sitelib}/* %changelog