Hello community,

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

Package is "python-python-louvain"

Wed May 20 18:47:54 2020 rev:4 rq:807671 version:0.13

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-python-louvain/python-python-louvain.changes  
    2020-01-07 23:52:23.484001347 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-python-louvain.new.2738/python-python-louvain.changes
    2020-05-20 18:48:01.141626945 +0200
@@ -1,0 +2,5 @@
+Wed May 20 07:26:53 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-python-louvain.spec ++++++
--- /var/tmp/diff_new_pack.o3YG7i/_old  2020-05-20 18:48:02.581630180 +0200
+++ /var/tmp/diff_new_pack.o3YG7i/_new  2020-05-20 18:48:02.585630189 +0200
@@ -33,6 +33,8 @@
 BuildRequires:  python-rpm-macros
 Requires:       python-networkx
 Requires:       python-numpy
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module networkx}
@@ -56,15 +58,22 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/community
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %python_exec test_community.py
 
+%post
+%python_install_alternative community
+
+%postun
+%python_uninstall_alternative community
+
 %files %{python_files}
 %doc README.rst
 %license LICENSE
-%python3_only %{_bindir}/community
+%python_alternative %{_bindir}/community
 %{python_sitelib}/*
 
 %changelog


Reply via email to