Hello community, here is the log from the commit of package python-misaka for openSUSE:Leap:15.2 checked in at 2020-06-01 23:03:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-misaka (Old) and /work/SRC/openSUSE:Leap:15.2/.python-misaka.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-misaka" Mon Jun 1 23:03:07 2020 rev:2 rq:809179 version:2.1.1 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-misaka/python-misaka.changes 2020-03-27 16:48:11.883935930 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-misaka.new.3606/python-misaka.changes 2020-06-01 23:03:08.198745381 +0200 @@ -1,0 +2,5 @@ +Mon May 25 06:50:47 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-misaka.spec ++++++ --- /var/tmp/diff_new_pack.vuN1YC/_old 2020-06-01 23:03:08.482746282 +0200 +++ /var/tmp/diff_new_pack.vuN1YC/_new 2020-06-01 23:03:08.482746282 +0200 @@ -32,6 +32,8 @@ BuildRequires: python-rpm-macros BuildRequires: tidy Requires: python-cffi >= 1.12.0 +Requires(post): update-alternatives +Requires(postun): update-alternatives %python_subpackages %description @@ -45,6 +47,7 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/misaka %python_expand %fdupes %{buildroot}%{$python_sitearch} %check @@ -52,10 +55,16 @@ $python tests/run_tests.py } +%post +%python_install_alternative misaka + +%postun +%python_uninstall_alternative misaka + %files %{python_files} %license LICENSE.txt %doc README.rst -%python3_only %{_bindir}/misaka +%python_alternative %{_bindir}/misaka %{python_sitearch}/* %changelog
