Hello community, here is the log from the commit of package python-ftfy for openSUSE:Factory checked in at 2020-05-28 09:17:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ftfy (Old) and /work/SRC/openSUSE:Factory/.python-ftfy.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ftfy" Thu May 28 09:17:03 2020 rev:6 rq:809375 version:5.7 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ftfy/python-ftfy.changes 2020-03-10 10:12:18.808690290 +0100 +++ /work/SRC/openSUSE:Factory/.python-ftfy.new.3606/python-ftfy.changes 2020-05-28 09:17:10.424943111 +0200 @@ -1,0 +2,5 @@ +Tue May 26 06:34:21 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ftfy.spec ++++++ --- /var/tmp/diff_new_pack.gjlAsw/_old 2020-05-28 09:17:11.048944584 +0200 +++ /var/tmp/diff_new_pack.gjlAsw/_new 2020-05-28 09:17:11.052944593 +0200 @@ -29,6 +29,8 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-wcwidth +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module pytest} @@ -48,16 +50,24 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/ftfy %python_expand %fdupes %{buildroot}%{$python_sitelib} %check export PATH="$PATH:%{buildroot}%{_bindir}" -%pytest +# test_cli: ftfy binary not found (update-alternatives) +%pytest -k 'not test_cli' + +%post +%python_install_alternative ftfy + +%postun +%python_uninstall_alternative ftfy %files %{python_files} %doc CHANGELOG.md README.md %license LICENSE.txt -%python3_only %{_bindir}/ftfy +%python_alternative %{_bindir}/ftfy %{python_sitelib}/* %changelog
