Hello community,
here is the log from the commit of package python-qet_tb_generator for
openSUSE:Leap:15.2 checked in at 2020-05-28 20:08:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-qet_tb_generator (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-qet_tb_generator.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-qet_tb_generator"
Thu May 28 20:08:09 2020 rev:14 rq:807322 version:1.1.5
Changes:
--------
---
/work/SRC/openSUSE:Leap:15.2/python-qet_tb_generator/python-qet_tb_generator.changes
2020-03-10 17:14:09.853430395 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-qet_tb_generator.new.3606/python-qet_tb_generator.changes
2020-05-28 20:08:10.258644457 +0200
@@ -1,0 +2,5 @@
+Tue May 19 09:27:36 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-qet_tb_generator.spec ++++++
--- /var/tmp/diff_new_pack.LCFv2m/_old 2020-05-28 20:08:10.658645648 +0200
+++ /var/tmp/diff_new_pack.LCFv2m/_new 2020-05-28 20:08:10.658645648 +0200
@@ -32,6 +32,8 @@
BuildRequires: python-rpm-macros
Requires: python-qt5
Requires: qelectrotech
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
BuildArch: noarch
%python_subpackages
@@ -53,12 +55,19 @@
%install
%python_install
+%python_clone -a %{buildroot}%{_bindir}/%{modname}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%post
+%python_install_alternative %{modname}
+
+%postun
+%python_uninstall_alternative %{modname}
+
%files %{python_files}
%doc README
%license LICENSE.txt
-%python3_only %{_bindir}/%{modname}
+%python_alternative %{_bindir}/%{modname}
%{python_sitelib}/qet_tb_generator*
%changelog