Hello community, here is the log from the commit of package python-Lektor for openSUSE:Factory checked in at 2020-05-26 17:23:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Lektor (Old) and /work/SRC/openSUSE:Factory/.python-Lektor.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Lektor" Tue May 26 17:23:31 2020 rev:4 rq:808686 version:3.1.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Lektor/python-Lektor.changes 2020-04-21 13:10:34.748801738 +0200 +++ /work/SRC/openSUSE:Factory/.python-Lektor.new.2738/python-Lektor.changes 2020-05-26 17:23:32.000518241 +0200 @@ -1,0 +2,5 @@ +Mon May 25 06:50:35 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Lektor.spec ++++++ --- /var/tmp/diff_new_pack.m3atFQ/_old 2020-05-26 17:23:32.740519832 +0200 +++ /var/tmp/diff_new_pack.m3atFQ/_new 2020-05-26 17:23:32.744519840 +0200 @@ -39,6 +39,8 @@ Requires: python-requests Requires: python-setuptools Requires: python-watchdog +Requires(post): update-alternatives +Requires(postun): update-alternatives Suggests: git-core Suggests: python-pip BuildArch: noarch @@ -84,6 +86,7 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/lektor %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -93,10 +96,16 @@ # Three failures not yet investigated %python_exec setup.py pytest --addopts="-k 'not test_build_continue_in_existing_nonempty_dir and not test_build and not test_thumbnail_quality'" +%post +%python_install_alternative lektor + +%postun +%python_uninstall_alternative lektor + %files %{python_files} %doc README.md %license LICENSE -%python3_only %{_bindir}/lektor +%python_alternative %{_bindir}/lektor %{python_sitelib}/* %changelog
