Hello community,
here is the log from the commit of package python-rethinkdb for
openSUSE:Factory checked in at 2020-05-19 14:57:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-rethinkdb (Old)
and /work/SRC/openSUSE:Factory/.python-rethinkdb.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-rethinkdb"
Tue May 19 14:57:45 2020 rev:3 rq:807278 version:2.4.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-rethinkdb/python-rethinkdb.changes
2020-03-19 19:53:56.876276937 +0100
+++
/work/SRC/openSUSE:Factory/.python-rethinkdb.new.2738/python-rethinkdb.changes
2020-05-19 14:57:49.333312591 +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.IjxmiZ/_old 2020-05-19 14:57:50.833315918 +0200
+++ /var/tmp/diff_new_pack.IjxmiZ/_new 2020-05-19 14:57:50.837315926 +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