Hello community, here is the log from the commit of package python-uniseg for openSUSE:Leap:15.2 checked in at 2020-05-24 18:08:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-uniseg (Old) and /work/SRC/openSUSE:Leap:15.2/.python-uniseg.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-uniseg" Sun May 24 18:08:36 2020 rev:4 rq:808418 version:0.7.1 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-uniseg/python-uniseg.changes 2020-01-30 06:07:27.430432744 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-uniseg.new.2738/python-uniseg.changes 2020-05-24 18:08:38.810103603 +0200 @@ -1,0 +2,5 @@ +Mon May 18 09:10:42 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-uniseg.spec ++++++ --- /var/tmp/diff_new_pack.RTn84D/_old 2020-05-24 18:08:40.234106683 +0200 +++ /var/tmp/diff_new_pack.RTn84D/_new 2020-05-24 18:08:40.238106692 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-uniseg # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,6 +30,8 @@ BuildRequires: python-rpm-macros BuildRequires: unzip Requires: python +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -45,15 +47,22 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/uniseg-dbpath %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_exec setup.py test +%post +%python_install_alternative uniseg-dbpath + +%postun +%python_uninstall_alternative uniseg-dbpath + %files %{python_files} %license LICENSE %doc README -%python3_only %{_bindir}/uniseg-dbpath +%python_alternative %{_bindir}/uniseg-dbpath %{python_sitelib}/* %changelog
