Hello community,
here is the log from the commit of package python-qet_tb_generator for
openSUSE:Factory checked in at 2020-05-19 14:57:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-qet_tb_generator (Old)
and /work/SRC/openSUSE:Factory/.python-qet_tb_generator.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-qet_tb_generator"
Tue May 19 14:57:17 2020 rev:6 rq:807265 version:1.1.5
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-qet_tb_generator/python-qet_tb_generator.changes
2020-03-09 21:03:43.431001531 +0100
+++
/work/SRC/openSUSE:Factory/.python-qet_tb_generator.new.2738/python-qet_tb_generator.changes
2020-05-19 14:57:24.237256937 +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.hbdCRy/_old 2020-05-19 14:57:26.061260982 +0200
+++ /var/tmp/diff_new_pack.hbdCRy/_new 2020-05-19 14:57:26.065260990 +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