Hello community, here is the log from the commit of package python-avro for openSUSE:Factory checked in at 2020-06-10 00:42:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-avro (Old) and /work/SRC/openSUSE:Factory/.python-avro.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-avro" Wed Jun 10 00:42:47 2020 rev:6 rq:809807 version:1.9.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-avro/python-avro.changes 2020-03-05 23:23:57.753366360 +0100 +++ /work/SRC/openSUSE:Factory/.python-avro.new.3606/python-avro.changes 2020-06-10 00:42:55.770109982 +0200 @@ -1,0 +2,5 @@ +Wed May 27 09:36:12 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-avro.spec ++++++ --- /var/tmp/diff_new_pack.tsDZrE/_old 2020-06-10 00:42:56.806112699 +0200 +++ /var/tmp/diff_new_pack.tsDZrE/_new 2020-06-10 00:42:56.806112699 +0200 @@ -31,6 +31,8 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires(post): update-alternatives +Requires(postun): update-alternatives Suggests: python-python-snappy BuildArch: noarch %python_subpackages @@ -46,6 +48,7 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/avro %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -53,8 +56,14 @@ # E ImportError: No module named set_avro_test_path #%%pytest +%post +%python_install_alternative avro + +%postun +%python_uninstall_alternative avro + %files %{python_files} -%python3_only %{_bindir}/avro +%python_alternative %{_bindir}/avro %{python_sitelib}/* %changelog
