Hello community,

here is the log from the commit of package python-raven for openSUSE:Factory 
checked in at 2020-05-28 09:08:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-raven (Old)
 and      /work/SRC/openSUSE:Factory/.python-raven.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-raven"

Thu May 28 09:08:02 2020 rev:13 rq:807269 version:6.10.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-raven/python-raven.changes        
2020-03-27 00:23:23.632198950 +0100
+++ /work/SRC/openSUSE:Factory/.python-raven.new.3606/python-raven.changes      
2020-05-28 09:08:05.815838920 +0200
@@ -1,0 +2,5 @@
+Tue May 19 09:27:39 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-raven.spec ++++++
--- /var/tmp/diff_new_pack.b9rSfW/_old  2020-05-28 09:08:07.443843801 +0200
+++ /var/tmp/diff_new_pack.b9rSfW/_new  2020-05-28 09:08:07.443843801 +0200
@@ -54,6 +54,8 @@
 BuildRequires:  %{python_module vine}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 Recommends:     python-Flask >= 0.8
 Recommends:     python-blinker >= 1.1
 BuildArch:      noarch
@@ -78,6 +80,7 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/raven
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %python_expand rm -rf %{buildroot}/%{$python_sitelib}/raven/data/cacert.pem
 
@@ -85,10 +88,16 @@
 export DJANGO_SETTINGS_MODULE=tests.contrib.django.settings
 %pytest -k 'not (TornadoAsyncClientTestCase or TornadoTransportTests)'
 
+%post
+%python_install_alternative raven
+
+%postun
+%python_uninstall_alternative raven
+
 %files %{python_files}
 %license LICENSE
 %doc README.rst
-%python3_only %{_bindir}/raven
+%python_alternative %{_bindir}/raven
 %{python_sitelib}/*
 
 %changelog


Reply via email to