Hello community,

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

Package is "python-o2sclpy"

Tue May 26 17:18:55 2020 rev:2 rq:807930 version:0.924

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-o2sclpy/python-o2sclpy.changes    
2020-03-14 09:55:25.519113877 +0100
+++ /work/SRC/openSUSE:Factory/.python-o2sclpy.new.2738/python-o2sclpy.changes  
2020-05-26 17:19:10.459955971 +0200
@@ -1,0 +2,5 @@
+Thu May 21 06:55:34 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-o2sclpy.spec ++++++
--- /var/tmp/diff_new_pack.3V2NT0/_old  2020-05-26 17:19:11.311957803 +0200
+++ /var/tmp/diff_new_pack.3V2NT0/_new  2020-05-26 17:19:11.311957803 +0200
@@ -40,6 +40,8 @@
 Requires:       python-numpy
 Requires:       python-requests
 Requires:       texlive-latex
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 %python_subpackages
 
@@ -55,12 +57,19 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/o2graph
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%post
+%python_install_alternative o2graph
+
+%postun
+%python_uninstall_alternative o2graph
+
 %files %{python_files}
 %license LICENSE
 %doc README.md
-%python3_only %{_bindir}/o2graph
+%python_alternative %{_bindir}/o2graph
 %{python_sitelib}/*
 
 %changelog


Reply via email to