Hello community,

here is the log from the commit of package python-python-louvain for 
openSUSE:Leap:15.2 checked in at 2020-05-21 12:59:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-python-louvain (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-python-louvain.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-python-louvain"

Thu May 21 12:59:56 2020 rev:4 rq:807814 version:0.13

Changes:
--------
--- 
/work/SRC/openSUSE:Leap:15.2/python-python-louvain/python-python-louvain.changes
    2020-03-02 13:21:33.230183208 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-python-louvain.new.2738/python-python-louvain.changes
  2020-05-21 13:00:06.674895903 +0200
@@ -1,0 +2,5 @@
+Wed May 20 07:26:53 UTC 2020 - Petr Gajdos <pgaj...@suse.com>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-python-louvain.spec ++++++
--- /var/tmp/diff_new_pack.ITXy4w/_old  2020-05-21 13:00:07.010896635 +0200
+++ /var/tmp/diff_new_pack.ITXy4w/_new  2020-05-21 13:00:07.014896643 +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