Hello community,

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

Package is "python-intake"

Tue May 26 17:24:05 2020 rev:5 rq:808785 version:0.5.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-intake/python-intake.changes      
2020-02-03 11:13:35.945853447 +0100
+++ /work/SRC/openSUSE:Factory/.python-intake.new.2738/python-intake.changes    
2020-05-26 17:24:08.576596874 +0200
@@ -1,0 +2,5 @@
+Mon May 25 10:59:27 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-intake.spec ++++++
--- /var/tmp/diff_new_pack.GRbQTH/_old  2020-05-26 17:24:09.688599264 +0200
+++ /var/tmp/diff_new_pack.GRbQTH/_new  2020-05-26 17:24:09.692599273 +0200
@@ -50,6 +50,8 @@
 Requires:       python-ruamel.yaml >= 0.15.0
 Requires:       python-six
 Requires:       python-tornado >= 4.5.1
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module Jinja2}
@@ -91,16 +93,26 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/intake
+%python_clone -a %{buildroot}%{_bindir}/intake-server
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %python_expand $python -m compileall -d %{$python_sitelib} 
%{buildroot}%{$python_sitelib}/intake/cli/tests/
 %python_expand $python -O -m compileall -d %{$python_sitelib} 
%{buildroot}%{$python_sitelib}/intake/cli/tests/
 %python_expand %fdupes %{buildroot}%{$python_sitelib}/intake/cli/tests/
 
+%post
+%python_install_alternative intake
+%python_install_alternative intake-server
+
+%postun
+%python_uninstall_alternative intake
+%python_uninstall_alternative intake-server
+
 %files %{python_files}
 %doc README.md
 %license LICENSE
-%python3_only %{_bindir}/intake-server
-%python3_only %{_bindir}/intake
+%python_alternative %{_bindir}/intake-server
+%python_alternative %{_bindir}/intake
 %{python_sitelib}/*
 
 %changelog


Reply via email to