Hello community,
here is the log from the commit of package python-seqdiag for
openSUSE:Leap:15.2 checked in at 2020-05-28 20:08:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-seqdiag (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-seqdiag.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-seqdiag"
Thu May 28 20:08:41 2020 rev:13 rq:807333 version:2.0.0
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-seqdiag/python-seqdiag.changes
2020-03-09 18:11:34.145214055 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-seqdiag.new.3606/python-seqdiag.changes
2020-05-28 20:08:43.674743922 +0200
@@ -1,0 +2,5 @@
+Tue May 19 09:27:58 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-seqdiag.spec ++++++
--- /var/tmp/diff_new_pack.0QqjYd/_old 2020-05-28 20:08:44.094745173 +0200
+++ /var/tmp/diff_new_pack.0QqjYd/_new 2020-05-28 20:08:44.094745173 +0200
@@ -31,6 +31,8 @@
BuildRequires: python-rpm-macros
Requires: python-blockdiag >= 1.5.0
Requires: python-setuptools
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
BuildArch: noarch
%python_subpackages
@@ -48,11 +50,18 @@
%install
%python_install
+%python_clone -a %{buildroot}%{_bindir}/seqdiag
+
+%post
+%python_install_alternative seqdiag
+
+%postun
+%python_uninstall_alternative seqdiag
%files %{python_files}
%license LICENSE
%doc CHANGES.rst README.rst
-%python3_only %{_bindir}/seqdiag
+%python_alternative %{_bindir}/seqdiag
%{python_sitelib}/*
%changelog