Hello community,
here is the log from the commit of package python-rollbar for
openSUSE:Leap:15.2 checked in at 2020-05-28 20:08:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-rollbar (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-rollbar.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-rollbar"
Thu May 28 20:08:28 2020 rev:14 rq:807328 version:0.15.0
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-rollbar/python-rollbar.changes
2020-04-18 18:41:11.805974664 +0200
+++
/work/SRC/openSUSE:Leap:15.2/.python-rollbar.new.3606/python-rollbar.changes
2020-05-28 20:08:29.774702548 +0200
@@ -1,0 +2,5 @@
+Tue May 19 09:27:47 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-rollbar.spec ++++++
--- /var/tmp/diff_new_pack.Wz9Eu7/_old 2020-05-28 20:08:31.822708644 +0200
+++ /var/tmp/diff_new_pack.Wz9Eu7/_new 2020-05-28 20:08:31.826708656 +0200
@@ -34,14 +34,16 @@
BuildRequires: %{python_module unittest2}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-%if %{with python2}
-BuildRequires: python2-enum34
-BuildRequires: python2-mock
-%endif
Requires: python-requests >= 0.12.1
Requires: python-setuptools
Requires: python-six >= 1.9.0
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
BuildArch: noarch
+%if %{with python2}
+BuildRequires: python2-enum34
+BuildRequires: python2-mock
+%endif
%python_subpackages
%description
@@ -55,15 +57,22 @@
%install
%python_install
+%python_clone -a %{buildroot}%{_bindir}/rollbar
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
+%post
+%python_install_alternative rollbar
+
+%postun
+%python_uninstall_alternative rollbar
+
%files %{python_files}
%doc README.rst
%license LICENSE
-%python3_only %{_bindir}/rollbar
+%python_alternative %{_bindir}/rollbar
%{python_sitelib}/*
%changelog