Hello community, here is the log from the commit of package python-gpxpy for openSUSE:Factory checked in at 2020-05-28 09:16:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-gpxpy (Old) and /work/SRC/openSUSE:Factory/.python-gpxpy.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-gpxpy" Thu May 28 09:16:32 2020 rev:3 rq:809360 version:1.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-gpxpy/python-gpxpy.changes 2020-04-08 19:56:29.261114804 +0200 +++ /work/SRC/openSUSE:Factory/.python-gpxpy.new.3606/python-gpxpy.changes 2020-05-28 09:16:44.892882868 +0200 @@ -1,0 +2,5 @@ +Tue May 26 06:34:30 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-gpxpy.spec ++++++ --- /var/tmp/diff_new_pack.aUCN8l/_old 2020-05-28 09:16:45.380884020 +0200 +++ /var/tmp/diff_new_pack.aUCN8l/_new 2020-05-28 09:16:45.380884020 +0200 @@ -29,6 +29,8 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -44,15 +46,22 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/gpxinfo %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_exec setup.py test +%post +%python_install_alternative gpxinfo + +%postun +%python_uninstall_alternative gpxinfo + %files %{python_files} %license LICENSE.txt %doc README.md -%python3_only %{_bindir}/gpxinfo +%python_alternative %{_bindir}/gpxinfo %{python_sitelib}/* %changelog
