Hello community,
here is the log from the commit of package python-google-auth-oauthlib for
openSUSE:Factory checked in at 2020-05-28 09:16:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-google-auth-oauthlib (Old)
and /work/SRC/openSUSE:Factory/.python-google-auth-oauthlib.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-google-auth-oauthlib"
Thu May 28 09:16:37 2020 rev:5 rq:809362 version:0.4.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-google-auth-oauthlib/python-google-auth-oauthlib.changes
2020-04-21 13:10:52.304836752 +0200
+++
/work/SRC/openSUSE:Factory/.python-google-auth-oauthlib.new.3606/python-google-auth-oauthlib.changes
2020-05-28 09:16:49.552893863 +0200
@@ -1,0 +2,5 @@
+Tue May 26 06:34:28 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-google-auth-oauthlib.spec ++++++
--- /var/tmp/diff_new_pack.WPkpaW/_old 2020-05-28 09:16:50.468896025 +0200
+++ /var/tmp/diff_new_pack.WPkpaW/_new 2020-05-28 09:16:50.468896025 +0200
@@ -31,6 +31,8 @@
Requires: python-google-auth
Requires: python-requests-oauthlib >= 0.7.0
Requires: python-six
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
Recommends: python-click
BuildArch: noarch
# SECTION test requirements
@@ -62,15 +64,22 @@
%install
%python_install
+%python_clone -a %{buildroot}%{_bindir}/google-oauthlib-tool
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
+%post
+%python_install_alternative google-oauthlib-tool
+
+%postun
+%python_uninstall_alternative google-oauthlib-tool
+
%files %{python_files}
%doc README.rst
%license LICENSE
-%python3_only %{_bindir}/google-oauthlib-tool
+%python_alternative %{_bindir}/google-oauthlib-tool
%{python_sitelib}/*
%changelog