Hello community,

here is the log from the commit of package python-stem for openSUSE:Factory 
checked in at 2020-05-20 18:44:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-stem (Old)
 and      /work/SRC/openSUSE:Factory/.python-stem.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-stem"

Wed May 20 18:44:18 2020 rev:5 rq:807156 version:1.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-stem/python-stem.changes  2020-03-18 
12:44:56.084937310 +0100
+++ /work/SRC/openSUSE:Factory/.python-stem.new.2738/python-stem.changes        
2020-05-20 18:45:11.253245294 +0200
@@ -1,0 +2,5 @@
+Tue May 19 08:03:04 UTC 2020 - Petr Gajdos <pgaj...@suse.com>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-stem.spec ++++++
--- /var/tmp/diff_new_pack.76X1QD/_old  2020-05-20 18:45:12.277247595 +0200
+++ /var/tmp/diff_new_pack.76X1QD/_new  2020-05-20 18:45:12.281247604 +0200
@@ -31,6 +31,8 @@
 BuildRequires:  fdupes
 Requires:       python
 Requires:       python-cryptography
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 %python_subpackages
 
@@ -46,14 +48,21 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/tor-prompt
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %python_exec run_tests.py -u
 
+%post
+%python_install_alternative tor-prompt
+
+%postun
+%python_uninstall_alternative tor-prompt
+
 %files %{python_files}
 %license LICENSE
-%python3_only %{_bindir}/tor-prompt
+%python_alternative %{_bindir}/tor-prompt
 %{python_sitelib}/*
 
 %changelog


Reply via email to