Hello community, here is the log from the commit of package python-uniseg for openSUSE:Factory checked in at 2020-05-19 14:48:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-uniseg (Old) and /work/SRC/openSUSE:Factory/.python-uniseg.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-uniseg" Tue May 19 14:48:25 2020 rev:4 rq:806961 version:0.7.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-uniseg/python-uniseg.changes 2019-12-11 12:14:38.640519649 +0100 +++ /work/SRC/openSUSE:Factory/.python-uniseg.new.2738/python-uniseg.changes 2020-05-19 14:48:25.772063313 +0200 @@ -1,0 +2,5 @@ +Mon May 18 09:10:42 UTC 2020 - Petr Gajdos <pgaj...@suse.com> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-uniseg.spec ++++++ --- /var/tmp/diff_new_pack.IK5frr/_old 2020-05-19 14:48:26.192064209 +0200 +++ /var/tmp/diff_new_pack.IK5frr/_new 2020-05-19 14:48:26.192064209 +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