Hello community,
here is the log from the commit of package python-rethinkdb for
openSUSE:Leap:15.2 checked in at 2020-05-28 20:08:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-rethinkdb (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-rethinkdb.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-rethinkdb"
Thu May 28 20:08:22 2020 rev:3 rq:807327 version:2.4.5
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-rethinkdb/python-rethinkdb.changes
2020-03-21 16:48:07.149688363 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-rethinkdb.new.3606/python-rethinkdb.changes
2020-05-28 20:08:27.298695178 +0200
@@ -1,0 +2,5 @@
+Tue May 19 09:27:45 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-rethinkdb.spec ++++++
--- /var/tmp/diff_new_pack.Os8wGF/_old 2020-05-28 20:08:28.234697964 +0200
+++ /var/tmp/diff_new_pack.Os8wGF/_new 2020-05-28 20:08:28.238697976 +0200
@@ -30,6 +30,8 @@
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-six
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module mock}
@@ -60,20 +62,42 @@
%install
export LANG=en_US.UTF-8
%python_install
+%python_clone -a %{buildroot}%{_bindir}/rethinkdb-repl
+%python_clone -a %{buildroot}%{_bindir}/rethinkdb-index-rebuild
+%python_clone -a %{buildroot}%{_bindir}/rethinkdb-restore
+%python_clone -a %{buildroot}%{_bindir}/rethinkdb-export
+%python_clone -a %{buildroot}%{_bindir}/rethinkdb-dump
+%python_clone -a %{buildroot}%{_bindir}/rethinkdb-import
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
+%post
+%python_install_alternative rethinkdb-repl
+%python_install_alternative rethinkdb-index-rebuild
+%python_install_alternative rethinkdb-restore
+%python_install_alternative rethinkdb-export
+%python_install_alternative rethinkdb-dump
+%python_install_alternative rethinkdb-import
+
+%postun
+%python_uninstall_alternative rethinkdb-repl
+%python_uninstall_alternative rethinkdb-index-rebuild
+%python_uninstall_alternative rethinkdb-restore
+%python_uninstall_alternative rethinkdb-export
+%python_uninstall_alternative rethinkdb-dump
+%python_uninstall_alternative rethinkdb-import
+
%files %{python_files}
%doc README.md
%license LICENSE
-%python3_only %{_bindir}/rethinkdb-import
-%python3_only %{_bindir}/rethinkdb-dump
-%python3_only %{_bindir}/rethinkdb-export
-%python3_only %{_bindir}/rethinkdb-restore
-%python3_only %{_bindir}/rethinkdb-index-rebuild
-%python3_only %{_bindir}/rethinkdb-repl
+%python_alternative %{_bindir}/rethinkdb-import
+%python_alternative %{_bindir}/rethinkdb-dump
+%python_alternative %{_bindir}/rethinkdb-export
+%python_alternative %{_bindir}/rethinkdb-restore
+%python_alternative %{_bindir}/rethinkdb-index-rebuild
+%python_alternative %{_bindir}/rethinkdb-repl
%{python_sitelib}/*
%changelog